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-06-27 11:03:07 +08:00
|
|
|
"axios": "^1.4.0",
|
2023-07-06 12:01:08 +08:00
|
|
|
"dayjs": "^1.11.9",
|
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-07-28 13:34:43 +08:00
|
|
|
"pinia": "^2.1.6",
|
|
|
|
"pinia-plugin-persistedstate": "^3.2.0",
|
2023-07-06 12:01:08 +08:00
|
|
|
"qrcode.vue": "^3.4.0",
|
|
|
|
"qs": "^6.11.2",
|
2023-08-18 16:15:26 +08:00
|
|
|
"tdesign-icons-vue-next": "^0.2.0",
|
2023-10-13 12:04:59 +08:00
|
|
|
"tdesign-vue-next": "^1.6.2",
|
2023-05-23 13:04:45 +08:00
|
|
|
"tvision-color": "^1.6.0",
|
2023-06-27 11:03:07 +08:00
|
|
|
"vue": "^3.3.4",
|
2022-04-27 02:06:14 +08:00
|
|
|
"vue-clipboard3": "^2.0.0",
|
2023-10-03 13:48:35 +08:00
|
|
|
"vue-i18n": "^9.4.1",
|
2023-07-28 13:34:43 +08:00
|
|
|
"vue-router": "~4.2.4"
|
2021-11-26 11:32:16 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-28 13:34:43 +08:00
|
|
|
"@commitlint/cli": "^17.6.7",
|
|
|
|
"@commitlint/config-conventional": "^17.6.7",
|
2023-07-06 12:01:08 +08:00
|
|
|
"@types/echarts": "^4.9.18",
|
2023-07-28 13:34:43 +08:00
|
|
|
"@types/lodash": "^4.14.196",
|
2023-03-28 11:35:50 +08:00
|
|
|
"@types/nprogress": "^0.2.0",
|
2022-06-24 16:57:15 +08:00
|
|
|
"@types/qs": "^6.9.7",
|
2023-07-28 13:34:43 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
|
|
"@typescript-eslint/parser": "^5.62.0",
|
2023-07-06 12:01:08 +08:00
|
|
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
|
|
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
|
|
|
"@vue/compiler-sfc": "^3.3.4",
|
|
|
|
"@vue/eslint-config-typescript": "^11.0.3",
|
|
|
|
"commitizen": "^4.3.0",
|
2022-04-06 17:27:30 +08:00
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2023-07-28 13:34:43 +08:00
|
|
|
"eslint": "^8.45.0",
|
2021-11-26 11:32:16 +08:00
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
2023-07-28 13:34:43 +08:00
|
|
|
"eslint-config-prettier": "^8.9.0",
|
2023-08-02 13:49:56 +08:00
|
|
|
"eslint-plugin-import": "^2.28.0",
|
2023-01-16 18:54:21 +08:00
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
2023-07-29 17:38:03 +08:00
|
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
2023-07-06 12:01:08 +08:00
|
|
|
"eslint-plugin-vue": "^9.15.1",
|
|
|
|
"eslint-plugin-vue-scoped-css": "^2.5.0",
|
|
|
|
"husky": "^8.0.3",
|
2023-01-16 18:54:21 +08:00
|
|
|
"less": "^4.1.3",
|
2023-07-06 12:01:08 +08:00
|
|
|
"lint-staged": "^13.2.3",
|
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-07-06 12:01:08 +08:00
|
|
|
"prettier": "^2.8.8",
|
2023-07-28 13:34:43 +08:00
|
|
|
"stylelint": "~15.10.2",
|
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-07-05 15:24:26 +08:00
|
|
|
"typescript": "~5.1.6",
|
2023-07-28 13:34:43 +08:00
|
|
|
"vite": "^4.4.7",
|
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-07-28 13:34:43 +08:00
|
|
|
"vue-tsc": "^1.8.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",
|
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
|
|
|
}
|
2022-02-16 20:22:02 +08:00
|
|
|
}
|