forked from rebane2001/mapartcraft
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.71 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.71 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
{
"name": "mapartcraft-react",
"version": "0.1.0",
"private": true,
"homepage": "/mapartcraft",
"dependencies": {
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.8.3",
"@vitejs/plugin-react": "^5.1.2",
"jszip": "^3.6.0",
"pako": "^1.0.11",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0",
"three": "^0.129.0",
"vite": "^7.3.1",
"vite-plugin-ignore-dynamic-imports": "^1.0.2",
"web-vitals": "^1.1.1"
},
"scripts": {
"dev": "vite",
"build": "npm run clean-build-csharp && npm run build-vite",
"preview": "vite preview",
"build-vite": "vite build",
"clean-build-csharp": "npm run clean-csharp && npm run build-csharp",
"clean-csharp": "rimraf ./csharp-wasm/bin/Release && rimraf ./csharp-wasm/obj/Release && rimraf ./src/csharp-wasm/build",
"build-csharp": "dotnet publish ./csharp-wasm -c Release -o ./src/csharp-wasm/build && npm run postprocess-csharp",
"postprocess-csharp": "sed -E -i '/^import.*(\\.js|\\.mjs|\\?url)\";$/! s/^(import.*)(\";$)/\\1?url\";/' ./src/csharp-wasm/build/wwwroot/_framework/dotnet.js"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/pako": "^1.0.7",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.2",
"@types/react-router-dom": "^5.2.0",
"@types/three": "^0.129.0",
"rimraf": "^6.1.2"
}
}