-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
159 lines (159 loc) · 5.73 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
{
"name": "gateway",
"version": "1.0.0",
"author": "[email protected]",
"license": "Apache-2.0",
"private": true,
"scripts": {
"build": "ENVIRONMENT=production webpack --mode production && pnpm install --prod --node-linker=hoisted --dir=build --ignore-scripts",
"build:analyze": "WEBPACK_ANALYZE_BUNDLE=true pnpm run build",
"cypress": "cypress",
"cypress:ci": "cypress run",
"cypress:ete": "./cypress-ete.sh",
"lint": "eslint .",
"lint:fix": "pnpm lint --fix",
"mock-server": "node util/mock-server.js",
"start": "node ./build/server.js",
"test": "pnpm run lint && pnpm run tsc && pnpm run tsc:cypress && pnpm run knip && pnpm run test:unit",
"test:unit": "jest --ci",
"tsc": "tsc --noEmit --skipLibCheck",
"tsc:cypress": "tsc --noEmit --skipLibCheck --project cypress/tsconfig.json",
"watch:cypress": "pnpm run tsc:cypress --watch",
"watch:server": "mkdir -p ./build && touch ./build/server.js && nodemon --inspect ./build/server.js --watch ./build/server.js --watch .ratelimit.json",
"watch": "webpack --watch --config webpack.development.js",
"wait-on:server": "wait-on https://profile.thegulocal.com/healthcheck -t 60000",
"wait-on:mock-server": "wait-on http://localhost:9000/healthcheck -t 60000",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prettier": "prettier . --check",
"prettier:fix": "prettier . --write",
"prepare": "husky",
"clear:cache": "rm -rf ./node_modules/.cache",
"gen:okta-login": "tsc --project ./scripts/okta/tsconfig.json && webpack --config ./scripts/okta/webpack.config.js",
"gen:ratelimit:schema": "ts-node --transpileOnly ./scripts/generate-rate-limit-schema.ts",
"preinstall": "npx only-allow pnpm",
"postinstall": "pnpm run gen:ratelimit:schema",
"knip": "knip"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@chromatic-com/storybook": "^3.2.2",
"@emotion/babel-preset-css-prop": "^11.12.0",
"@eslint/js": "^9.15.0",
"@guardian/eslint-config": "10.0.0-beta.5",
"@guardian/prettier": "^8.0.1",
"@storybook/addon-essentials": "^8.4.4",
"@storybook/addon-links": "^8.4.4",
"@storybook/addon-styling-webpack": "^1.0.1",
"@storybook/addon-themes": "^8.4.4",
"@storybook/addon-viewport": "^8.4.4",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/preact-webpack5": "^8.4.4",
"@storybook/react": "^8.4.4",
"@swc/core": "^1.9.2",
"@swc/plugin-emotion": "^7.0.1",
"@testing-library/cypress": "^10.0.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/preact": "^3.2.4",
"@testing-library/preact-hooks": "^1.1.0",
"@testing-library/react": "npm:@testing-library/preact",
"@testing-library/react-hooks": "npm:@testing-library/preact-hooks",
"@types/compression": "^1.7.5",
"@types/cookie-parser": "^1.4.7",
"@types/csurf": "^1.11.5",
"@types/eslint__js": "^8.42.3",
"@types/express": "^4.17.21",
"@types/ioredis-mock": "^8.2.5",
"@types/jest": "^29.5.14",
"@types/mjml": "^4.7.4",
"@types/ms": "^0.7.34",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/serialize-javascript": "^5.0.4",
"@types/supertest": "^6.0.2",
"assets-webpack-plugin": "^7.1.1",
"axe-core": "^4.10.2",
"chalk-rainbow": "^1.0.0",
"copy-webpack-plugin": "^12.0.2",
"cypress": "13.16.0",
"cypress-axe": "^1.5.0",
"cypress-mailosaur": "2.16.0",
"dotenv-webpack": "^8.1.0",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-functional": "^7.1.0",
"eslint-plugin-prettier": "^5.2.1",
"file-loader": "^6.2.0",
"fork-ts-checker-notifier-webpack-plugin": "^9.0.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"husky": "^9.1.7",
"image-minimizer-webpack-plugin": "^4.1.1",
"imagemin": "^9.0.0",
"ioredis-mock": "^8.9.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-mock": "^29.7.0",
"knip": "^5.37.1",
"nodemon": "^3.1.7",
"prettier": "^3.3.3",
"react-docgen-typescript-plugin": "^1.0.8",
"sharp": "^0.33.5",
"storybook": "^8.4.4",
"swc-loader": "^0.2.6",
"terser-webpack-plugin": "^5.3.10",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.15.0",
"wait-on": "^8.0.1",
"webpack": "^5.96.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-merge": "^6.0.1",
"webpack-node-externals": "^3.0.0",
"zod-to-json-schema": "^3.23.5"
},
"dependencies": {
"@aws-sdk/client-cloudwatch": "^3.694.0",
"@aws-sdk/client-sesv2": "^3.693.0",
"@aws-sdk/credential-providers": "^3.693.0",
"@emotion/react": "^11.13.3",
"@faire/mjml-react": "^3.4.0",
"@guardian/ab-core": "8.0.0",
"@guardian/libs": "^19.1.0",
"@guardian/source": "^8.0.0",
"@guardian/source-development-kitchen": "^13.1.0",
"@okta/jwt-verifier": "^4.0.1",
"@sentry/browser": "^8.38.0",
"@smithy/node-http-handler": "^3.3.1",
"awesome-debounce-promise": "^2.1.0",
"body-parser": "^1.20.3",
"bowser": "^2.11.0",
"compression": "^1.7.5",
"cookie-parser": "^1.4.7",
"csurf": "^1.11.0",
"deepmerge": "^4.3.1",
"express": "^4.21.1",
"helmet": "^8.0.0",
"ioredis": "^5.4.1",
"mjml": "^4.15.3",
"mjml-browser": "^4.15.3",
"ms": "^2.1.3",
"openid-client": "^5.7.0",
"ophan-tracker-js": "^2.0.2",
"preact": "^10.24.3",
"preact-render-to-string": "^6.5.11",
"react": "npm:@preact/compat",
"react-dom": "npm:@preact/compat",
"serialize-javascript": "^6.0.2",
"supertest": "^7.0.0",
"tslib": "^2.8.1",
"winston": "^3.17.0",
"zod": "^3.23.8"
},
"packageManager": "[email protected]+sha512.88c9c3864450350e65a33587ab801acf946d7c814ed1134da4a924f6df5a2120fd36b46aab68f7cd1d413149112d53c7db3a4136624cfd00ff1846a0c6cef48a"
}