59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"name": "portal-mini-front",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Portal 后台管理系统前端",
|
|
"packageManager": "pnpm@9.15.9",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build:prod": "vue-tsc --noEmit && vite build",
|
|
"build:test": "vue-tsc --noEmit && vite build --mode test",
|
|
"preview": "vite preview",
|
|
"type-check": "vue-tsc --noEmit",
|
|
"lint": "eslint . --ext .ts,.vue --fix",
|
|
"format": "prettier --write \"src/**/*.{ts,vue,scss,json}\"",
|
|
"prepare": "husky install || true"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.1",
|
|
"@vueuse/core": "^11.1.0",
|
|
"axios": "^1.7.7",
|
|
"element-plus": "^2.8.4",
|
|
"nprogress": "^0.2.0",
|
|
"path-browserify": "^1.0.1",
|
|
"pinia": "^2.2.4",
|
|
"vue": "^3.5.12",
|
|
"vue-router": "^4.4.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.7.5",
|
|
"@types/nprogress": "^0.2.3",
|
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
"@typescript-eslint/parser": "^7.18.0",
|
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
"eslint-plugin-vue": "^9.28.0",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^15.2.10",
|
|
"prettier": "^3.3.3",
|
|
"sass": "^1.79.5",
|
|
"typescript": "~5.5.4",
|
|
"unplugin-auto-import": "^0.18.6",
|
|
"unplugin-vue-components": "^0.27.4",
|
|
"vite": "^5.4.9",
|
|
"vue-eslint-parser": "^9.4.3",
|
|
"vue-tsc": "^2.1.6"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,vue}": [
|
|
"eslint --fix"
|
|
],
|
|
"*.{ts,vue,scss,json,md}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|