106 lines
3.2 KiB
JSON
106 lines
3.2 KiB
JSON
{
|
|
"name": "@xiaohh/xiaohh-tdesign-ui",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": ""
|
|
},
|
|
"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",
|
|
"build:type": "vue-tsc --noEmit",
|
|
"build:site": "vue-tsc --noEmit && vite build --mode site",
|
|
"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,css,sass,less}",
|
|
"stylelint:fix": "stylelint --fix src/**/*.{html,vue,css,sass,less}",
|
|
"prepare": "husky",
|
|
"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\"",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check ."
|
|
},
|
|
"dependencies": {
|
|
"@vueuse/core": "^15.0.0",
|
|
"axios": "^1.20.0",
|
|
"dayjs": "^1.11.23",
|
|
"echarts": "^6.1.0",
|
|
"lightningcss": "^1.33.0",
|
|
"lodash": "^4.18.1",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^4.0.3",
|
|
"pinia-plugin-persistedstate": "^4.7.1",
|
|
"qs": "^6.16.0",
|
|
"tdesign-icons-vue-next": "^0.4.11",
|
|
"tdesign-vue-next": "^1.20.9",
|
|
"tvision-color": "^1.6.0",
|
|
"vue": "^3.5.43",
|
|
"vue-i18n": "^11.4.13",
|
|
"vue-router": "^5.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^9.5.1",
|
|
"@commitlint/cli": "^21.2.3",
|
|
"@commitlint/config-conventional": "^21.2.3",
|
|
"@types/echarts": "^4.9.22",
|
|
"@types/lodash": "^4.17.25",
|
|
"@types/mockjs": "^1.0.10",
|
|
"@types/node": "^24.19.1",
|
|
"@types/nprogress": "^0.2.3",
|
|
"@types/qs": "^6.15.1",
|
|
"@vitejs/plugin-vue": "^6.0.9",
|
|
"@vitejs/plugin-vue-jsx": "^5.1.6",
|
|
"@vue/compiler-sfc": "~3.5.42",
|
|
"commitizen": "^4.3.2",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"esbuild": "^0.28.2",
|
|
"eslint": "^10.12.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.6",
|
|
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
"eslint-plugin-vue-scoped-css": "^3.1.3",
|
|
"globals": "^17.13.0",
|
|
"husky": "^9.1.7",
|
|
"less": "^4.9.1",
|
|
"lint-staged": "^17.6.0",
|
|
"mockjs": "^1.1.0",
|
|
"postcss-html": "^2.0.0",
|
|
"postcss-less": "^6.0.0",
|
|
"prettier": "^3.9.9",
|
|
"rspack-resolver": "^1.3.0",
|
|
"stylelint": "~17.16.0",
|
|
"stylelint-config-standard": "^40.0.0",
|
|
"stylelint-order": "~8.1.1",
|
|
"typescript": "~6.0.3",
|
|
"typescript-eslint": "^8.71.1",
|
|
"vite": "^8.3.3",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vite-plugin-mock": "^3.0.2",
|
|
"vite-svg-loader": "^5.1.3",
|
|
"vue-tsc": "^3.3.12"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,vue,ts,tsx}": [
|
|
"prettier --write",
|
|
"npm run lint:fix"
|
|
],
|
|
"*.{html,vue,css,sass,less}": [
|
|
"npm run stylelint:fix"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=24.19.0"
|
|
}
|
|
}
|