-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
129 lines (129 loc) · 3.98 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "@guardian/commercial",
"version": "26.0.1",
"description": "Guardian advertising business logic",
"homepage": "https://github.com/guardian/commercial#readme",
"bugs": {
"url": "https://github.com/guardian/commercial/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/guardian/commercial.git"
},
"license": "Apache-2.0",
"files": [
"dist"
],
"main": "dist/core/cjs/export.js",
"module": "dist/core/esm/export.js",
"scripts": {
"build": "npm-run-all clean --parallel compile:core:* build:prod build:dev",
"build:dev": "webpack -c webpack.config.dev.mjs",
"build:prod": "webpack -c webpack.config.prod.mjs",
"clean": "rm -rf dist",
"compile:core:common": "tsc --project ./tsconfig.core.json --outDir ./dist/core/cjs --module CommonJS",
"compile:core:esm": "tsc --project ./tsconfig.core.json --outDir ./dist/core/esm",
"playwright:run": "playwright test",
"playwright:open": "playwright test --ui",
"lint": "eslint .",
"lint-staged": "lint-staged",
"prepare": "husky",
"prettier:check": "prettier . --check --cache",
"prettier:fix": "prettier . --write --cache",
"serve": "OVERRIDE_BUNDLE=true pnpm webpack-dev-server -c ./webpack.config.dev.mjs",
"test": "jest",
"tsc": "tsc --noEmit",
"validate": "npm-run-all tsc lint test build"
},
"peerDependencies": {
"@guardian/ab-core": "^8.0.0",
"@guardian/core-web-vitals": "^11.0.0",
"@guardian/identity-auth": "^7.0.0",
"@guardian/identity-auth-frontend": "^9.0.0",
"@guardian/libs": "^22.0.1",
"@guardian/source": "^8.0.2",
"typescript": "~5.5.4"
},
"dependencies": {
"@guardian/ab-core": "8.0.1",
"@guardian/core-web-vitals": "11.0.0",
"@guardian/identity-auth": "^7.0.0",
"@guardian/identity-auth-frontend": "9.0.0",
"@guardian/libs": "22.0.1",
"@guardian/source": "8.0.2",
"fastdom": "^1.0.12",
"lodash-es": "^4.17.21",
"prebid.js": "9.27.0",
"process": "^0.11.10",
"web-vitals": "^4.2.4"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@babel/register": "^7.25.9",
"@babel/runtime": "^7.26.0",
"@changesets/cli": "^2.27.9",
"@guardian/browserslist-config": "^6.1.1",
"@guardian/eslint-config": "^11.0.0",
"@guardian/prettier": "8.0.1",
"@playwright/test": "1.51.1",
"@types/googletag": "~3.3.0",
"@types/jest": "^29.5.14",
"@types/lodash-es": "^4.17.12",
"@types/node": "20.17.30",
"@types/webpack-env": "^1.18.5",
"@typescript-eslint/eslint-plugin": "8.29.0",
"@typescript-eslint/parser": "8.29.0",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^29.7.0",
"babel-loader": "^10.0.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"circular-dependency-plugin": "^5.2.2",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "16.0.0",
"html-webpack-plugin": "5.6.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "~29.7.0",
"jest-environment-jsdom-global": "~4.0.0",
"lint-staged": "^15.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"raw-loader": "^4.0.2",
"terser-webpack-plugin": "^5.3.11",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"type-fest": "^4.31.0",
"typescript": "5.5.4",
"webpack": "^5.97.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.0",
"webpack-merge": "^6.0.1"
},
"prettier": "@guardian/prettier",
"lint-staged": {
"src/**/*.(js|ts)": [
"pnpm prettier:fix"
]
},
"publishConfig": {
"access": "public"
},
"browserslist": [
"extends @guardian/browserslist-config"
],
"packageManager": "pnpm@9.15.2"
}