mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2024-11-27 13:50:27 +00:00
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"name": "cultivation",
|
|
"version": "1.0.2",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^1.0.0-rc.5",
|
|
"@testing-library/jest-dom": "^5.14.1",
|
|
"@testing-library/react": "^13.0.0",
|
|
"@testing-library/user-event": "^13.2.1",
|
|
"@types/jest": "^27.0.1",
|
|
"@types/node": "^16.7.13",
|
|
"@types/react": "^18.0.0",
|
|
"@types/react-dom": "^18.0.0",
|
|
"react": "^18.1.0",
|
|
"react-dom": "^18.1.0",
|
|
"react-scripts": "5.0.1",
|
|
"typescript": "^4.4.2",
|
|
"web-vitals": "^2.1.0"
|
|
},
|
|
"scripts": {
|
|
"start": "cross-env BROWSER=none react-scripts start",
|
|
"postbuild:windows": "xcopy /E /H /C /I /Y \".\\src-tauri\\lang\" \".\\src-tauri\\target\\release\\lang\"",
|
|
"postbuild:linux": "cp -r \".\\src-tauri\\lang\" \".\\lang\"",
|
|
"build:windows": "yarn tauri build",
|
|
"build:linux": "yarn tauri build",
|
|
"build": "react-scripts build && run-script-os",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"tauri": "tauri",
|
|
"start:dev": "tauri dev"
|
|
},
|
|
"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": {
|
|
"@tauri-apps/cli": "^1.0.0-rc.11",
|
|
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
|
"@typescript-eslint/parser": "^5.22.0",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.15.0",
|
|
"eslint-plugin-react": "^7.29.4",
|
|
"run-script-os": "^1.1.6"
|
|
}
|
|
}
|