-
Notifications
You must be signed in to change notification settings - Fork 555
/
package.json
214 lines (214 loc) · 5.96 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"name": "@guardian/frontend",
"version": "0.1.0",
"private": true,
"engines": {
"yarn": ">=1.22.19"
},
"files": [
"static/src/**/*"
],
"dependencies": {
"@aws-sdk/client-cloudwatch": "3.621.0",
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "7.25.9",
"@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.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@babel/register": "^7.25.9",
"@babel/runtime": "^7.26.0",
"@braze/web-sdk-core": "3.5.1",
"@emotion/cache": "^11.13.1",
"@emotion/core": "^10.0.27",
"@emotion/react": "11.11.1",
"@emotion/styled": "^10.0.27",
"@guardian/ab-core": "8.0.0",
"@guardian/commercial": "23.8.1",
"@guardian/core-web-vitals": "6.0.0",
"@guardian/eslint-config-typescript": "9.0.1",
"@guardian/identity-auth": "3.0.0",
"@guardian/identity-auth-frontend": "6.0.3",
"@guardian/libs": "19.1.0",
"@guardian/prettier": "^8.0.1",
"@guardian/shimport": "^1.0.2",
"@guardian/source-foundations": "16.0.0",
"@guardian/source-react-components": "25.0.0",
"@guardian/source-react-components-development-kitchen": "21.0.0",
"@types/googletag": "^3.1.3",
"@types/jest": "29.5.12",
"@types/lodash-es": "^4.17.4",
"@types/webpack-env": "^1.16.2",
"@types/youtube": "^0.0.44",
"@typescript-eslint/eslint-plugin": "5.61.0",
"@typescript-eslint/parser": "8.0.1",
"amphtml-validator": "^1.0.38",
"any-observable": "^0.2.0",
"autoprefixer": "^10.3.7",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "29.7.0",
"babel-loader": "^8.1.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"bean": "~1.0.14",
"bonzo": "~2.0.0",
"bootstrap-sass": "3.4.1",
"browser-sync": "3.0.2",
"bs-fullscreen-message": "^1.1.0",
"btoa": "1.1.2",
"chalk": "^2.1.0",
"chance": "^1.0.11",
"chokidar": "^3.5.2",
"circular-dependency-plugin": "^5.0.1",
"classnames": "~2.5.1",
"copy-webpack-plugin": "6",
"core-js": "^3.38.0",
"cp-file": "^7.0.0",
"cpy": "^8.1.2",
"css-loader": "^5.2.7",
"cssstats": "^3.1.0",
"csstype": "^3.0.6",
"curl": "cujojs/curl#0.8.9",
"dialog-polyfill": "^0.5.6",
"domready": "^1.0.8",
"dynamic-import-polyfill": "^0.1.1",
"eslint": "8.56.0",
"eslint-config-prettier": "^7.1.0",
"eslint-import-resolver-webpack": "^0.13.8",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-guardian-frontend": "file:tools/eslint-plugin-guardian-frontend",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jasmine": "^2.10.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"execa": "^1.0.0",
"fastdom": "1.0.9",
"fence": "guardian/fence#0.2.11",
"figures": "^2.0.0",
"glob": "^7.2.0",
"gzip-size": "^3.0.0",
"hasha": "^3.0.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-environment-jsdom-global": "4.0.0",
"listr2": "^8.2.1",
"lodash-es": "^4.17.21",
"lodash.uniq": "^4.5.0",
"mkdirp": "^1.0.4",
"mockdate": "^3.0.5",
"object-fit-videos": "^1.0.3",
"ophan-tracker-js": "1.4.0",
"ora": "^1.3.0",
"pify": "^5.0.0",
"postcss": "^8.3.10",
"postcss-pxtorem": "^6.0.0",
"preact": "^10.5.13",
"prettier": "^2.2.1",
"prettysize": "^0.1.0",
"qwery": "3.4.2",
"rangefix": "^0.2.5",
"raven-js": "^3.19.1",
"raw-loader": "^0.5.1",
"request": "^2.81.0",
"requireindex": "^1.1.0",
"rimraf": "^2.6.1",
"rxjs": "^6.6.7",
"sass": "1.77.8",
"sass-graph": "4.0.1",
"sass-loader": "14.2.1",
"sass-mq": "5.0.1",
"semver": "^5.4.1",
"split": "^1.0.0",
"stream-to-observable": "^0.2.0",
"stylelint": "^16.5.0",
"stylelint-config-standard-scss": "^13.1.0",
"svgo": "^2.3.0",
"tcp-ping": "^0.1.1",
"ts-jest": "29.1.2",
"ts-loader": "^8.0.12",
"tslib": "2.6.2",
"typescript": "5.3.3",
"uglify-js": "^3.19.2",
"video.js": "~5.3",
"videojs-contrib-ads": "3.1.3",
"videojs-embed": "guardian/videojs-embed#v0.3.3",
"videojs-ima": "googleads/videojs-ima#0.3.0",
"videojs-persistvolume": "guardian/videojs-persistvolume#0.1.4",
"videojs-playlist": "guardian/videojs-playlist#0.1.4",
"web-vitals": "3.5.1",
"webpack": "^5.79.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^5.0.4",
"webpack-merge": "^4.2.2",
"wolfy87-eventemitter": "~5.2.4",
"yargs": "^17.7.1"
},
"optionalDependencies": {
"fsevents": "^2.3.2",
"react": "18.3.1",
"react-dom": "18.2.0"
},
"jest": {
"preset": "ts-jest/presets/js-with-babel",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
"tsconfig": "tsconfig.test.json"
}
]
},
"testMatch": [
"**/*.(test|spec).+(ts|tsx|js)"
],
"roots": [
"<rootDir>/static/src/javascripts",
"<rootDir>/tools"
],
"moduleDirectories": [
"<rootDir>/static/src/javascripts",
"<rootDir>/static/src/javascripts/projects",
"<rootDir>/static/vendor/javascripts",
"node_modules"
],
"moduleNameMapper": {
"videojs": "video.js",
"^svgs/(.*)$": "<rootDir>/__mocks__/svgMock.js",
"^(.*)\\.svg$": "<rootDir>/__mocks__/svgMock.js",
"^(.*)\\.html$": "<rootDir>/__mocks__/templateMock.js",
"ophan/ng": "ophan-tracker-js",
"ophan/embed": "ophan-tracker-js/build/ophan.embed"
},
"setupFilesAfterEnv": [
"<rootDir>/dev/jest.setupTestFrameworkScriptFile.js"
],
"testEnvironment": "jest-environment-jsdom-global",
"testEnvironmentOptions": {
"url": "http://testurl.theguardian.com"
},
"transformIgnorePatterns": [
"/node_modules/(?!(@guardian|lodash-es|preact)/)"
]
},
"scripts": {
"eslint-fix": "eslint --color --fix",
"test": "jest"
},
"prettier": "@guardian/prettier",
"packageManager": "[email protected]",
"resolutions": {
"micromatch": "4.0.8",
"unset-value": "^2.0.1"
}
}