tdesign-vue-next-starter/package.json
2021-11-26 11:32:16 +08:00

87 lines
2.5 KiB
JSON

{
"name": "tdesign-vue-next-starter",
"version": "0.0.1",
"scripts": {
"dev:mock": "vite --open --mode mock",
"dev": "vite --open --mode development",
"dev:linux": "vite --mode developmenet",
"build:test": "vite build --mode test",
"build": "vue-tsc --noEmit && vite build",
"serve": "vite preview",
"lint": "eslint --ext .vue,.js,.jsx,.ts,.tsx ./ --max-warnings 0",
"lint:fix": "eslint --ext .vue,.js,jsx,.ts,.tsx ./ --max-warnings 0 --fix",
"stylelint": "stylelint src/**/*.{html,vue,sass,less}",
"stylelint:fix": "stylelint --cache --fix src/**/*.{html,vue,vss,sass,less}"
},
"dependencies": {
"dayjs": "^1.10.6",
"echarts": "^5.2.1",
"nprogress": "^0.2.0",
"qrcode.vue": "^3.2.2",
"tdesign-vue-next": "^0.4.1",
"vue": "^3.1.5",
"vue-router": "^4.0.11",
"vue3-clipboard": "^1.0.0",
"vuex": "^4.0.2"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"@types/echarts": "^4.9.10",
"@vitejs/plugin-vue": "^1.3.0",
"@vitejs/plugin-vue-jsx": "^1.1.7",
"@vue/compiler-sfc": "^3.0.5",
"axios": "^0.21.1",
"commitizen": "^4.2.4",
"compressorjs": "^1.0.7",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^7.16.0",
"http-proxy-agent": "^4.0.1",
"husky": "^7.0.4",
"less": "^4.1.1",
"mockjs": "^1.1.0",
"prettier": "^2.4.1",
"stylelint": "^13.13.1",
"stylelint-config-airbnb": "^0.0.0",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.20.0",
"typescript": "^4.4.3",
"vite": "^2.4.4",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-svg-sprite-component": "^1.0.10",
"vite-svg-loader": "^3.1.0",
"vue-clipboard3": "^1.0.1",
"vue-tsc": "^0.2.2",
"vuex-router-sync": "^5.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [
"prettier --write",
"npm run lint:fix",
"git add"
],
"*.{html,vue,vss,sass,less}": [
"npm run stylelint:fix",
"git add"
]
}
}