mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-23 09:29:50 +08:00
d502c2e89c
* feat: 通知支持持久化 * feat: setting支持持久化 * feat: tabs-router支持持久化 * feat: user支持持久化 fix: 修复 user 和 permission 未正确初始化的问题 * feat: 使用持久化插件将store持久化 #278 * feat: rebase * feat: rebase * feat: rebase * Update src/store/modules/setting.ts Co-authored-by: 悠静萝莉 <i@mikuhl.cn> * Update src/store/index.ts Co-authored-by: 悠静萝莉 <i@mikuhl.cn> * Update src/layouts/setting.vue Co-authored-by: 悠静萝莉 <i@mikuhl.cn> Co-authored-by: 悠静萝莉 <i@mikuhl.cn>
91 lines
2.8 KiB
JSON
91 lines
2.8 KiB
JSON
{
|
|
"name": "tdesign-vue-next-starter",
|
|
"version": "0.5.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",
|
|
"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": {
|
|
"axios": "^0.27.2",
|
|
"dayjs": "^1.10.6",
|
|
"echarts": "~5.1.2",
|
|
"lodash": "^4.17.21",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^2.0.11",
|
|
"pinia-plugin-persistedstate": "^2.1.1",
|
|
"qrcode.vue": "^3.2.2",
|
|
"qs": "^6.10.5",
|
|
"tdesign-icons-vue-next": "^0.1.1",
|
|
"tdesign-vue-next": "0.20.3",
|
|
"tvision-color": "^1.3.1",
|
|
"vue": "^3.2.31",
|
|
"vue-clipboard3": "^2.0.0",
|
|
"vue-router": "~4.0.11"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.0.3",
|
|
"@commitlint/config-conventional": "^17.0.3",
|
|
"@types/echarts": "^4.9.10",
|
|
"@types/lodash": "^4.14.182",
|
|
"@types/qs": "^6.9.7",
|
|
"@types/ws": "^8.2.2",
|
|
"@typescript-eslint/eslint-plugin": "^4.29.3",
|
|
"@typescript-eslint/parser": "^4.29.3",
|
|
"@vitejs/plugin-vue": "^2.3.1",
|
|
"@vitejs/plugin-vue-jsx": "^1.1.7",
|
|
"@vue/compiler-sfc": "^3.0.5",
|
|
"@vue/eslint-config-typescript": "^11.0.0",
|
|
"commitizen": "^4.2.4",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"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": "^9.2.0",
|
|
"eslint-plugin-vue-scoped-css": "^2.2.0",
|
|
"husky": "^7.0.4",
|
|
"less": "^4.1.1",
|
|
"lint-staged": "^12.1.2",
|
|
"mockjs": "^1.1.0",
|
|
"prettier": "^2.4.1",
|
|
"stylelint": "~13.13.1",
|
|
"stylelint-config-prettier": "~9.0.3",
|
|
"stylelint-less": "1.0.1",
|
|
"stylelint-order": "~4.1.0",
|
|
"typescript": "~4.7.4",
|
|
"vite": "^2.7.1",
|
|
"vite-plugin-mock": "^2.9.6",
|
|
"vite-svg-loader": "^3.1.0",
|
|
"vue-tsc": "^0.34.11"
|
|
},
|
|
"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 ."
|
|
]
|
|
}
|
|
}
|