Files
kaidi/frontend/package.json
T
2026-08-17 14:08:40 +08:00

109 lines
3.4 KiB
JSON

{
"name": "kaidi-finance-frontend",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite --open --mode development",
"dev:linux": "vite --mode development",
"build:test": "vite build --mode test",
"build": "vue-tsc --noEmit && vite build --mode release && npm run check:dist",
"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": "vitest run",
"test:e2e": "playwright test",
"test:a11y": "playwright test e2e/accessibility.e2e.ts",
"audit:dependencies": "npm audit --audit-level=high --registry=https://registry.npmjs.org",
"check:production": "node scripts/check-production-hygiene.mjs",
"check:dist": "node scripts/check-production-hygiene.mjs --dist",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@vueuse/core": "^14.3.0",
"axios": "^1.19.0",
"dayjs": "^1.11.21",
"decimal.js": "10.6.0",
"echarts": "^6.1.0",
"lightningcss": "^1.32.0",
"lodash": "^4.18.1",
"nprogress": "^0.2.0",
"pinia": "^3.0.4",
"pinia-plugin-persistedstate": "^4.7.1",
"qs": "^6.15.3",
"tdesign-icons-vue-next": "^0.4.4",
"tdesign-vue-next": "^1.20.2",
"tvision-color": "^1.6.0",
"vue": "^3.5.39",
"vue-i18n": "^11.4.6",
"vue-router": "^5.1.0"
},
"devDependencies": {
"@antfu/eslint-config": "^9.1.0",
"@axe-core/playwright": "^4.13.0",
"@commitlint/cli": "^21.1.0",
"@commitlint/config-conventional": "^21.1.0",
"@playwright/test": "^1.62.1",
"@types/lodash": "^4.17.24",
"@types/node": "^25.9.4",
"@types/nprogress": "^0.2.3",
"@types/qs": "^6.15.1",
"@vitejs/plugin-vue": "^6.0.7",
"@vitejs/plugin-vue-jsx": "^5.1.6",
"@vitest/coverage-v8": "^4.1.10",
"@vue/compiler-sfc": "~3.5.39",
"commitizen": "^4.3.2",
"cz-conventional-changelog": "^3.3.0",
"esbuild": "^0.28.1",
"eslint": "^10.5.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.1",
"globals": "^17.7.0",
"husky": "^9.1.7",
"less": "^4.9.0",
"lint-staged": "^17.0.8",
"postcss-html": "^1.8.1",
"postcss-less": "^6.0.0",
"prettier": "^3.8.5",
"stylelint": "~17.11.1",
"stylelint-config-standard": "^40.0.0",
"stylelint-order": "~8.1.1",
"typescript": "~6.0.3",
"typescript-eslint": "^8.62.0",
"vite": "^8.1.5",
"vite-svg-loader": "^5.1.1",
"vitest": "^4.1.10",
"vue-tsc": "^3.3.6"
},
"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"
]
},
"overrides": {
"@babel/runtime-corejs3": "7.29.7",
"defu": "6.1.7",
"form-data": "4.0.6",
"nanoid": "3.3.18"
},
"engines": {
"node": ">=22.12.0"
}
}