generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathpackage.json
209 lines (209 loc) · 7.62 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
{
"name": "react-frontend",
"version": "0.1.1",
"private": true,
"type": "module",
"npmClient": "yarn",
"dependencies": {
"@microsoft/applicationinsights-react-js": "^17.3.4",
"@microsoft/applicationinsights-web": "^3.3.4",
"@okta/okta-react": "^6.9.0",
"@okta/okta-signin-widget": "^7.27.2",
"@react-pdf/renderer": "^4.1.6",
"@rest-hooks/rest": "^3.0.3",
"@tanstack/react-query": "^5.64.0",
"@tanstack/react-query-devtools": "^5.64.0",
"@trussworks/react-uswds": "^9.1.0",
"@uswds/uswds": "3.7.1",
"axios": "^1.7.9",
"classnames": "^2.5.1",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"dompurify": "^3.2.3",
"export-to-csv-fix-source-map": "^0.2.1",
"focus-trap-react": "^11.0.3",
"history": "^5.3.0",
"html-to-text": "^9.0.5",
"lodash": "^4.17.21",
"p-limit": "^6.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-helmet-async": "^2.0.5",
"react-idle-timer": "^5.7.2",
"react-loader-spinner": "^6.1.6",
"react-markdown": "^9.0.3",
"react-query-kit": "^3.3.1",
"react-router": "^6.28.2",
"react-router-dom": "^6.28.2",
"react-scroll-sync": "^0.11.2",
"react-toastify": "^11.0.3",
"rehype-raw": "^7.0.0",
"rehype-slug": "^5.1.0",
"rest-hooks": "^6.1.7",
"sanitize-html": "^2.14.0",
"tsx": "^4.19.2",
"use-deep-compare-effect": "^1.8.1",
"uuid": "^11.0.5",
"web-vitals": "^3.4.0"
},
"scripts": {
"postinstall": "scripts/postinstall.sh",
"dev": "vite",
"preview": "vite preview --mode preview",
"preview:csp": "yarn run preview --mode csp",
"preview:test": "yarn run preview --mode test",
"preview:ci": "yarn run preview --mode ci",
"preview:build": "yarn run build:production && yarn run preview",
"preview:build:csp": "yarn run build:csp && yarn run preview:csp",
"preview:build:test": "yarn run build:test && yarn run preview:test",
"preview:build:ci": "yarn run build:ci && yarn run preview:ci",
"build:test": "yarn run build-base --mode test",
"build:ci": "yarn run build-base --mode ci",
"build:demo1": "yarn run build-base --mode demo1",
"build:demo2": "yarn run build-base --mode demo2",
"build:demo3": "yarn run build-base --mode demo3",
"build:trialfrontend01": "yarn run build-base --mode trialfrontend01",
"build:trialfrontend02": "yarn run build-base --mode trialfrontend02",
"build:trialfrontend03": "yarn run build-base --mode trialfrontend03",
"build:staging": "yarn run build-base --mode staging",
"build:production": "yarn run build-base",
"build:csp": "yarn run build-base --mode csp",
"build-base": "vite build",
"test": "cross-env vitest",
"test:debug": "cross-env DEBUG_PRINT_LIMIT=100000 vitest --run --no-file-parallelism",
"test:ci": "cross-env VITE_BACKEND_URL=http://localhost vitest --coverage",
"test:ui": "cross-env vitest --ui",
"test:e2e": "playwright test --trace on",
"test:e2e-smoke": "MOCK_DISABLED=true playwright test --project chromium --grep @smoke",
"test:e2e-ui": "playwright test --ui",
"test:e2e-ui:smoke": "MOCK_DISABLED=true playwright test --project chromium --grep @smoke --ui",
"test:e2e-ui:debug": "PWDEBUG=1 playwright test --ui",
"test:warnings": "playwright test --grep @warning",
"lint": "eslint \"**/*.{js,ts,jsx,tsx}\" && prettier \"*\" --check --ignore-unknown && tsc",
"lint:errors-only": "eslint \"**/*.{js,ts,jsx,tsx}\" --quiet && prettier \"*\" --check --ignore-unknown && tsc",
"lint:fix": "eslint \"**/*.{js,ts,jsx,tsx}\" --fix && prettier \"*\" --check --write --ignore-unknown && tsc",
"eslint-interactive": "yarn dlx -p eslint -p eslint-interactive eslint-interactive",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build --stats-json",
"browserslist:update": "yarn dlx -p browserslist -p update-browserslist-db update-browserslist-db",
"browserslist:generate": "yarn run browserslist:update && ts-node-esm ./scripts/generateBrowserslistRegex.ts",
"browserslist:dryRun": "yarn run browserslist:generate dryRun"
},
"browserslist": {
"production": [
"last 2 chrome version",
"last 2 and_chr version",
"last 2 firefox version",
"last 2 and_ff version",
"last 2 safari version",
"last 2 ios version",
"last 2 edge version"
],
"vite": [
"chrome >= 87",
"and_chr >= 87",
"firefox >= 78",
"and_ff >= 78",
"safari >= 14",
"ios >= 14",
"edge >= 88"
]
},
"devDependencies": {
"@eslint/compat": "^1.2.5",
"@eslint/js": "^9.18.0",
"@mdx-js/react": "^3.1.0",
"@mdx-js/rollup": "^3.1.0",
"@playwright/test": "^1.49.1",
"@rest-hooks/test": "^7.3.1",
"@storybook/addon-a11y": "^8.4.7",
"@storybook/addon-actions": "^8.4.7",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-interactions": "^8.4.7",
"@storybook/addon-links": "^8.4.7",
"@storybook/blocks": "^8.4.7",
"@storybook/components": "^8.4.7",
"@storybook/core-events": "^8.4.7",
"@storybook/mdx2-csf": "1.1.0",
"@storybook/react": "^8.4.7",
"@storybook/react-vite": "^8.4.7",
"@storybook/testing-library": "^0.2.2",
"@storybook/theming": "^8.4.7",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/dompurify": "^3.2.0",
"@types/dotenv-flow": "^3.3.3",
"@types/eslint__js": "^8.42.3",
"@types/github-slugger": "^2.0.0",
"@types/html-to-text": "^9.0.4",
"@types/lodash": "^4.17.14",
"@types/mdx": "^2.0.13",
"@types/node": "^20.12.5",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@types/react-router-dom": "^5.3.3",
"@types/react-scroll-sync": "^0.9.0",
"@types/sanitize-html": "^2.13.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-istanbul": "^2.1.8",
"@vitest/ui": "^2.1.8",
"autoprefixer": "^10.4.20",
"browserslist": "^4.24.4",
"browserslist-useragent-regexp": "^4.1.3",
"chromatic": "^11.22.2",
"cross-env": "^7.0.3",
"dotenv-flow": "^4.1.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-playwright": "^2.1.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.18",
"eslint-plugin-storybook": "^0.11.2",
"eslint-plugin-testing-library": "^7.1.1",
"eslint-plugin-vitest": "^0.5.4",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jsdom": "^26.0.0",
"lint-staged": "^15.3.0",
"mockdate": "^3.0.5",
"msw": "^2.7.0",
"npm-run-all": "^4.1.5",
"otpauth": "^9.3.6",
"patch-package": "^8.0.0",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"react-error-boundary": "^5.0.0",
"remark-frontmatter": "^5.0.0",
"remark-mdx-frontmatter": "^5.0.0",
"remark-mdx-toc": "^0.3.1",
"sass": "^1.83.1",
"storybook": "^8.4.7",
"storybook-addon-remix-react-router": "^4.0.1",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.19.0",
"undici": "^6.20.1",
"vite": "^6.0.7",
"vite-plugin-checker": "^0.8.0",
"vite-plugin-svgr": "^4.3.0",
"vitest": "^2.1.8"
},
"resolutions": {
"@types/react": "^18.3.11",
"@okta/okta-auth-js": ">=7.8.1",
"cookie": ">=0.7.0",
"send": ">=0.19.0"
},
"engines": {
"node": "^20.15"
},
"packageManager": "[email protected]"
}