-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.63 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 1.63 KB
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
{
"name": "intermagnet-metadata-app",
"version": "0.2.0",
"private": true,
"engines": {
"node": ">=22",
"npm": ">=10"
},
"dependencies": {
"axios": "^1",
"bootstrap": "^5",
"leaflet": "^1.9.4",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-bootstrap": "^2.10.9",
"react-dom": "^18.2.0",
"react-leaflet": "^4",
"react-router-bootstrap": "^0.26.2",
"react-router-dom": "^6",
"@tanstack/react-table": "^8"
},
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"spa-fallback": "node -e \"const fs=require('fs');fs.copyFileSync('dist/index.html','dist/404.html')\"",
"deploy": "gh-pages -d dist",
"predeploy": "npm run build && npm run spa-fallback"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"vite": "7.1.11",
"@vitejs/plugin-react": "^5.0.4",
"gh-pages": "^6.0.0",
"eslint": "^9",
"eslint-plugin-react": "^7.37",
"eslint-plugin-react-hooks": "^5",
"eslint-plugin-jsx-a11y": "^6.10",
"eslint-plugin-import": "^2.31",
"vite-plugin-eslint2": "^5",
"vitest": "^2.1.9",
"@testing-library/react": "^14.2.1",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/user-event": "^14.5.2",
"jsdom": "^24.1.0"
}
}