2021-11-26 11:32:16 +08:00
|
|
|
{
|
2023-05-19 11:39:50 +08:00
|
|
|
"name": "@tencent/tdesign-vue-next-starter",
|
2024-11-06 12:41:06 +08:00
|
|
|
"version": "0.11.0",
|
2024-02-13 18:55:31 +08:00
|
|
|
"type": "module",
|
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",
|
2024-02-18 11:10:42 +08:00
|
|
|
"build:type": "vue-tsc --noEmit",
|
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}",
|
2024-08-29 02:21:39 +08:00
|
|
|
"prepare": "husky",
|
2022-02-14 15:19:15 +08:00
|
|
|
"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": {
|
2024-09-04 01:19:25 +08:00
|
|
|
"@vueuse/core": "^11.0.3",
|
|
|
|
"axios": "^1.7.7",
|
|
|
|
"dayjs": "^1.11.13",
|
2024-02-13 18:55:31 +08:00
|
|
|
"echarts": "5.4.3",
|
2022-06-24 16:57:15 +08:00
|
|
|
"lodash": "^4.17.21",
|
2021-11-26 11:32:16 +08:00
|
|
|
"nprogress": "^0.2.0",
|
2024-08-29 02:21:39 +08:00
|
|
|
"pinia": "^2.2.2",
|
2024-09-04 01:19:25 +08:00
|
|
|
"pinia-plugin-persistedstate": "^3.2.3",
|
2023-11-16 16:54:06 +08:00
|
|
|
"qrcode.vue": "^3.4.1",
|
2024-08-29 02:21:39 +08:00
|
|
|
"qs": "^6.13.0",
|
2024-09-04 01:19:25 +08:00
|
|
|
"tdesign-icons-vue-next": "^0.2.6",
|
2024-12-11 11:43:20 +08:00
|
|
|
"tdesign-vue-next": "^1.10.5",
|
2023-05-23 13:04:45 +08:00
|
|
|
"tvision-color": "^1.6.0",
|
2024-12-11 11:43:20 +08:00
|
|
|
"vue": "^3.5.0",
|
2024-09-04 01:19:25 +08:00
|
|
|
"vue-router": "^4.4.3"
|
2021-11-26 11:32:16 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-08-29 02:21:39 +08:00
|
|
|
"@commitlint/cli": "^19.4.0",
|
|
|
|
"@commitlint/config-conventional": "^19.2.2",
|
|
|
|
"@types/lodash": "^4.17.7",
|
2024-12-17 00:54:27 +08:00
|
|
|
"@types/echarts": "^4.9.22",
|
2023-11-16 16:54:06 +08:00
|
|
|
"@types/nprogress": "^0.2.3",
|
2024-08-29 02:21:39 +08:00
|
|
|
"@types/qs": "^6.9.15",
|
2024-02-13 18:55:31 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
|
|
"@typescript-eslint/parser": "^6.21.0",
|
2024-09-04 01:19:25 +08:00
|
|
|
"@vitejs/plugin-vue": "^5.1.3",
|
2024-08-29 02:21:39 +08:00
|
|
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
2024-09-04 01:19:25 +08:00
|
|
|
"@vue/compiler-sfc": "~3.5.0",
|
2023-11-16 16:54:06 +08:00
|
|
|
"@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",
|
2024-02-13 18:55:31 +08:00
|
|
|
"eslint": "^8.56.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",
|
2024-02-13 18:55:31 +08:00
|
|
|
"eslint-plugin-import": "^2.29.1",
|
|
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
|
|
"eslint-plugin-simple-import-sort": "^12.0.0",
|
|
|
|
"eslint-plugin-vue": "^9.21.1",
|
|
|
|
"eslint-plugin-vue-scoped-css": "^2.7.2",
|
2024-09-04 01:19:25 +08:00
|
|
|
"husky": "^9.1.5",
|
2023-11-16 16:54:06 +08:00
|
|
|
"less": "^4.2.0",
|
2024-08-29 02:21:39 +08:00
|
|
|
"lint-staged": "^15.2.9",
|
2021-11-26 11:32:16 +08:00
|
|
|
"mockjs": "^1.1.0",
|
2024-05-12 22:11:04 +08:00
|
|
|
"@types/mockjs": "^1.0.10",
|
2024-08-29 02:21:39 +08:00
|
|
|
"postcss-html": "^1.7.0",
|
2023-02-01 15:37:47 +08:00
|
|
|
"postcss-less": "^6.0.0",
|
2024-08-29 02:21:39 +08:00
|
|
|
"prettier": "^3.3.3",
|
|
|
|
"stylelint": "~16.8.2",
|
|
|
|
"stylelint-config-standard": "^36.0.1",
|
2024-02-13 18:55:31 +08:00
|
|
|
"stylelint-order": "~6.0.4",
|
2024-08-29 02:21:39 +08:00
|
|
|
"typescript": "~5.5.4",
|
2024-09-04 01:19:25 +08:00
|
|
|
"vite": "^5.4.3",
|
2024-02-13 18:55:31 +08:00
|
|
|
"vite-plugin-mock": "^3.0.1",
|
|
|
|
"vite-svg-loader": "^5.1.0",
|
2024-09-04 01:19:25 +08:00
|
|
|
"vue-tsc": "^2.1.4"
|
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": {
|
2024-02-13 18:55:31 +08:00
|
|
|
"node": ">=18.0.0"
|
2021-11-26 11:32:16 +08:00
|
|
|
}
|
2024-02-13 18:55:31 +08:00
|
|
|
}
|