2021-11-26 11:32:16 +08:00
|
|
|
{
|
2023-05-19 11:39:50 +08:00
|
|
|
"name": "@tencent/tdesign-vue-next-starter",
|
2023-10-04 13:46:35 +08:00
|
|
|
"version": "0.9.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",
|
2022-03-11 15:54:17 +08:00
|
|
|
"dev:linux": "vite --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",
|
2022-12-28 15:12:28 +08:00
|
|
|
"build:site": "vue-tsc --noEmit && vite build --mode site",
|
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}",
|
2023-07-11 19:17:46 +08:00
|
|
|
"stylelint:fix": "stylelint --fix src/**/*.{html,vue,css,sass,less}",
|
2022-02-14 15:19:15 +08:00
|
|
|
"prepare": "husky install",
|
|
|
|
"site:preview": "npm run build && cp -r dist _site",
|
2022-04-11 14:26:44 +08:00
|
|
|
"test": "echo \"no test specified,work in process\"",
|
|
|
|
"test:coverage": "echo \"no test:coverage specified,work in process\""
|
2021-11-26 11:32:16 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-11-17 09:53:24 +08:00
|
|
|
"@vueuse/core": "^10.6.1",
|
2023-11-16 16:54:06 +08:00
|
|
|
"axios": "^1.6.2",
|
|
|
|
"dayjs": "^1.11.10",
|
2023-04-05 15:59:13 +08:00
|
|
|
"echarts": "5.1.2",
|
2022-06-24 16:57:15 +08:00
|
|
|
"lodash": "^4.17.21",
|
2021-11-26 11:32:16 +08:00
|
|
|
"nprogress": "^0.2.0",
|
2023-11-16 16:54:06 +08:00
|
|
|
"pinia": "^2.1.7",
|
2023-07-28 13:34:43 +08:00
|
|
|
"pinia-plugin-persistedstate": "^3.2.0",
|
2023-11-16 16:54:06 +08:00
|
|
|
"qrcode.vue": "^3.4.1",
|
2023-07-06 12:01:08 +08:00
|
|
|
"qs": "^6.11.2",
|
2023-11-16 16:54:06 +08:00
|
|
|
"tdesign-icons-vue-next": "^0.2.2",
|
|
|
|
"tdesign-vue-next": "^1.6.8",
|
2023-05-23 13:04:45 +08:00
|
|
|
"tvision-color": "^1.6.0",
|
2024-01-02 11:10:23 +08:00
|
|
|
"vue": "~3.3.8",
|
2023-11-16 16:54:06 +08:00
|
|
|
"vue-i18n": "^9.6.5",
|
2023-07-28 13:34:43 +08:00
|
|
|
"vue-router": "~4.2.4"
|
2021-11-26 11:32:16 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-11-16 16:54:06 +08:00
|
|
|
"@commitlint/cli": "^18.4.1",
|
|
|
|
"@commitlint/config-conventional": "^18.4.0",
|
|
|
|
"@types/echarts": "^4.9.21",
|
|
|
|
"@types/lodash": "^4.14.201",
|
|
|
|
"@types/nprogress": "^0.2.3",
|
|
|
|
"@types/qs": "^6.9.10",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
|
|
"@vitejs/plugin-vue": "^4.4.1",
|
|
|
|
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
|
|
|
"@vue/compiler-sfc": "^3.3.8",
|
|
|
|
"@vue/eslint-config-typescript": "^12.0.0",
|
2023-07-06 12:01:08 +08:00
|
|
|
"commitizen": "^4.3.0",
|
2022-04-06 17:27:30 +08:00
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2023-11-16 16:54:06 +08:00
|
|
|
"eslint": "^8.53.0",
|
2021-11-26 11:32:16 +08:00
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
2023-11-16 16:54:06 +08:00
|
|
|
"eslint-config-prettier": "^9.0.0",
|
|
|
|
"eslint-plugin-import": "^2.29.0",
|
|
|
|
"eslint-plugin-prettier": "^5.0.1",
|
2023-07-29 17:38:03 +08:00
|
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
2023-11-16 16:54:06 +08:00
|
|
|
"eslint-plugin-vue": "^9.18.1",
|
|
|
|
"eslint-plugin-vue-scoped-css": "^2.5.1",
|
2023-07-06 12:01:08 +08:00
|
|
|
"husky": "^8.0.3",
|
2023-11-16 16:54:06 +08:00
|
|
|
"less": "^4.2.0",
|
|
|
|
"lint-staged": "^15.1.0",
|
2021-11-26 11:32:16 +08:00
|
|
|
"mockjs": "^1.1.0",
|
2023-02-01 15:37:47 +08:00
|
|
|
"postcss-html": "^1.5.0",
|
|
|
|
"postcss-less": "^6.0.0",
|
2023-11-16 16:54:06 +08:00
|
|
|
"prettier": "^3.1.0",
|
|
|
|
"stylelint": "~15.11.0",
|
2023-07-11 16:38:05 +08:00
|
|
|
"stylelint-config-standard": "^34.0.0",
|
2023-07-06 12:01:08 +08:00
|
|
|
"stylelint-order": "~6.0.3",
|
2023-12-05 11:49:06 +08:00
|
|
|
"typescript": "~5.3.2",
|
2023-11-16 16:54:06 +08:00
|
|
|
"vite": "^4.5.0",
|
2023-07-06 12:01:08 +08:00
|
|
|
"vite-plugin-mock": "^3.0.0",
|
2023-01-16 18:54:21 +08:00
|
|
|
"vite-svg-loader": "^4.0.0",
|
2023-11-16 16:54:06 +08:00
|
|
|
"vue-tsc": "^1.8.22"
|
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",
|
2023-05-19 10:47:10 +08:00
|
|
|
"npm run lint:fix"
|
2021-11-26 11:32:16 +08:00
|
|
|
],
|
2023-07-11 19:17:46 +08:00
|
|
|
"*.{html,vue,css,sass,less}": [
|
2023-05-19 10:47:10 +08:00
|
|
|
"npm run stylelint:fix"
|
2021-11-26 11:32:16 +08:00
|
|
|
]
|
2023-09-22 18:27:47 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=16.0.0"
|
2021-11-26 11:32:16 +08:00
|
|
|
}
|
2023-12-05 11:48:40 +08:00
|
|
|
}
|