2021-11-26 11:32:16 +08:00
|
|
|
{
|
|
|
|
"name": "tdesign-vue-next-starter",
|
2022-01-10 16:10:22 +08:00
|
|
|
"version": "0.1.0",
|
2021-11-26 11:32:16 +08:00
|
|
|
"scripts": {
|
2021-12-10 03:05:49 +08:00
|
|
|
"dev:mock": "vite --open --mode mock",
|
|
|
|
"dev": "vite --open --mode development",
|
2021-11-26 11:32:16 +08:00
|
|
|
"build:test": "vite build --mode test",
|
2021-12-06 22:53:37 +08:00
|
|
|
"build": "vue-tsc --noEmit && vite build --mode release",
|
2021-12-02 16:42:30 +08:00
|
|
|
"preview": "vite preview",
|
2021-11-26 11:32:16 +08:00
|
|
|
"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}",
|
2021-12-13 11:44:18 +08:00
|
|
|
"stylelint:fix": "stylelint --fix src/**/*.{html,vue,vss,sass,less}",
|
2022-02-14 15:19:15 +08:00
|
|
|
"prepare": "husky install",
|
|
|
|
"site:preview": "npm run build && cp -r dist _site",
|
|
|
|
"test": "echo \"no test specified,work in process\""
|
2021-11-26 11:32:16 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-01-19 18:15:33 +08:00
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2021-11-26 11:32:16 +08:00
|
|
|
"dayjs": "^1.10.6",
|
2021-12-22 12:07:29 +08:00
|
|
|
"echarts": "~5.1.2",
|
|
|
|
"hex-to-hsl": "^1.0.2",
|
2021-11-26 11:32:16 +08:00
|
|
|
"nprogress": "^0.2.0",
|
|
|
|
"qrcode.vue": "^3.2.2",
|
2022-01-19 18:15:33 +08:00
|
|
|
"tdesign-icons-vue-next": "^0.0.6",
|
2022-01-25 14:44:12 +08:00
|
|
|
"tdesign-vue-next": "0.7.0-alpha.0",
|
2021-12-22 12:07:29 +08:00
|
|
|
"tvision-color": "^1.3.1",
|
2021-11-26 11:32:16 +08:00
|
|
|
"vue": "^3.1.5",
|
2021-12-22 12:07:29 +08:00
|
|
|
"vue-color-kit": "^1.0.5",
|
2021-11-26 11:32:16 +08:00
|
|
|
"vue-router": "^4.0.11",
|
|
|
|
"vue3-clipboard": "^1.0.0",
|
|
|
|
"vuex": "^4.0.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-12-06 23:04:35 +08:00
|
|
|
"@commitlint/cli": "^15.0.0",
|
2021-12-13 11:44:18 +08:00
|
|
|
"@commitlint/config-conventional": "^15.0.0",
|
2021-11-27 18:50:07 +08:00
|
|
|
"@types/echarts": "^4.9.10",
|
2021-12-12 01:04:13 +08:00
|
|
|
"@types/ws": "^8.2.2",
|
2021-11-26 11:32:16 +08:00
|
|
|
"@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",
|
2021-12-06 22:59:57 +08:00
|
|
|
"axios": "^0.24.0",
|
2021-11-26 11:32:16 +08:00
|
|
|
"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",
|
2021-12-17 18:08:39 +08:00
|
|
|
"eslint-plugin-vue": "^7.16.0",
|
2021-12-13 11:44:18 +08:00
|
|
|
"http-proxy-agent": "^5.0.0",
|
2021-11-26 11:32:16 +08:00
|
|
|
"husky": "^7.0.4",
|
|
|
|
"less": "^4.1.1",
|
2021-12-13 11:44:18 +08:00
|
|
|
"lint-staged": "^12.1.2",
|
2021-11-26 11:32:16 +08:00
|
|
|
"mockjs": "^1.1.0",
|
|
|
|
"prettier": "^2.4.1",
|
2021-12-13 11:44:18 +08:00
|
|
|
"stylelint": "^13.13.1",
|
|
|
|
"stylelint-config-prettier": "^9.0.3",
|
|
|
|
"stylelint-less": "^1.0.1",
|
2021-11-26 11:32:16 +08:00
|
|
|
"stylelint-order": "^4.1.0",
|
|
|
|
"typescript": "^4.4.3",
|
2021-12-12 15:46:02 +08:00
|
|
|
"vite": "^2.7.1",
|
2021-11-26 11:32:16 +08:00
|
|
|
"vite-plugin-mock": "^2.9.6",
|
|
|
|
"vite-svg-loader": "^3.1.0",
|
|
|
|
"vue-clipboard3": "^1.0.1",
|
2021-12-06 23:04:22 +08:00
|
|
|
"vue-tsc": "^0.29.8"
|
2021-11-26 11:32:16 +08:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,jsx,vue,ts,tsx}": [
|
|
|
|
"prettier --write",
|
|
|
|
"npm run lint:fix",
|
2021-12-13 11:44:18 +08:00
|
|
|
"git add ."
|
2021-11-26 11:32:16 +08:00
|
|
|
],
|
|
|
|
"*.{html,vue,vss,sass,less}": [
|
|
|
|
"npm run stylelint:fix",
|
2021-12-13 11:44:18 +08:00
|
|
|
"git add ."
|
2021-11-26 11:32:16 +08:00
|
|
|
]
|
|
|
|
}
|
2022-02-14 15:19:15 +08:00
|
|
|
}
|