generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
195 lines (195 loc) · 7.53 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
{
"name": "react-frontend",
"version": "0.1.1",
"private": true,
"npmClient": "yarn",
"proxy": "http://127.0.0.1:7071",
"dependencies": {
"@microsoft/applicationinsights-react-js": "^3.4.1",
"@microsoft/applicationinsights-web": "^2.8.10",
"@okta/okta-auth-js": "^7.2.0",
"@okta/okta-react": "^6.7.0",
"@okta/okta-signin-widget": "^7.4.0",
"@rest-hooks/rest": "^3.0.3",
"@tanstack/react-query": "^4.20.9",
"@tanstack/react-query-devtools": "^4.20.9",
"@trussworks/react-uswds": "^4.1.1",
"@uswds/uswds": "3.1.0",
"axios": "^1.3.4",
"classnames": "^2.3.1",
"dompurify": "^3.0.0",
"downloadjs": "^1.4.7",
"history": "^5.3.0",
"lodash.chunk": "^4.2.0",
"lodash.omit": "^4.5.0",
"lodash.pick": "^4.4.0",
"lodash.range": "^3.2.0",
"lodash.uniq": "^4.5.0",
"moment": "^2.29.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet-async": "^1.3.0",
"react-idle-timer": "^5.5.3",
"react-loader-spinner": "^5.1.3",
"react-markdown": "^8.0.5",
"react-router-dom": "^6.3.0",
"react-scroll-sync": "^0.11.0",
"react-toastify": "^9.1.1",
"rehype-raw": "^6.1.1",
"rehype-slug": "^5.0.1",
"remark-gfm": "^3.0.1",
"remark-toc": "^8.0.1",
"rest-hooks": "^6.1.7",
"use-deep-compare-effect": "^1.8.1",
"web-vitals": "^3.1.1"
},
"scripts": {
"analyze": "cross-env BUNDLE_ANALYZER=true yarn run build:production",
"clean": "rimraf ./build && rimraf ./src/content/generated",
"start:localdev": "cross-env NODE_ENV=development npm-run-all -p watch-scss start-js",
"build:demo1": "cross-env NODE_ENV=demo1 yarn build-base-prod",
"build:demo2": "cross-env NODE_ENV=demo2 yarn build-base-prod",
"build:demo3": "cross-env NODE_ENV=demo3 yarn build-base-prod",
"build:test": "cross-env NODE_ENV=test yarn build-base-prod",
"build:staging": "cross-env NODE_ENV=staging yarn build-base-prod",
"build:production": "cross-env NODE_ENV=production yarn build-base-prod",
"build:localdev:csp": "cross-env NODE_ENV=dev.csp yarn build-base-dev",
"build-base-prod": "yarn compile-scss-prod && node scripts/build.js && yarn copy-404page",
"build-base-dev": "yarn compile-scss-dev && node scripts/build.js && yarn copy-404page",
"start-js": "node scripts/start.js",
"copy-404page": "cp build/index.html build/404.html",
"compile-scss-prod": "sass --load-path=./node_modules/@uswds/uswds/packages --no-source-map --style=compressed --quiet src/global.scss:src/content/generated/global.out.css",
"compile-scss-dev": "sass --load-path=./node_modules/@uswds/uswds/packages --embed-source-map --quiet-deps src/global.scss:src/content/generated/global.out.css",
"cypress:local:run": "cross-env CYPRESS_ENV=development yarn cypress run",
"cypress:local:open": "cross-env CYPRESS_ENV=development yarn cypress open",
"cypress:staging:run": "echo 'not implemented yet'",
"cypress:staging:open": "echo 'not implemented yet'",
"cypress:production:run": "echo 'not implemented yet'",
"cypress:production:open": "echo 'not implemented yet'",
"watch-scss": "yarn compile-scss-dev && sass --load-path=./node_modules/@uswds/uswds/packages --embed-source-map --quiet-deps -w src/global.scss:src/content/generated/global.out.css",
"test": "TZ=UTC node scripts/test.js",
"test:debug": "TZ=UTC node scripts/test.js --runInBand",
"test:ci": "cross-env CI=true TZ=UTC yarn --verbose test --coverage --verbose --silent",
"lint": "npm-run-all -p lint:eslint",
"lint:write": "npm-run-all -p lint:eslint:write",
"lint:eslint": "cross-env NODE_ENV=production eslint \"src/**/*.{js,ts,jsx,tsx}\"",
"lint:eslint:write": "cross-env NODE_ENV=production eslint --fix \"src/**/*.{js,ts,jsx,tsx}\"",
"yarn:show-outdated-packages": "yarn outdated",
"run-build-dir": "yarn build:localdev:csp && yarn global add serve && serve -s build"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/plugin-syntax-flow": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/plugin-transform-typescript": "^7.20.13",
"@babel/preset-typescript": "^7.21.0",
"@jest/globals": "^29.4.3",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@rest-hooks/test": "^7.3.1",
"@svgr/webpack": "^6.5.1",
"@testing-library/cypress": "^9.0.0",
"@testing-library/dom": "^9.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/dompurify": "^2.4.0",
"@types/downloadjs": "^1.4.2",
"@types/lodash.chunk": "^4.2.7",
"@types/lodash.omit": "^4.5.7",
"@types/lodash.pick": "^4.4.7",
"@types/lodash.range": "^3.2.7",
"@types/lodash.uniq": "^4.5.7",
"@types/node": "^16.18.13",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react-router-dom": "^5.3.3",
"@types/react-scroll-sync": "^0.8.3",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"babel-jest": "^29.4.2",
"babel-loader": "^9.1.2",
"babel-plugin-named-asset-import": "^0.3.8",
"babel-preset-react-app": "^10.0.1",
"bfj": "^7.0.2",
"browserslist": "^4.21.5",
"camelcase": "^6.2.1",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.3",
"css-minimizer-webpack-plugin": "^4.2.2",
"cypress": "^12.7.0",
"cypress-each": "^1.13.1",
"cypress-localstorage-commands": "^2.2.2",
"cypress-plugin-tab": "^1.0.5",
"dotenv": "^16.0.3",
"dotenv-expand": "^10.0.0",
"env-cmd": "^10.1.0",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-testing-library": "^5.10.2",
"eslint-plugin-unused-imports": "2.0.0",
"eslint-webpack-plugin": "^4.0.0",
"file-loader": "^6.2.0",
"fs-extra": "^11.1.0",
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.4.3",
"jest-canvas-mock": "^2.3.1",
"jest-environment-jsdom": "^29.4.3",
"jest-watch-typeahead": "^2.2.2",
"loader-utils": "3.2.1",
"mini-css-extract-plugin": "^2.7.2",
"msw": "^1.1.0",
"npm-run-all": "^4.1.5",
"otplib": "^12.0.1",
"postcss": "^8.4.21",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^7.0.2",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^8.0.1",
"prettier": "^2.8.4",
"prompts": "^2.4.2",
"react-app-polyfill": "^3.0.0",
"react-dev-utils": "^12.0.1",
"react-refresh": "^0.14.0",
"recursive-readdir": "2.2.3",
"resolve": "^1.20.0",
"resolve-url-loader": "^5.0.0",
"rimraf": "^4.3.0",
"sass": "^1.58.0",
"sass-loader": "^13.2.0",
"semver": "^7.3.8",
"source-map-loader": "^4.0.1",
"style-loader": "^3.3.1",
"tailwindcss": "^3.2.7",
"terser-webpack-plugin": "^5.3.6",
"ts-node": "^10.9.1",
"tslib": "^2.5.0",
"typescript": "^4.9.5",
"webpack": "^5.71.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-dev-server": "^4.11.1",
"webpack-manifest-plugin": "^5.0.0",
"workbox-webpack-plugin": "^6.5.4"
},
"engines": {
"node": "~18.15"
}
}