-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
153 lines (153 loc) 路 5.36 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
{
"name": "gateway",
"version": "1.0.0",
"author": "idenititydev@theguardian.com",
"license": "Apache-2.0",
"private": true,
"scripts": {
"build": "webpack --mode production && node scripts/copyNodeModules.js",
"cypress": "cypress",
"cypress:ci": "cypress run",
"cypress:ete": "./cypress-ete.sh",
"e2e:server": "yarn mock-server & yarn start",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "yarn lint --fix",
"mock-server": "node util/mock-server.js",
"riffraff": "node-riffraff-artifact",
"start": "node ./build/server.js",
"test": "yarn lint && yarn tsc && yarn test:unit",
"test:unit": "jest --ci",
"tsc": "tsc --noEmit --skipLibCheck",
"tsc:cypress": "tsc --noEmit --skipLibCheck --project cypress/tsconfig.json",
"watch:cypress": "yarn tsc:cypress --watch",
"watch:server": "mkdir -p ./build && touch ./build/server.js && nodemon --inspect ./build/server.js",
"watch": "webpack --watch --config webpack.development.js",
"wait-on:server": "wait-on http://localhost:8861/healthcheck",
"wait-on:mock-server": "wait-on http://localhost:9000/healthcheck",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"prettier": "prettier . --check",
"prettier:fix": "prettier . --write",
"prepare": "husky install",
"clear:cache": "rm -rf ./node_modules/.cache",
"ts-prune": "ts-prune -i .stories.tsx"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime": "^7.16.7",
"@emotion/babel-preset-css-prop": "^11.2.0",
"@guardian/node-riffraff-artifact": "^0.3.2",
"@storybook/addon-actions": "^6.4.8",
"@storybook/addon-essentials": "^6.4.8",
"@storybook/addon-links": "^6.4.8",
"@storybook/react": "^6.4.8",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@types/compression": "^1.7.2",
"@types/cookie-parser": "^1.4.2",
"@types/csurf": "^1.11.2",
"@types/express": "^4.17.13",
"@types/http-errors": "^1.8.1",
"@types/jest": "^27.4.0",
"@types/jsonwebtoken": "^8.5.6",
"@types/mjml": "^4.7.0",
"@types/mjml-react": "^2.0.2",
"@types/ms": "^0.7.31",
"@types/node": "^17.0.7",
"@types/node-fetch": "^3.0.3",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-router-dom": "^5.3.2",
"@types/react-test-renderer": "^17.0.1",
"@types/serialize-javascript": "^5.0.2",
"@types/uuid": "^8.3.3",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"assets-webpack-plugin": "^7.1.1",
"axe-core": "^4.3.5",
"babel-jest": "^27.4.5",
"babel-loader": "^8.2.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"chalk-rainbow": "^1.0.0",
"chromatic": "^6.3.3",
"copy-node-modules": "^1.1.1",
"core-js": "^3.20.2",
"cypress": "^9.2.0",
"cypress-axe": "^0.14.0",
"cypress-mailosaur": "2.6.0",
"dotenv-webpack": "^7.0.3",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-functional": "^4.0.2",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"file-loader": "^6.2.0",
"fork-ts-checker-notifier-webpack-plugin": "^4.0.0",
"fork-ts-checker-webpack-plugin": "^6.5.0",
"husky": "^7.0.4",
"image-webpack-loader": "^8.0.1",
"jest": "^27.4.5",
"jest-mock": "^27.4.2",
"nodemon": "^2.0.15",
"prettier": "^2.5.1",
"react-test-renderer": "^17.0.2",
"snyk": "^1.815.0",
"stmux": "^1.8.3",
"ts-jest": "^27.1.2",
"ts-prune": "^0.10.3",
"typescript": "^4.5.4",
"wait-on": "^6.0.0",
"web-vitals": "^2.1.2",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
"webpack-merge": "^5.8.0",
"webpack-node-externals": "^3.0.0",
"whatwg-fetch": "^3.6.2"
},
"dependencies": {
"@emotion/react": "^11.7.1",
"@guardian/ab-core": "^2.0.0",
"@guardian/ab-react": "^2.0.1",
"@guardian/consent-management-platform": "^10.1.0",
"@guardian/libs": "^3.5.1",
"@guardian/source-foundations": "^4.0.0-rc.5",
"@guardian/source-react-components": "^4.0.0-rc.3",
"@guardian/source-react-components-development-kitchen": "^1.0.0-rc.1",
"@okta/okta-sdk-nodejs": "6.1.0",
"awesome-debounce-promise": "^2.1.0",
"aws-sdk": "2.1049.0",
"bowser": "^2.11.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"csurf": "^1.11.0",
"deepmerge": "^4.2.2",
"express": "^4.17.1",
"express-recaptcha": "^5.0.2",
"helmet": "^4.6.0",
"http-errors": "^1.8.1",
"js-sha1": "^0.6.0",
"jsonwebtoken": "^8.5.1",
"mjml": "^4.11.0",
"mjml-browser": "^4.11.0",
"mjml-react": "^2.0.3",
"ms": "^2.1.3",
"node-fetch": "^3.1.0",
"ophan-tracker-js": "^1.3.29",
"query-string": "^7.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^6.2.1",
"serialize-javascript": "^6.0.0",
"winston": "^3.3.3",
"winston-transport": "^4.4.1"
}
}