Cultivation/package.json

64 lines
1.9 KiB
JSON
Raw Normal View History

{
2022-05-08 22:42:37 +00:00
"name": "cultivation",
2022-07-20 00:45:13 +00:00
"version": "1.0.4",
"private": true,
"dependencies": {
2022-05-08 22:42:37 +00:00
"@tauri-apps/api": "^1.0.0-rc.5",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
2022-07-18 22:53:30 +00:00
"@testing-library/user-event": "^14.2.6",
"@types/jest": "^28.1.6",
"@types/node": "^18.0.6",
"@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": {
2022-05-08 22:42:37 +00:00
"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\"",
2022-05-29 04:25:37 +00:00
"build:windows": "yarn tauri build",
"build:linux": "yarn tauri build",
"build": "react-scripts build && run-script-os",
"test": "react-scripts test",
2022-05-08 22:42:37 +00:00
"eject": "react-scripts eject",
"tauri": "tauri",
2022-07-11 23:50:51 +00:00
"start:dev": "tauri dev",
2022-07-19 11:48:44 +00:00
"format": "cargo fmt --manifest-path ./src-tauri/Cargo.toml --all && yarn prettier --write --cache --loglevel warn .",
2022-07-11 23:50:51 +00:00
"lint": "cargo clippy --manifest-path ./src-tauri/Cargo.toml --no-default-features && yarn tsc --noEmit && yarn eslint src"
},
"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"
]
2022-05-08 22:42:37 +00:00
},
"devDependencies": {
2022-05-21 22:42:28 +00:00
"@tauri-apps/cli": "^1.0.0-rc.11",
2022-05-08 23:44:16 +00:00
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"cross-env": "^7.0.3",
"eslint": "^8.15.0",
2022-07-19 11:48:44 +00:00
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.29.4",
2022-07-19 11:48:44 +00:00
"prettier": "^2.7.1",
"run-script-os": "^1.1.6"
}
2022-05-08 23:44:16 +00:00
}