mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 00:38:27 +08:00
5b9a418600
* chore: 大致雏形 * feat: complete permission code * feat: 修复渲染问题并完善权限代码 * chore: release 0.7.0 * chore: 更新依赖 * chore: fix echarts version * feat: upgrade dependencies * chore: mock route map * chore: hash router * chore: concat fixed routers * chore: fix dependencies * feat: optimize * chore: remove roles from get menu process * chore: remain fe permssion code Co-authored-by: 悠静萝莉 <i@mikuhl.cn>
93 lines
2.9 KiB
JSON
93 lines
2.9 KiB
JSON
{
|
|
"name": "tdesign-vue-next-starter",
|
|
"version": "0.7.0",
|
|
"scripts": {
|
|
"dev:mock": "vite --open --mode mock",
|
|
"dev": "vite --open --mode development",
|
|
"dev:linux": "vite --mode development",
|
|
"build:test": "vite build --mode test",
|
|
"build": "vue-tsc --noEmit && vite build --mode release",
|
|
"build:site": "vue-tsc --noEmit && vite build --mode site",
|
|
"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 --fix src/**/*.{html,vue,vss,sass,less}",
|
|
"prepare": "husky install",
|
|
"site:preview": "npm run build && cp -r dist _site",
|
|
"test": "echo \"no test specified,work in process\"",
|
|
"test:coverage": "echo \"no test:coverage specified,work in process\""
|
|
},
|
|
"dependencies": {
|
|
"@types/nprogress": "^0.2.0",
|
|
"axios": "^1.2.2",
|
|
"dayjs": "^1.11.7",
|
|
"echarts": "5.1.2",
|
|
"lodash": "^4.17.21",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^2.0.28",
|
|
"pinia-plugin-persistedstate": "^3.0.2",
|
|
"qrcode.vue": "^3.3.3",
|
|
"qs": "^6.11.0",
|
|
"tdesign-icons-vue-next": "^0.1.7",
|
|
"tdesign-vue-next": "^1.0.0",
|
|
"tvision-color": "^1.5.0",
|
|
"vue": "^3.2.45",
|
|
"vue-clipboard3": "^2.0.0",
|
|
"vue-router": "~4.1.6"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.3.0",
|
|
"@commitlint/config-conventional": "^17.3.0",
|
|
"@types/echarts": "^4.9.16",
|
|
"@types/lodash": "^4.14.191",
|
|
"@types/qs": "^6.9.7",
|
|
"@types/ws": "^8.5.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.47.1",
|
|
"@typescript-eslint/parser": "^5.47.1",
|
|
"@vitejs/plugin-vue": "^3.2.0",
|
|
"@vitejs/plugin-vue-jsx": "^1.1.7",
|
|
"@vue/compiler-sfc": "^3.2.45",
|
|
"@vue/eslint-config-typescript": "^11.0.2",
|
|
"commitizen": "^4.2.4",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"eslint": "^8.30.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-vue": "^9.8.0",
|
|
"eslint-plugin-vue-scoped-css": "^2.2.0",
|
|
"husky": "^8.0.2",
|
|
"less": "^4.1.3",
|
|
"lint-staged": "^13.1.0",
|
|
"mockjs": "^1.1.0",
|
|
"prettier": "^2.8.1",
|
|
"stylelint": "~14.9.1",
|
|
"stylelint-config-prettier": "~9.0.4",
|
|
"stylelint-less": "1.0.6",
|
|
"stylelint-order": "~6.0.1",
|
|
"typescript": "~4.9.4",
|
|
"vite": "^3.0.3",
|
|
"vite-plugin-mock": "^2.9.6",
|
|
"vite-svg-loader": "^4.0.0",
|
|
"vue-tsc": "^1.0.19"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"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 ."
|
|
]
|
|
}
|
|
}
|