-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
132 lines (132 loc) · 4.64 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
{
"name": "ui",
"version": "0.1.0",
"private": true,
"dependencies": {
"@date-io/date-fns": "^2.15.0",
"@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4",
"@material-ui/core": "^4.12.4",
"@mui/icons-material": "^5.10.3",
"@mui/lab": "^5.0.0-alpha.97",
"@mui/material": "^5.10.3",
"@mui/styles": "^5.10.3",
"@mui/x-date-pickers": "^5.0.0",
"@reduxjs/toolkit": "^1.8.5",
"axios": "^0.26.1",
"clsx": "^1.1.1",
"date-fns": "^2.29.2",
"envalid": "^7.2.1",
"formik": "^2.2.9",
"formik-mui": "^4.0.0-alpha.3",
"formik-mui-lab": "^1.0.0",
"history": "^4.10.1",
"http-proxy-middleware": "^2.0.1",
"i18n-iso-countries": "^7.3.0",
"lodash": "^4.17.21",
"material-table": "^2.0.3",
"msw": "^0.39.2",
"papaparse": "^5.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-draggable": "^4.4.5",
"react-google-button": "^0.7.2",
"react-google-recaptcha": "^3.0.0-alpha.1",
"react-gtm-module": "^2.0.11",
"react-helmet": "^6.1.0",
"react-highlight-words": "^0.17.0",
"react-password-strength-bar": "^0.4.1",
"react-redux": "^8.0.1",
"react-router-dom": "^5.3.0",
"react-scripts": "^5.0.1",
"react-scroll": "^1.8.4",
"shortid": "^2.2.8",
"typeface-roboto": "^1.1.13",
"yup": "^0.32.11"
},
"scripts": {
"start-noenv": "react-scripts start",
"start": "PORT=3002 react-scripts start",
"build": "react-scripts build",
"prepare-variants": "csvtojson ./variantsofconcern.csv > src/components/assets/variants.json",
"init-db": "export CONN=mongodb://localhost/covid19; export DB=covid19; npm --prefix ../../../data-serving/scripts/setup-db run migrate",
"import-case-data": "npm --prefix ../../../data-serving/scripts/setup-db run import-sample-data",
"lint": "tsc --noEmit && eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
"test": "react-scripts test",
"test-and-coverage": "react-scripts test --coverage --watchAll=false --transformIgnorePatterns 'node_modules/(?!(headers-polyfill/lib)/)'",
"test-silent": "react-scripts test --watchAll=false",
"eject": "react-scripts eject",
"cypress-open": "cypress open",
"cypress-run": "cypress run --spec \"cypress/e2e/components/LandingPage.spec.ts\"",
"cypress-run-ff": "cypress run --browser firefox",
"cypress-run-edge": "cypress run --browser edge",
"cypress-run-chrome": "cypress run --headless --browser chrome"
},
"eslintConfig": {
"extends": "react-app"
},
"jest": {
"resetMocks": false
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/dom": "^8.17.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^24.9.1",
"@types/lodash": "^4.14.184",
"@types/mongodb": "^3.6.18",
"@types/node": "^17.0.29",
"@types/papaparse": "^5.3.5",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"@types/react-google-recaptcha": "^2.1.5",
"@types/react-gtm-module": "^2.0.1",
"@types/react-helmet": "^6.1.4",
"@types/react-highlight-words": "^0.16.3",
"@types/react-router-dom": "^5.3.1",
"@types/react-scroll": "^1.8.3",
"@types/shortid": "0.0.29",
"@types/yup": "^0.29.13",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"csvtojson": "^2.0.10",
"cypress": "^10.7.0",
"cypress-file-upload": "^5.0.8",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^4.3.8",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom-fifteen": "^1.0.2",
"lint-staged": "^10.4.0",
"mongodb": "^4.9.1",
"prettier": "^2.4.1",
"typescript": "^4.8.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*/**/*.{js,ts,tsx}": [
"eslint --fix"
]
},
"engines": {
"node": "16.18.0"
}
}