mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 07:28:24 +08:00
85 lines
2.6 KiB
JSON
85 lines
2.6 KiB
JSON
{
|
|
"name": "tdesign-vue-next-starter",
|
|
"version": "0.3.0",
|
|
"scripts": {
|
|
"dev:mock": "vite --open --mode mock",
|
|
"dev": "vite --open --mode development",
|
|
"dev:linux": "vite --mode development",
|
|
"build:test": "vite build --mode test",
|
|
"build": "vue-tsc --noEmit && vite build --mode release",
|
|
"preview": "vite preview",
|
|
"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}",
|
|
"stylelint:fix": "stylelint --fix src/**/*.{html,vue,vss,sass,less}",
|
|
"prepare": "husky install",
|
|
"site:preview": "npm run build && cp -r dist _site",
|
|
"test": "echo \"no test specified,work in process\"",
|
|
"test:coverage": "echo \"no test:coverage specified,work in process\""
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.27.2",
|
|
"dayjs": "^1.10.6",
|
|
"echarts": "~5.1.2",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^2.0.11",
|
|
"qrcode.vue": "^3.2.2",
|
|
"tdesign-icons-vue-next": "^0.0.6",
|
|
"tdesign-vue-next": "^0.15.4",
|
|
"tvision-color": "^1.3.1",
|
|
"vue": "^3.2.31",
|
|
"vue-clipboard3": "^2.0.0",
|
|
"vue-router": "^4.0.11"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^16.2.1",
|
|
"@commitlint/config-conventional": "^16.2.1",
|
|
"@types/echarts": "^4.9.10",
|
|
"@types/ws": "^8.2.2",
|
|
"@typescript-eslint/eslint-plugin": "^4.29.3",
|
|
"@typescript-eslint/parser": "^4.29.3",
|
|
"@vitejs/plugin-vue": "^2.3.1",
|
|
"@vitejs/plugin-vue-jsx": "^1.1.7",
|
|
"@vue/compiler-sfc": "^3.0.5",
|
|
"commitizen": "^4.2.4",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"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",
|
|
"eslint-plugin-vue": "^7.16.0",
|
|
"eslint-plugin-vue-scoped-css": "^2.2.0",
|
|
"husky": "^7.0.4",
|
|
"less": "^4.1.1",
|
|
"lint-staged": "^12.1.2",
|
|
"mockjs": "^1.1.0",
|
|
"prettier": "^2.4.1",
|
|
"stylelint": "^13.13.1",
|
|
"stylelint-config-prettier": "^9.0.3",
|
|
"stylelint-less": "^1.0.1",
|
|
"stylelint-order": "^4.1.0",
|
|
"typescript": "^4.4.3",
|
|
"vite": "^2.7.1",
|
|
"vite-plugin-mock": "^2.9.6",
|
|
"vite-svg-loader": "^3.1.0",
|
|
"vue-tsc": "^0.34.11"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,vue,ts,tsx}": [
|
|
"prettier --write",
|
|
"npm run lint:fix",
|
|
"git add ."
|
|
],
|
|
"*.{html,vue,vss,sass,less}": [
|
|
"npm run stylelint:fix",
|
|
"git add ."
|
|
]
|
|
}
|
|
}
|