You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
3.1 KiB
111 lines
3.1 KiB
{
|
|
"name": "admin",
|
|
"description": "后台管理",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"author": "xiaoxing",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "vite --host --config ./config/vite.config.dev.ts",
|
|
"build": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts",
|
|
"report": "cross-env REPORT=true npm run build",
|
|
"preview": "npm run build && vite preview --host",
|
|
"type:check": "vue-tsc --noEmit --skipLibCheck",
|
|
"lint-staged": "npx lint-staged",
|
|
"prepare": "husky install"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,jsx,tsx}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.vue": [
|
|
"stylelint --fix",
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.{less,css}": [
|
|
"stylelint --fix",
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@arco-design/web-vue": "^2.40.0",
|
|
"@vueuse/core": "^9.3.0",
|
|
"arco-design-pro-vue": "^2.6.0",
|
|
"axios": "^0.24.0",
|
|
"dayjs": "^1.11.5",
|
|
"echarts": "^5.4.0",
|
|
"lodash": "^4.17.21",
|
|
"mitt": "^3.0.0",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^2.0.23",
|
|
"query-string": "^8.0.3",
|
|
"sortablejs": "^1.15.0",
|
|
"vue": "^3.2.40",
|
|
"vue-echarts": "^6.2.3",
|
|
"vue-i18n": "^9.2.2",
|
|
"vue-router": "^4.0.14"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.1.2",
|
|
"@commitlint/config-conventional": "^17.1.0",
|
|
"@types/lodash": "^4.14.186",
|
|
"@types/mockjs": "^1.0.7",
|
|
"@types/nprogress": "^0.2.0",
|
|
"@types/sortablejs": "^1.15.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.40.0",
|
|
"@typescript-eslint/parser": "^5.40.0",
|
|
"@vitejs/plugin-vue": "^4.0.0",
|
|
"@vitejs/plugin-vue-jsx": "^3.0.0",
|
|
"@vue/babel-plugin-jsx": "^1.1.1",
|
|
"commitizen": "^4.3.0",
|
|
"consola": "^2.15.3",
|
|
"cross-env": "^7.0.3",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"cz-customizable": "^7.0.0",
|
|
"eslint": "^8.25.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-import-resolver-typescript": "^3.5.1",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-vue": "^9.6.0",
|
|
"husky": "^8.0.1",
|
|
"less": "^4.1.3",
|
|
"lint-staged": "^13.0.3",
|
|
"mockjs": "^1.1.0",
|
|
"postcss-html": "^1.5.0",
|
|
"prettier": "^2.7.1",
|
|
"rollup": "^3.9.1",
|
|
"rollup-plugin-visualizer": "^5.8.2",
|
|
"stylelint": "^14.13.0",
|
|
"stylelint-config-prettier": "^9.0.3",
|
|
"stylelint-config-rational-order": "^0.1.2",
|
|
"stylelint-config-recommended-vue": "^1.4.0",
|
|
"stylelint-config-standard": "^29.0.0",
|
|
"stylelint-order": "^5.0.0",
|
|
"typescript": "^4.8.4",
|
|
"unplugin-vue-components": "^0.22.8",
|
|
"vite": "^3.2.5",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vite-plugin-eslint": "^1.8.1",
|
|
"vite-plugin-imagemin": "^0.6.1",
|
|
"vite-plugin-style-import": "1.4.1",
|
|
"vite-svg-loader": "^3.6.0",
|
|
"vue-tsc": "^1.0.14"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
},
|
|
"resolutions": {
|
|
"bin-wrapper": "npm:bin-wrapper-china",
|
|
"rollup": "^2.56.3",
|
|
"gifsicle": "5.2.0"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-customizable"
|
|
}
|
|
}
|
|
}
|
|
|