-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
138 lines (138 loc) · 4.49 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
130
131
132
133
134
135
136
137
138
{
"name": "@guardian/commercial",
"version": "23.8.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/cjs/core/index.js",
"module": "dist/esm/core/index.js",
"scripts": {
"build": "npm-run-all clean --parallel compile:core:* build:prod build:dev build:riff-raff",
"build:dev": "webpack -c webpack.config.dev.mjs",
"build:prod": "webpack -c webpack.config.prod.mjs",
"build:riff-raff": "webpack -c webpack.config.riff-raff.mjs",
"clean": "rm -rf dist",
"compile:core:common": "tsc --project ./tsconfig.core.json --outDir ./dist/cjs --module CommonJS",
"compile:core:esm": "tsc --project ./tsconfig.core.json --outDir ./dist/esm",
"playwright:run": "playwright test",
"playwright:open": "playwright test --ui",
"lint": "eslint .",
"lint-staged": "lint-staged",
"precommit:lint": "npm-run-all lint-staged",
"prepare": "husky install",
"prepush:test": "jest --verbose --runInBand --onlyChanged",
"prettier:check": "prettier . --check --cache",
"prettier:fix": "prettier . --write --cache",
"serve": "OVERRIDE_BUNDLE=true pnpm webpack-dev-server -c ./webpack.config.dev.mjs",
"benchmark": "STAGE=prod playwright test -c playwright.benchmark.config.ts --project=consented-average --project=consentless-average",
"test": "jest",
"tsc": "tsc --noEmit",
"validate": "npm-run-all tsc lint test build"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.17.12",
"@babel/register": "^7.11.5",
"@babel/runtime": "^7.11.2",
"@changesets/cli": "^2.26.2",
"@guardian/ab-core": "8.0.0",
"@guardian/browserslist-config": "^6.1.1",
"@guardian/core-web-vitals": "7.0.0",
"@guardian/eslint-config-typescript": "^12.0.0",
"@guardian/identity-auth": "^3.0.0",
"@guardian/identity-auth-frontend": "^5.0.0",
"@guardian/libs": "19.2.1",
"@guardian/prettier": "8.0.1",
"@guardian/source": "8.0.0",
"@playwright/test": "1.48.2",
"@types/googletag": "~3.1.3",
"@types/jest": "^29.4.0",
"@types/lodash-es": "^4.17.6",
"@types/node": "20.16.5",
"@types/webpack-env": "^1.18.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^29.4.0",
"babel-loader": "^9.1.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"circular-dependency-plugin": "^5.2.2",
"csstype": "^3.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.1",
"jest": "^29.0.0",
"jest-environment-jsdom": "~29.7.0",
"jest-environment-jsdom-global": "~4.0.0",
"lint-staged": "^13.2.2",
"mockdate": "^3.0.5",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"raw-loader": "^4.0.2",
"terser-webpack-plugin": "^5.3.6",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"type-fest": "^4.3.3",
"typescript": "5.6.3",
"webpack": "^5.94.0",
"webpack-bundle-analyzer": "^4.10.0",
"webpack-cli": "^5.1.0",
"webpack-dev-server": "^5.0.4",
"webpack-merge": "^6.0.1"
},
"dependencies": {
"@guardian/prebid.js": "8.52.0-10",
"@octokit/core": "^6.1.2",
"fastdom": "^1.0.11",
"lodash-es": "^4.17.21",
"process": "^0.11.10",
"tslib": "^2.6.2",
"web-vitals": "^4.2.1"
},
"prettier": "@guardian/prettier",
"lint-staged": {
"src/**/*.(js|ts)": [
"pnpm eslint --fix",
"pnpm prettier:fix"
]
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@guardian/ab-core": "^8.0.0",
"@guardian/core-web-vitals": "^7.0.0",
"@guardian/identity-auth": "^3.0.0",
"@guardian/identity-auth-frontend": "^5.0.0",
"@guardian/libs": "^19.1.0",
"@guardian/source": "^8.0.0",
"typescript": "~5.5.3"
},
"browserslist": [
"extends @guardian/browserslist-config"
],
"packageManager": "[email protected]"
}