-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
96 lines (96 loc) · 3.72 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
{
"name": "symptomradar",
"engines": {
"npm": ">=6 <7",
"node": ">=12 <13"
},
"scripts": {
"\n==================== GLOBAL HOOKS ====================": "",
"preinstall": "if [ -f ./node_modules/.bin/check-node-version ]; then check-node-version --package; fi",
"\n==================== GLOBAL QA ====================": "",
"test": "react-scripts test",
"lint": "concurrently npm:lint-node npm:lint-tsc npm:lint-eslint npm:lint-prettier",
"lint-node": "check-node-version --package",
"lint-tsc": "tsc --project . --noEmit",
"lint-eslint": "eslint --max-warnings 0 $(npm run --silent list-ts)",
"lint-prettier": "prettier --list-different $(npm run --silent list-ts) $(npm run --silent list-css)",
"list-ts": "find src -name '*.ts*' | grep -v '.snap$' | xargs echo",
"list-css": "find src -name '*.css' | xargs echo",
"fix-prettier": "prettier --write $(npm run --silent list-ts) $(npm run --silent list-css)",
"fix-eslint": "eslint --fix $(npm run --silent list-ts)",
"\n==================== FRONTEND ====================": "",
"frontend-main-start": "npm run lint-node && npm run set-frontend main && BROWSER=none react-scripts start",
"frontend-main-build": "npm run lint-node && npm run set-frontend main && react-scripts build",
"frontend-embed-v1-start": "npm run lint-node && npm run set-frontend embed-v1 && BROWSER=none react-scripts start",
"frontend-embed-v1-build": "npm run lint-node && npm run set-frontend embed-v1 && react-scripts build",
"\n==================== BACKEND ====================": "",
"backend-build": "npm run lint-node && rm -rf build && tsc --project tsconfig-backend.json",
"\n==================== UTILS ====================": "",
"set-frontend": "/usr/bin/env bash -c 'set -x; (cd src/ && ln -fs index-frontend-$1.ts* index.tsx); (cd public/ && ln -fs index-$1.html index.html)' --",
"ts-node": "NODE_PATH=src ts-node --project tsconfig-backend.json --files",
"open-data-cli": "NODE_PATH=src ts-node --project tsconfig-backend.json --files src/backend/cli.ts"
},
"dependencies": {
"@reach/dialog": "^0.10.0",
"athena-express": "5.2.0",
"axios": "^0.19.2",
"d3": "^5.15.1",
"d3-geo-projection": "^2.8.1",
"fp-ts": "^2.5.3",
"i18next": "^19.4.4",
"iframe-resizer": "^4.2.10",
"io-ts": "^2.1.2",
"jquery": "^3.5.0",
"normalize.css": "^8.0.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-i18next": "^11.4.0",
"react-responsive": "^8.0.3",
"react-scripts": "3.4.1",
"styled-components": "^5.0.1",
"topojson": "^3.0.2",
"uuid": "^7.0.2",
"yargs": "15.3.1"
},
"devDependencies": {
"@reach/router": "^1.3.3",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/aws-lambda": "^8.10.46",
"@types/aws-sdk": "^2.7.0",
"@types/iframe-resizer": "^3.5.8",
"@types/jest": "^24.9.1",
"@types/jquery": "^3.3.33",
"@types/lodash": "^4.14.149",
"@types/node": "^12.12.30",
"@types/reach__router": "^1.3.1",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"@types/react-responsive": "^8.0.2",
"@types/styled-components": "^5.0.1",
"@types/uuid": "^7.0.2",
"aws-sdk": "^2.642.0",
"check-node-version": "^4.0.2",
"concurrently": "^5.1.0",
"nan": "2.14.1",
"prettier": "^1.19.1",
"ts-node": "^8.8.1",
"typescript": "^3.8.3"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"extends": "react-app"
}
}