Keep calm and commit
This commit is contained in:
11
package.json
11
package.json
@ -11,7 +11,8 @@
|
||||
"build-only": "vite build",
|
||||
"type-check": "vue-tsc --build --force",
|
||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
||||
"format": "prettier --write src/"
|
||||
"format": "prettier --write src/",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"dependencies": {
|
||||
"@alova/adapter-axios": "^2.0.5",
|
||||
@ -55,8 +56,10 @@
|
||||
"@yanhao98/build-and-preview": "^1.0.1",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-vue": "^9.27.0",
|
||||
"husky": "^9.1.5",
|
||||
"jsdom": "^24.1.1",
|
||||
"less": "^4.2.0",
|
||||
"lint-staged": "^15.2.9",
|
||||
"npm-run-all2": "^6.2.2",
|
||||
"prettier": "^3.3.3",
|
||||
"typescript": "~5.5.4",
|
||||
@ -75,5 +78,11 @@
|
||||
"patchedDependencies": {
|
||||
"vue-router@4.4.3": "patches/vue-router@4.4.3.patch"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"src/**/*.{js,ts,vue}": [
|
||||
"prettier --write",
|
||||
"eslint --fix"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user