|
@@ -0,0 +1,42 @@
|
|
|
|
|
+{
|
|
|
|
|
+ "name": "vue3-admin",
|
|
|
|
|
+ "private": true,
|
|
|
|
|
+ "version": "0.0.0",
|
|
|
|
|
+ "type": "module",
|
|
|
|
|
+ "scripts": {
|
|
|
|
|
+ "dev": "vite",
|
|
|
|
|
+ "build": "vue-tsc -b && vite build",
|
|
|
|
|
+ "preview": "vite preview",
|
|
|
|
|
+ "lint": "eslint",
|
|
|
|
|
+ "lint:fix": "eslint --fix --quiet",
|
|
|
|
|
+ "prepare": "husky"
|
|
|
|
|
+ },
|
|
|
|
|
+ "dependencies": {
|
|
|
|
|
+ "vue": "^3.5.13"
|
|
|
|
|
+ },
|
|
|
|
|
+ "devDependencies": {
|
|
|
|
|
+ "@eslint/js": "^9.23.0",
|
|
|
|
|
+ "@vitejs/plugin-vue": "^5.2.1",
|
|
|
|
|
+ "@vue/tsconfig": "^0.7.0",
|
|
|
|
|
+ "eslint": "^9.23.0",
|
|
|
|
|
+ "eslint-config-prettier": "^10.1.1",
|
|
|
|
|
+ "eslint-plugin-prettier": "^5.2.5",
|
|
|
|
|
+ "eslint-plugin-vue": "^10.0.0",
|
|
|
|
|
+ "globals": "^16.0.0",
|
|
|
|
|
+ "husky": "^9.1.7",
|
|
|
|
|
+ "lint-staged": "^15.5.0",
|
|
|
|
|
+ "prettier": "^3.5.3",
|
|
|
|
|
+ "typescript": "~5.7.2",
|
|
|
|
|
+ "typescript-eslint": "^8.28.0",
|
|
|
|
|
+ "vite": "^6.2.0",
|
|
|
|
|
+ "vue-tsc": "^2.2.4"
|
|
|
|
|
+ },
|
|
|
|
|
+ "lint-staged": {
|
|
|
|
|
+ "src/**/*.{js,cjs,jsx,ts,tsx,vue}": [
|
|
|
|
|
+ "npm run lint:fix"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "src/**/*.{css,less,scss,stylus,styl}": [
|
|
|
|
|
+ "npx prettier --write"
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+}
|