mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 07:21:12 +08:00
c76ac96178
* feat: login ui edit * feat: login page add dark theme * feat: login page over * feat: ui Update * feat: update start script Co-authored-by: pengyue970715@gmail.com
86 lines
2.5 KiB
JSON
86 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",
|
|
"build:test": "vite build --mode test",
|
|
"build": "vue-tsc --noEmit && vite build --mode release",
|
|
"preview": "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.5.0",
|
|
"vue": "^3.1.5",
|
|
"vue-router": "^4.0.11",
|
|
"vue3-clipboard": "^1.0.0",
|
|
"vuex": "^4.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^15.0.0",
|
|
"@commitlint/config-conventional": "^13.1.0",
|
|
"@types/echarts": "^4.9.10",
|
|
"@typescript-eslint/eslint-plugin": "^4.29.3",
|
|
"@typescript-eslint/parser": "^4.29.3",
|
|
"@vitejs/plugin-vue": "^1.3.0",
|
|
"@vitejs/plugin-vue-jsx": "^1.1.7",
|
|
"@vue/compiler-sfc": "^3.0.5",
|
|
"axios": "^0.24.0",
|
|
"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": "^8.2.0",
|
|
"http-proxy-agent": "^4.0.1",
|
|
"husky": "^7.0.4",
|
|
"less": "^4.1.1",
|
|
"mockjs": "^1.1.0",
|
|
"postcss-less": "^5.0.0",
|
|
"prettier": "^2.4.1",
|
|
"stylelint": "^14.1.0",
|
|
"stylelint-config-standard": "^24.0.0",
|
|
"stylelint-order": "^4.1.0",
|
|
"stylelint-scss": "^4.0.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.29.8"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|