This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
115 lines (115 loc) · 3.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
{
"name": "app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@playwright/test": "^1.32.1",
"@testing-library/jest-dom": "~5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "~14.4.3",
"@trussworks/react-uswds": "^3.2.0",
"@types/jest": "~29.5.0",
"@types/jest-axe": "^3.5.5",
"@types/leaflet": "~1.9.3",
"@types/node": "~18.15.5",
"@types/react": "~18.0.31",
"@types/react-dom": "~18.0.11",
"@types/react-leaflet": "~3.0.0",
"@types/styled-components": "~5.1.26",
"@types/xlsx": "^0.0.36",
"bootstrap": "^5.2.3",
"csv-parse": "~5.3.6",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^2.0.0",
"i18next": "~22.4.13",
"i18next-browser-languagedetector": "~7.0.1",
"jest-axe": "^7.0.1",
"leaflet": "~1.9.3",
"react": "~18.2.0",
"react-bootstrap": "^2.7.2",
"react-device-detect": "^2.2.2",
"react-dom": "~18.2.0",
"react-ga4": "^2.1.0",
"react-i18next": "~11.17.2",
"react-leaflet": "~4.2.1",
"react-markdown": "^8.0.6",
"react-router-dom": "~6.9.0",
"react-scripts": "~5.0.1",
"react-search-autocomplete": "^8.3.2",
"styled-components": "~5.3.9",
"ts-jest": "^28.0.7",
"ts-node": "~10.9.1",
"typescript": "~5.0.2",
"web-vitals": "~3.3.0",
"xlsx": "^0.18.5"
},
"scripts": {
"start": "ts-node src/data/process_data.ts && react-scripts start",
"build": "ts-node src/data/process_data.ts && react-scripts build",
"test": "ts-node src/data/process_data.ts && react-scripts test",
"test:ci": "ts-node src/data/process_data.ts && $(npm bin)/react-scripts test --watchAll=false",
"test:e2e": "playwright test",
"eject": "react-scripts eject",
"processdata": "ts-node src/data/process_data.ts",
"zipreport": "ts-node src/data/zip_report.ts",
"generatetranslations": "ts-node src/translations/generate_translations.ts",
"prepare": "husky install",
"lint": "eslint 'src' --ignore-pattern node_modules/"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"react-app",
"react-app/jest",
"plugin:react-hooks/recommended"
],
"plugins": [
"unused-imports"
],
"rules": {
"no-extra-boolean-cast": "off",
"no-var": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off",
"import/first": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_",
"ignoreRestSiblings": true
}
]
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"transform": {
"\\.(js|ts|tsx)$": "ts-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!(react-leaflet|@react-leaflet|leaflet|react-markdown|vfile|unified|bail|is-plain-obj|trough|remark-parse|micromark|decode-named-character-reference|character-entities|remark-rehype|mdast*|unist*|trim-lines|property-information|hast*|space-separated-tokens|comma-separated-tokens|rehype-raw|web-namespaces|zwitch|html-void-elements))"
]
},
"devDependencies": {
"husky": "^8.0.3",
"lint-staged": "^13.2.0"
}
}