-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
154 lines (154 loc) · 5.41 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
{
"name": "paas-admin",
"private": true,
"version": "0.1.0",
"description": "GOV.UK PaaS CloudFoundry UI",
"main": "src/main.ts",
"repository": "https://github.com/alphagov/paas-admin",
"type": "module",
"scripts": {
"build": "npm run -s clean && webpack --config config/webpack.config.cjs",
"watch": "ENABLE_WATCH=true ENABLE_TESTS=true npm run -s build",
"test": "npm run -s build && npm run -s test:unit && npm run -s lint",
"test:unit": "vitest run ./src/",
"test:audit": "npm audit",
"test:vulnerabilities": "if npm audit | grep -E -B9999 '\\d+\\s+(high|critical)'; then npm audit; else exit 0; fi",
"test:acceptance": "vitest run ./acceptance-tests/main.test.ts --silent=false",
"lint": "npm run -s lint:ts && npm run -s lint:sass",
"lint:sass": "stylelint '**/*.scss'",
"lint:ts": "eslint --quiet --format stylish --ext .js,.jsx,.ts,.tsx .",
"fix": "npm run -s fix:ts",
"fix:sass": "stylelint '**/*.scss' --fix",
"fix:ts": "eslint --fix --ext .js,.jsx,.ts,.tsx .",
"fix:vulnerabilities": "npm audit fix --update-binary",
"start": "export PORT=${PORT-3000}; export LOG_LEVEL=${LOG_LEVEL-warn}; if [ \"$NODE_ENV\" = 'production' ]; then npm run -s start:production; else npm run -s start:dev; fi",
"start:dev": "NODE_ENV=development ENABLE_WATCH=true ENABLE_SERVER=true ALLOW_INSECURE_SESSION=true npm run -s build",
"start:dev:with-cf-dev-env": "./config/use-dev-env.sh",
"start:stub-api": "./stub-api/start-stub-api.sh",
"start:with-stub-api": "./stub-api/start-with-stub-api.sh",
"start:production": "NODE_ENV=production ALLOW_INSECURE_SESSION=true npm run -s build && node dist/main.mjs",
"push": "NODE_ENV=production npm run -s build && cf push",
"clean": "find dist -maxdepth 1 ! -name downloads ! -name dist -exec rm -r {} \\; || echo 'already clean'"
},
"author": "GOV.UK PaaS Team",
"license": "MIT",
"devDependencies": {
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@types/aws-sdk": "^2.7.0",
"@types/body-parser": "^1.19.5",
"@types/cheerio": "^0.22.35",
"@types/compression": "^1.7.5",
"@types/cookie-session": "^2.0.48",
"@types/csurf": "^1.11.5",
"@types/d3-array": "^3.2.1",
"@types/d3-axis": "^3.0.6",
"@types/d3-scale": "^4.0.8",
"@types/d3-selection": "^3.0.10",
"@types/d3-shape": "^3.1.6",
"@types/eslint": "^8.56.5",
"@types/express": "^4.17.21",
"@types/jsdom": "^21.1.6",
"@types/jsonwebtoken": "^9.0.6",
"@types/lodash-es": "^4.17.12",
"@types/node-jose": "^1.1.13",
"@types/passport": "^1.0.7",
"@types/passport-oauth2": "^1.4.15",
"@types/pino": "^6.3.12",
"@types/qs": "^6.9.16",
"@types/react": "^18.2.73",
"@types/react-dom": "^18.2.22",
"@types/route-parser": "^0.1.7",
"@types/source-map-support": "^0.5.10",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"body-parser": "^1.20.3",
"cheerio": "^1.0.0-rc.12",
"compression-webpack-plugin": "^11.1.0",
"css-loader": "^6.10.0",
"css-minimizer-webpack-plugin": "^6.0.0",
"csv-parse": "^5.5.5",
"eslint": "^8.57.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-functional": "^6.3.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"expect": "^29.7.0",
"mini-css-extract-plugin": "^2.8.1",
"msw": "^2.2.13",
"nodemon-webpack-plugin": "^4.8.2",
"pino-pretty": "^7.6.1",
"puppeteer": "^22.11.2",
"sass": "^1.72.0",
"sass-loader": "^14.1.1",
"stylelint": "^16.3.1",
"stylelint-config-gds": "^2.0.0",
"stylelint-config-standard-scss": "^13.0.0",
"supertest": "^6.3.4",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.2",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@aws-sdk/client-cloudwatch": "^3.651.1",
"@aws-sdk/client-rds": "^3.653.0",
"@aws-sdk/client-resource-groups-tagging-api": "^3.651.1",
"@aws-sdk/types": "^3.521.0",
"axios": "^1.7.7",
"base32-encode": "^2.0.0",
"compression": "^1.7.4",
"cookie-session": "^2.1.0",
"csurf": "^1.11.0",
"d3": "^7.9.0",
"d3-array": "^3.2.4",
"d3-axis": "^3.0.0",
"d3-sankey": "^0.12.3",
"d3-scale": "^4.0.2",
"d3-selection": "^3.0.0",
"d3-shape": "^3.2.0",
"date-fns": "^3.6.0",
"express": "^4.21.0",
"express-pino-logger": "^7.0.0",
"express-static-gzip": "^2.1.7",
"fnv-plus": "^1.3.1",
"govuk-frontend": "^5.2.0",
"happy-dom": "^15.10.2",
"helmet": "^7.1.0",
"html-entities": "^2.5.2",
"jsdom": "^24.0.0",
"jsonwebtoken": "^9.0.2",
"lodash-es": "^4.17.21",
"nanoid": "^5.0.7",
"node-jose": "^2.2.0",
"node-zendesk": "^3.0.3",
"notifications-node-client": "^8.0.0",
"openid-client": "^4.9.1",
"p-limit": "^5.0.0",
"passport": "^0.5.2",
"passport-oauth2": "^1.8.0",
"pino": "^6.13.3",
"qs": "^6.13.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^9.0.1",
"route-parser": "^0.0.5",
"source-map-support": "^0.5.21",
"tslib": "^2.6.2",
"vitest": "^1.4.0"
},
"overrides": {
"[email protected]": {
"qs": "^6.11.0",
"tough-cookie": "^4.1.3"
}
},
"engines": {
"node": "20.x.x",
"npm": ">=10.x.x"
}
}