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.
71 lines
1.9 KiB
71 lines
1.9 KiB
{
|
|
"name": "vue3-vite-template",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"dev": "vite --mode test",
|
|
"build": "vite build --mode production",
|
|
"serve": "vite preview",
|
|
"cz": "git add . && git cz",
|
|
"format": "prettier --write ./src",
|
|
"lint": "eslint ./src --ext .vue,.js,.ts",
|
|
"fix": "eslint --fix ./src --ext .vue,.js,.ts",
|
|
"prepare": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@vitejs/plugin-vue": "^1.9.3",
|
|
"axios": "^0.23.0",
|
|
"dayjs": "^1.10.7",
|
|
"echarts": "^5.2.2",
|
|
"echarts-gl": "^2.0.8",
|
|
"element-plus": "^1.1.0-beta.24",
|
|
"lodash": "^4.17.21",
|
|
"vite": "^2.6.4",
|
|
"vite-plugin-compression": "^0.3.5",
|
|
"vite-plugin-windicss": "^1.4.11",
|
|
"vue": "^3.2.16",
|
|
"vue-router": "^4.0.12",
|
|
"vuex": "^4.0.2",
|
|
"windicss": "^3.1.9"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^13.2.1",
|
|
"@commitlint/config-angular": "^13.2.0",
|
|
"commitizen": "^4.2.4",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-html": "^6.2.0",
|
|
"eslint-plugin-import": "^2.25.2",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-vue": "^7.19.1",
|
|
"husky": "^7.0.2",
|
|
"lint-staged": "^11.2.3",
|
|
"prettier": "^2.4.1",
|
|
"unplugin-vue-components": "^0.15.6",
|
|
"vite-plugin-linter": "^1.0.1",
|
|
"vite-plugin-pwa": "^0.11.6"
|
|
},
|
|
"browserslist": [
|
|
"Android >= 4",
|
|
"ios >= 8"
|
|
],
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{js,ts,jsx,json,css,vue}": [
|
|
"eslint --fix"
|
|
],
|
|
"*.js": "eslint --cache --fix"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
}
|
|
}
|
|
|