115 lines
3.3 KiB
115 lines
3.3 KiB
{
|
|
"name": "web-template-vue",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"engineStrict": true,
|
|
"engines": {
|
|
"node": ">=16",
|
|
"npm": ">=8"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:mock": "vite --mode mock",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint . --ext .js,.jsx,.vue && stylelint \"**/*.{css,scss,html,vue}\" && markdownlint \"**/*.md\"",
|
|
"lint:fix": "eslint --fix --ext .js,.jsx,.vue && stylelint \"**/*.{css,scss,html,vue}\" --fix && markdownlint \"**/*.md\" --fix && prettier --write .",
|
|
"lint-staged": "npx lint-staged",
|
|
"prepare": "cd ../../../&&husky install code/WebApp/vue3/.husky"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,jsx,tsx}": [
|
|
"prettier --write",
|
|
"eslint --fix",
|
|
"git add ."
|
|
],
|
|
"*.vue": [
|
|
"stylelint --fix",
|
|
"prettier --write",
|
|
"eslint --fix",
|
|
"git add ."
|
|
],
|
|
"*.{css,less,scss}": [
|
|
"stylelint --fix",
|
|
"prettier --write",
|
|
"git add ."
|
|
],
|
|
"*.md": [
|
|
"markdownlint --fix",
|
|
"prettier --write",
|
|
"git add ."
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@ckeditor/ckeditor5-build-classic": "^38.0.1",
|
|
"@ckeditor/ckeditor5-upload": "^38.0.1",
|
|
"@ckeditor/ckeditor5-vue": "^5.1.0",
|
|
"@vueuse/core": "^10.2.0",
|
|
"async-validator": "^4.2.5",
|
|
"axios": "^1.4.0",
|
|
"better-mock": "^0.3.6",
|
|
"dayjs": "^1.11.8",
|
|
"echarts": "^5.4.2",
|
|
"element-plus": "^2.3.7",
|
|
"javascript-state-machine": "^3.1.0",
|
|
"jose": "^4.14.4",
|
|
"jsrsasign": "^10.8.6",
|
|
"linq": "^4.0.1",
|
|
"localforage": "^1.10.0",
|
|
"lodash": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"loglevel": "^1.8.1",
|
|
"mitt": "^3.0.0",
|
|
"mrmime": "^1.0.1",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^2.1.4",
|
|
"qrcode.vue": "^3.4.0",
|
|
"qs": "^6.11.2",
|
|
"query-string": "^8.1.0",
|
|
"vant": "4.6.0",
|
|
"vue": "^3.3.4",
|
|
"vue-echarts": "^6.6.0",
|
|
"vue-i18n": "^9.2.2",
|
|
"vue-router": "^4.2.2",
|
|
"vxe-table": "^4.5.0-beta.16",
|
|
"wsmock-js": "^1.1.1",
|
|
"xe-utils": "^3.5.11"
|
|
},
|
|
"devDependencies": {
|
|
"@iconify/json": "^2.2.83",
|
|
"@unocss/preset-attributify": "^0.53.4",
|
|
"@unocss/preset-uno": "^0.53.4",
|
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
|
"eslint": "^8.43.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-gitignore": "^0.1.0",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"eslint-plugin-vue": "^9.15.1",
|
|
"eslint-plugin-vue-scoped-css": "^2.4.0",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^13.2.2",
|
|
"markdownlint-cli": "^0.35.0",
|
|
"prettier": "^2.8.8",
|
|
"sass": "^1.63.6",
|
|
"stylelint": "^15.9.0",
|
|
"stylelint-config-html": "^1.1.0",
|
|
"stylelint-config-prettier-scss": "^1.0.0",
|
|
"stylelint-config-rational-order": "^0.1.2",
|
|
"stylelint-config-recommended-vue": "^1.4.0",
|
|
"stylelint-config-standard-scss": "^9.0.0",
|
|
"stylelint-order": "^6.0.3",
|
|
"unocss": "^0.53.4",
|
|
"unplugin-auto-import": "^0.16.4",
|
|
"unplugin-icons": "^0.16.3",
|
|
"unplugin-vue-components": "^0.25.1",
|
|
"unplugin-vue-define-options": "^1.3.8",
|
|
"vite": "^4.3.9",
|
|
"vite-plugin-inspect": "^0.7.29",
|
|
"vite-svg-loader": "^4.0.0",
|
|
"vue-eslint-parser": "^9.3.1"
|
|
}
|
|
}
|
|
|