vue-h5-template/package.json
2026-09-03 15:24:37 +00:00

161 lines
4.6 KiB
JSON

{
"name": "vue-h5-template",
"version": "2.1.0",
"private": true,
"type": "module",
"packageManager": "pnpm@9.15.9",
"scripts": {
"dev": "vite",
"dev:integration": "vite --mode integration",
"build": "vite build",
"preview": "vite preview",
"test": "vitest run",
"test:unit": "vitest run",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"lint": "pnpm lint:code && pnpm lint:styles",
"lint:code": "oxlint",
"lint:styles": "stylelint --cache \"src/**/*.{vue,scss,css}\" --cache-location node_modules/.cache/stylelint/",
"lint:fix": "oxlint --fix && pnpm lint:styles --fix",
"typecheck": "vue-tsc --build",
"check": "pnpm lint && pnpm typecheck && pnpm test && pnpm build",
"api:generate": "openapi-typescript openapi/schema.yaml -o src/types/api/generated.d.ts && oxfmt --write src/types/api/generated.d.ts",
"clean": "rm -rf dist",
"format": "oxfmt --write .",
"format:check": "oxfmt --check .",
"lint:lint-staged": "lint-staged",
"prepare": "husky",
"deps": "pnpm up -i",
"commit": "git add . && git-cz"
},
"dependencies": {
"@nutui/nutui": "^4.3.13",
"@tanstack/vue-query": "^5.102.8",
"@varlet/ui": "^3.20.6",
"axios": "1.20.0",
"dompurify": "^3.4.14",
"markdown-it": "^15.0.0",
"pinia": "^3.0.4",
"pinia-plugin-persistedstate": "^4.7.1",
"vant": "^4.10.0",
"vue": "^3.5.42",
"vue-i18n": "^11.4.10",
"vue-router": "^4.6.4"
},
"devDependencies": {
"@commitlint/cli": "^20.5.2",
"@commitlint/config-conventional": "^20.5.0",
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
"@nutui/auto-import-resolver": "^1.0.0",
"@playwright/test": "^1.62.1",
"@stylistic/stylelint-plugin": "^4.0.1",
"@tsconfig/node22": "^22.0.5",
"@types/jsdom": "^21.1.7",
"@types/markdown-it": "^14.2.0",
"@types/node": "^24.12.2",
"@vant/auto-import-resolver": "^1.3.0",
"@varlet/import-resolver": "^3.20.6",
"@vitejs/plugin-basic-ssl": "^2.3.0",
"@vitejs/plugin-vue": "^6.0.8",
"@vitejs/plugin-vue-jsx": "^5.1.6",
"@vitest/coverage-v8": "^4.1.11",
"@vue/test-utils": "^2.5.0",
"@vue/tsconfig": "^0.8.1",
"@zhaojjiang/vite-plugin-eruda": "^0.0.5",
"autoprefixer": "^10.5.4",
"cz-git": "^1.13.0",
"czg": "^1.13.0",
"eruda": "^3.4.1",
"esbuild": "^0.28.0",
"eslint-plugin-command": "^3.5.3",
"git-cz": "^4.9.0",
"husky": "9.1.7",
"jsdom": "^27.4.0",
"lint-staged": "16.2.7",
"openapi-typescript": "^7.13.0",
"oxfmt": "^0.61.0",
"oxlint": "^1.76.0",
"postcss": "8.5.26",
"postcss-html": "1.8.1",
"postcss-scss": "^4.0.9",
"rollup-plugin-visualizer": "^6.0.11",
"sharp": "^0.35.4",
"stylelint": "^16.26.1",
"stylelint-config-recess-order": "^7.7.0",
"stylelint-config-recommended": "^17.0.0",
"stylelint-config-recommended-scss": "^16.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^39.0.1",
"stylelint-order": "^7.0.1",
"stylelint-scss": "^6.14.0",
"svgo": "^4.1.0",
"typescript": "5.9.3",
"unplugin-auto-import": "^21.1.0",
"unplugin-vue-components": "^32.1.0",
"vite": "^8.2.2",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-image-optimizer": "^2.0.3",
"vite-plugin-mock": "^3.0.2",
"vite-plugin-progress": "^0.0.7",
"vite-plugin-pwa": "^1.2.0",
"vite-plugin-svg-icons": "^2.0.1",
"vitest": "^4.1.11",
"vue-tsc": "^3.3.11"
},
"engines": {
"node": ">=22.12.0",
"pnpm": ">=9.12.0"
},
"browserslist": [
"iOS >= 15",
"Android >= 8",
"Chrome >= 80"
],
"pnpm": {
"overrides": {
"axios": "1.20.0",
"brace-expansion@>=2 <3": "2.1.4",
"brace-expansion@>=5 <6": "5.0.9",
"defu": "6.1.5",
"esbuild": "0.28.2",
"js-cookie": "3.0.7",
"js-yaml": "4.3.1",
"lodash": "4.18.0",
"picomatch@<3": "2.3.2",
"picomatch@>=4 <5": "4.0.4",
"postcss": "8.5.26",
"qs": "6.15.2",
"uuid": "13.0.1"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mts,cts}": [
"oxlint --fix",
"oxfmt --write"
],
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
"oxfmt --write"
],
"package.json": [
"oxfmt --write"
],
"*.vue": [
"oxlint --fix",
"oxfmt --write",
"stylelint --fix"
],
"*.{scss,less,styl,html}": [
"stylelint --fix",
"oxfmt --write"
],
"*.md": [
"oxfmt --write"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
}
}