2021-11-26 11:32:16 +08:00
|
|
|
{
|
|
|
|
"name": "tdesign-vue-next-starter",
|
2022-04-28 16:37:48 +08:00
|
|
|
"version": "0.3.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",
|
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",
|
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": {
|
2022-05-05 15:34:00 +08:00
|
|
|
"axios": "^0.27.2",
|
2021-11-26 11:32:16 +08:00
|
|
|
"dayjs": "^1.10.6",
|
2021-12-22 12:07:29 +08:00
|
|
|
"echarts": "~5.1.2",
|
2021-11-26 11:32:16 +08:00
|
|
|
"nprogress": "^0.2.0",
|
2022-03-01 17:32:09 +08:00
|
|
|
"pinia": "^2.0.11",
|
2021-11-26 11:32:16 +08:00
|
|
|
"qrcode.vue": "^3.2.2",
|
2022-01-19 18:15:33 +08:00
|
|
|
"tdesign-icons-vue-next": "^0.0.6",
|
2022-06-01 18:18:03 +08:00
|
|
|
"tdesign-vue-next": "^0.15.4",
|
2021-12-22 12:07:29 +08:00
|
|
|
"tvision-color": "^1.3.1",
|
2022-02-16 20:22:02 +08:00
|
|
|
"vue": "^3.2.31",
|
2022-04-27 02:06:14 +08:00
|
|
|
"vue-clipboard3": "^2.0.0",
|
|
|
|
"vue-router": "^4.0.11"
|
2021-11-26 11:32:16 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-04-06 17:27:30 +08:00
|
|
|
"@commitlint/cli": "^16.2.1",
|
|
|
|
"@commitlint/config-conventional": "^16.2.1",
|
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",
|
2022-04-06 17:27:30 +08:00
|
|
|
"@vitejs/plugin-vue": "^2.3.1",
|
2021-11-26 11:32:16 +08:00
|
|
|
"@vitejs/plugin-vue-jsx": "^1.1.7",
|
|
|
|
"@vue/compiler-sfc": "^3.0.5",
|
|
|
|
"commitizen": "^4.2.4",
|
2022-04-06 17:27:30 +08:00
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2021-11-26 11:32:16 +08:00
|
|
|
"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",
|
2022-04-30 23:16:41 +08:00
|
|
|
"eslint-plugin-vue-scoped-css": "^2.2.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",
|
2022-05-10 23:44:39 +08:00
|
|
|
"vue-tsc": "^0.34.11"
|
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-16 20:22:02 +08:00
|
|
|
}
|