|
1 | 1 | { |
2 | 2 | "name": "v3-admin-vite", |
| 3 | + "type": "module", |
3 | 4 | "version": "4.5.4", |
4 | 5 | "description": "一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element Plus、Pinia 和 Vite 等主流技术", |
5 | 6 | "author": { |
6 | 7 | "name": "pany", |
7 | 8 | |
8 | 9 | "url": "https://github.com/pany-ang" |
9 | 10 | }, |
| 11 | + "license": "MIT", |
10 | 12 | "repository": { |
11 | 13 | "type": "git", |
12 | 14 | "url": "https://github.com/un-pany/v3-admin-vite.git" |
13 | 15 | }, |
14 | | - "type": "module", |
| 16 | + "keywords": [ |
| 17 | + "vue", |
| 18 | + "vue3", |
| 19 | + "admin", |
| 20 | + "vue-admin", |
| 21 | + "vue3-admin", |
| 22 | + "vite", |
| 23 | + "vite-admin", |
| 24 | + "element-plus", |
| 25 | + "element-plus-admin", |
| 26 | + "ts", |
| 27 | + "typescript" |
| 28 | + ], |
15 | 29 | "scripts": { |
16 | 30 | "dev": "vite", |
17 | 31 | "build:stage": "vue-tsc --noEmit && vite build --mode staging", |
18 | 32 | "build:prod": "vue-tsc --noEmit && vite build", |
19 | 33 | "preview:stage": "pnpm build:stage && vite preview", |
20 | 34 | "preview:prod": "pnpm build:prod && vite preview", |
21 | | - "lint:eslint": "eslint --cache --max-warnings 0 \"{src,tests,types}/**/*.{vue,js,jsx,ts,tsx}\" --fix", |
22 | | - "lint:prettier": "prettier --write \"{src,tests,types}/**/*.{vue,js,jsx,ts,tsx,json,css,less,scss,html,md}\"", |
23 | | - "lint": "pnpm lint:eslint && pnpm lint:prettier", |
| 35 | + "lint": "eslint . --fix", |
24 | 36 | "prepare": "husky", |
25 | 37 | "test": "vitest" |
26 | 38 | }, |
|
45 | 57 | "xe-utils": "3.5.31" |
46 | 58 | }, |
47 | 59 | "devDependencies": { |
| 60 | + "@antfu/eslint-config": "3.9.1", |
48 | 61 | "@types/js-cookie": "3.0.6", |
49 | 62 | "@types/lodash-es": "4.17.12", |
50 | 63 | "@types/node": "22.9.0", |
51 | 64 | "@types/nprogress": "0.2.3", |
52 | 65 | "@types/path-browserify": "1.0.3", |
53 | | - "@typescript-eslint/eslint-plugin": "8.14.0", |
54 | | - "@typescript-eslint/parser": "8.14.0", |
55 | 66 | "@vitejs/plugin-vue": "5.2.0", |
56 | 67 | "@vitejs/plugin-vue-jsx": "4.1.0", |
57 | | - "@vue/eslint-config-prettier": "9.0.0", |
58 | | - "@vue/eslint-config-typescript": "13.0.0", |
59 | 68 | "@vue/test-utils": "2.4.6", |
60 | | - "eslint": "8.57.1", |
61 | | - "eslint-plugin-prettier": "5.2.1", |
62 | | - "eslint-plugin-vue": "9.31.0", |
| 69 | + "eslint": "9.15.0", |
63 | 70 | "husky": "9.1.6", |
64 | 71 | "jsdom": "25.0.1", |
65 | 72 | "lint-staged": "15.2.10", |
|
71 | 78 | "vite-plugin-svg-icons": "2.0.1", |
72 | 79 | "vite-svg-loader": "5.1.0", |
73 | 80 | "vitest": "2.1.5", |
74 | | - "vue-eslint-parser": "9.4.3", |
75 | 81 | "vue-tsc": "2.1.10" |
76 | 82 | }, |
77 | 83 | "lint-staged": { |
78 | | - "*.{vue,js,jsx,ts,tsx}": [ |
79 | | - "eslint --fix", |
80 | | - "prettier --write" |
81 | | - ], |
82 | | - "*.{css,less,scss,html,md}": [ |
83 | | - "prettier --write" |
84 | | - ], |
85 | | - "package.json": [ |
86 | | - "prettier --write" |
87 | | - ] |
88 | | - }, |
89 | | - "keywords": [ |
90 | | - "vue", |
91 | | - "vue3", |
92 | | - "admin", |
93 | | - "vue-admin", |
94 | | - "vue3-admin", |
95 | | - "vite", |
96 | | - "vite-admin", |
97 | | - "element-plus", |
98 | | - "element-plus-admin", |
99 | | - "ts", |
100 | | - "typescript" |
101 | | - ], |
102 | | - "license": "MIT" |
| 84 | + "*": "eslint --fix" |
| 85 | + } |
103 | 86 | } |
0 commit comments