113 lines
3.3 KiB
JSON
113 lines
3.3 KiB
JSON
{
|
|
"name": "vue-template-admin",
|
|
"version": "0.0.1",
|
|
"description": "使用 Vue3 + TS 构建的后台管理系统",
|
|
"author": "sankeyangshu",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build:dev": "vite build --mode development",
|
|
"build:prod": "vite build --mode production",
|
|
"build:test": "vite build --mode test",
|
|
"preview": "vite preview",
|
|
"lint:lint-staged": "lint-staged",
|
|
"lint:eslint": "eslint \"src/**/*.{vue,ts,tsx}\" --fix",
|
|
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
|
|
"lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
"prepare": "husky install"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sankeyangshu/vue-template-admin.git"
|
|
},
|
|
"keywords": [
|
|
"vue",
|
|
"typescript",
|
|
"admin"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/sankeyangshu/vue-template-admin/issues"
|
|
},
|
|
"homepage": "https://github.com/sankeyangshu/vue-template-admin#readme",
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
|
|
"prettier --write--parser json"
|
|
],
|
|
"package.json": [
|
|
"prettier --write"
|
|
],
|
|
"*.vue": [
|
|
"eslint --fix",
|
|
"prettier --write",
|
|
"stylelint --fix"
|
|
],
|
|
"*.{scss,less,styl}": [
|
|
"stylelint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.md": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.1",
|
|
"@wangeditor/editor": "^5.1.23",
|
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
|
"axios": "^1.6.8",
|
|
"dayjs": "^1.11.11",
|
|
"echarts": "^5.5.1",
|
|
"el-table-infinite-scroll": "3",
|
|
"element-plus": "^2.7.2",
|
|
"nprogress": "^0.2.0",
|
|
"path-browserify": "^1.0.1",
|
|
"pinia": "^2.1.7",
|
|
"pinia-plugin-persistedstate": "^3.2.1",
|
|
"vue": "^3.4.27",
|
|
"vue-echarts": "^7.0.3",
|
|
"vue-hooks-plus": "^2.0.1",
|
|
"vue-router": "^4.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.3.0",
|
|
"@commitlint/config-conventional": "^19.2.2",
|
|
"@types/node": "^18.19.33",
|
|
"@types/nprogress": "^0.2.3",
|
|
"@types/path-browserify": "^1.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^7.8.0",
|
|
"@typescript-eslint/parser": "^7.8.0",
|
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
"autoprefixer": "^10.4.19",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-simple-import-sort": "^12.1.0",
|
|
"eslint-plugin-vue": "^9.26.0",
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "^15.2.2",
|
|
"postcss": "^8.4.38",
|
|
"postcss-html": "^1.7.0",
|
|
"prettier": "^3.2.5",
|
|
"sass": "^1.77.1",
|
|
"stylelint": "^16.5.0",
|
|
"stylelint-config-html": "^1.1.0",
|
|
"stylelint-config-recess-order": "^5.0.1",
|
|
"stylelint-config-standard": "^36.0.0",
|
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
"typescript": "^5.4.5",
|
|
"unplugin-auto-import": "^0.17.6",
|
|
"unplugin-vue-components": "^0.27.0",
|
|
"vite": "^5.2.11",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
"vue-eslint-parser": "^9.4.2",
|
|
"vue-tsc": "^2.0.17"
|
|
}
|
|
}
|