|
@@ -14,8 +14,8 @@
|
|
|
"scripts": {
|
|
|
"preinstall": "npx only-allow pnpm",
|
|
|
"postinstall": "simple-git-hooks",
|
|
|
- "format": "prettier --write --cache .",
|
|
|
- "lint": "eslint --cache .",
|
|
|
+ "format": "prettier --write --cache apps/mobile",
|
|
|
+ "lint": "eslint --cache apps/mobile",
|
|
|
"lint:fix": "eslint --ext .vue,.ts,.js --fix --cache .",
|
|
|
"dev:doc": "pnpm --filter docs run dev",
|
|
|
"build:doc": "pnpm --filter docs run build",
|
|
@@ -51,15 +51,15 @@
|
|
|
"typescript": "^5.0.2",
|
|
|
"vite": "^4.3.9",
|
|
|
"vite-plugin-html-redirect": "^1.0.4",
|
|
|
- "eslint": "^8.5.0",
|
|
|
+ "eslint": "^8.57.0",
|
|
|
"@antfu/eslint-config": "^2.25.1",
|
|
|
"eslint-plugin-format": "^0.1.2",
|
|
|
"@unocss/eslint-plugin": "^0.61.9"
|
|
|
},
|
|
|
"engines": {
|
|
|
- "node": ">=16",
|
|
|
- "pnpm": ">=8"
|
|
|
+ "node": "^18.0.0 || >=20.0.0"
|
|
|
},
|
|
|
+ "packageManager": "pnpm@9.7.0",
|
|
|
"simple-git-hooks": {
|
|
|
"pre-commit": "pnpm exec lint-staged --concurrent false"
|
|
|
},
|