-
Notifications
You must be signed in to change notification settings - Fork 68
/
package.json
216 lines (216 loc) · 8.26 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
215
216
{
"name": "pages-core",
"private": true,
"version": "0.13.2",
"description": "",
"keywords": [],
"dependencies": {
"@aws-sdk/client-s3": "^3.620.1",
"@bull-board/express": "^5.23.0",
"@json2csv/plainjs": "^7.0.1",
"@octokit/request": "^6.2.2",
"@octokit/rest": "^18.5.2",
"@socket.io/redis-adapter": "^7.0.0",
"@supercharge/promise-pool": "^1.5.0",
"@uswds/uswds": "^3.8.1",
"ajv": "^8.12.0",
"axios": "^1.7.5",
"bullmq": "^5.7.0",
"cfenv": "^1.2.3",
"connect-flash": "^0.1.1",
"connect-redis": "^6.1.1",
"connect-session-sequelize": "^7.1.7",
"core-js": "^3.33.2",
"cors": "^2.8.5",
"csurf": "^1.11.0",
"db-migrate": "^0.11.14",
"db-migrate-pg": "^1.5.2",
"deep-extend": "^0.6",
"eslint-plugin-react-hooks": "^4.6.0",
"express": "^4.19.2",
"express-rate-limit": "^5.2.3",
"express-session": "^1.18.0",
"express-slow-down": "^1.4.0",
"express-winston": "^4.0.5",
"helmet": "^4.6.0",
"inflection": "^1.13.1",
"ioredis": "^4.27.6",
"js-yaml": "^4.1.0",
"json-templates": "^5.0.0",
"jsonwebtoken": "^9.0.2",
"lodash.merge": "^4.6.2",
"moment": "^2.29.2",
"node-schedule": "^2.1.1",
"nunjucks": "^3.2.4",
"passport": "^0.7.0",
"passport-github": "^1.1.0",
"passport-oauth2": "^1.8.0",
"pg": "^8.11.3",
"pg-native": "^3.0.0",
"rc": "^1.2.8",
"react-highlight": "^0.15.0",
"react-router": "6.18.0",
"react-router-dom": "^6.18.0",
"redis": "^3.0.0",
"sequelize": "^6.35.0",
"socket.io": "^4.7.2",
"socket.io-client": "^4.7.2",
"underscore": "^1.12.1",
"urlsafe-base64": "^1.0.0",
"validator": "^13.11.0",
"whatwg-fetch": "^3.6.19",
"winston": "^3.11.0",
"yamljs": "^0.3.0"
},
"scripts": {
"build": "webpack --config webpack.config.js",
"build:dev": "NODE_ENV='development' --config webpack.config.js",
"build:test": "NODE_ENV='test' webpack --config webpack.config.js",
"start": "node index.js",
"start-workers": "node ./api/workers/index.js",
"start-bull-board:cg": "node -r ./api/bull-board/cfEnv.js ./api/bull-board/index.js",
"start-bull-board:local": "DOTENV_CONFIG_PATH=./api/bull-board/.env node -r dotenv/config ./api/bull-board/index.js",
"debug": "node --inspect index.js",
"watch": "NODE_ENV=development nodemon index.js --config nodemon.json",
"test": "yarn test:prepare && yarn test:server && yarn test:client",
"test:cleandb": "NODE_ENV=test node migrate.js reset",
"test:cover": "yarn test:prepare && yarn test:server:cover && yarn test:client:cover",
"test:prepare": "NODE_ENV=test yarn migrate:up && yarn build:test",
"test:server": "NODE_ENV=test JWT_SECRET=shh USER_AUDITOR=user_auditor mocha --exit --timeout 2500 --recursive ./test/api",
"test:client": "NODE_ENV=test mocha --exit --require @babel/register test/frontend/_mochaSetup.js --recursive \"./test/frontend/**/*.{js,jsx}\"",
"test:server:cover": "NODE_ENV=test JWT_SECRET=shh USER_AUDITOR=user_auditor nyc --report-dir ./coverage/server mocha --exit --timeout 2500 --recursive ./test/api",
"test:client:cover": "NODE_ENV=test nyc --report-dir ./coverage/client mocha --exit --require @babel/register --recursive ./test/frontend",
"test:client:file": "mocha --exit --require @babel/register test/frontend/_mochaSetup.js",
"test:server:file": "NODE_ENV=test JWT_SECRET=shh USER_AUDITOR=user_auditor mocha --exit --timeout 2500 test/api/bootstrap.test.js",
"test:server:watch": "NODE_ENV=test JWT_SECRET=shh USER_AUDITOR=user_auditor mocha --timeout 2500 --recursive ./test/api -w",
"test:client:watch": "NODE_ENV=test mocha --require @babel/register --recursive \"./test/frontend/**/*.{js,jsx}\" -w",
"lint": "eslint",
"format": "prettier . --write",
"format:check": "prettier . --check",
"format:lint": "yarn format && yarn lint",
"format:check:lint": "yarn format:check && yarn lint",
"migrate:create": "node migrate.js create",
"migrate:up": "node migrate.js up || true",
"migrate:down": "node migrate.js down",
"migrate:test": "node migrate.js up --dry-run",
"migrate:reset": "node migrate.js reset",
"export:sites": "node ./scripts/exportSitesAsCsv.js",
"serve-coverage": "serve -n -l 8080 ./coverage",
"update-local-config": "node ./scripts/update-local-config.js",
"create-dev-data": "NODE_ENV=development node ./scripts/create-dev-data.js",
"update-proxy-db": "node ./scripts/proxy-edge.js",
"archive-build-logs": "node ./scripts/archive-build-logs.js",
"migrate-build-logs": "node ./scripts/migrate-build-logs.js",
"migrate-site-repo": "node ./scripts/migrate-site-repo.js",
"send-email": "node ./scripts/send-email.js",
"bootstrap-admins": "node ./scripts/bootstrap-admins.js",
"migrate-build-notification-settings": "node ./scripts/migrate-build-notification-settings.js",
"remove-bucket-website-configs": "node ./scripts/remove-bucket-website-configs.js",
"check-object-paths": "node ./scripts/check-object-paths.js",
"queued-builds-check": "node ./scripts/queued-builds-check.js",
"test:e2e": "yarn playwright test",
"create-test-users": "DOTENV_CONFIG_PATH=.env node -r dotenv/config ./scripts/create-test-users.js",
"remove-test-users": "DOTENV_CONFIG_PATH=.env node -r dotenv/config ./scripts/remove-test-users.js",
"run-scans-for-build": "node ./scripts/run-scans-for-build.js"
},
"main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/cloud.gov/pages-core.git"
},
"author": "dhcole",
"license": "CC0-1.0",
"devDependencies": {
"@aws-sdk/util-stream-node": "^3.374.0",
"@babel/core": "^7.23.3",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"@babel/register": "^7.22.15",
"@cfaester/enzyme-adapter-react-18": "^0.6.0",
"@eslint/js": "^9.13.0",
"@playwright/test": "^1.42.1",
"@svgr/webpack": "8.1.0",
"@types/node": "^20.9.0",
"autoprefixer": "^10.4.16",
"aws-sdk-client-mock": "^3.0.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^9.1.3",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"chai-fetch-mock": "^3.0.0",
"cookie": "^0.4.1",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.8.1",
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
"enzyme": "^3.11.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-webpack": "^0.13.9",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-sonarjs": "^2.0.4",
"eslint-plugin-testing-library": "^6.4.0",
"fetch-mock": "^9.11.0",
"globals": "^15.11.0",
"jsdom": "^23.0.1",
"json-schema-deref-sync": "^0.14.0",
"jsonschema": "^1.4.0",
"lint-staged": "^13.2.2",
"lodash.clonedeep": "^4.5.0",
"mini-css-extract-plugin": "^2.7.6",
"mocha": "^10.2.0",
"mock-fs": "^4.13.0",
"nock": "^13.3.8",
"nodemon": "^3.0.1",
"nyc": "^15.1.0",
"playwright": "^1.42.1",
"postcss": "^8.4.31",
"postcss-loader": "^7.3.3",
"prettier": "^3.3.3",
"promise-props": "^1.0.0",
"prop-types": "^15.5.10",
"proxyquire": "^2.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-notification-system": "^0.4.0",
"react-notification-system-redux": "^2.0.1",
"react-redux": "^7.2.2",
"redux": "^4.2.1",
"redux-devtools-extension": "^2.13.2",
"redux-form": "^8.3.10",
"redux-logger": "^3.0.6",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.3.0",
"sass": "1.69.5",
"sass-loader": "^11.1.1",
"serve": "^14.2.1",
"shortid": "^2.2.16",
"sinon": "^10.0.0",
"style-loader": "^3.3.3",
"supertest": "^7.0.0",
"svg-url-loader": "^8.0.0",
"url-loader": "^4.1.1",
"webpack": "^5.91.0",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^5.1.4",
"webpack-dev-middleware": "^7.1.1",
"webpack-dev-server": "^5.1.0",
"webpack-manifest-plugin": "^5.0.0"
},
"engines": {
"node": "^20.x.x",
"npm": "^10.x.x"
},
"lint-staged": {
"*.js": "eslint",
"*.jsx": "eslint"
},
"resolutions": {
"**/cheerio": "1.0.0-rc.12"
}
}