Files
vue-ts-example/package.json
mini2024 b0cd8b7c61
All checks were successful
/ playwright (push) Successful in 1m27s
/ depcheck (push) Successful in 1m38s
/ build-and-deploy-to-vercel (push) Successful in 2m44s
feat: 添加 eslint-plugin-perfectionist 插件,优化导入排序规则
2025-01-21 23:05:11 +08:00

132 lines
4.0 KiB
JSON

{
"packageManager": "pnpm@9.15.4",
"name": "vue-ts-example",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite --port 4730",
"all": "run-p build-only format type-check lint",
"build": "run-p type-check \"build-only {@}\" --",
"build-only": "vite build",
"format": "prettier --write src/",
"type-check": "vue-tsc --build",
"lint": "run-s lint:*",
"lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
"lint:eslint": "eslint . --fix",
"prepare": "husky",
"playwright": "playwright test",
"playwright:ui": "playwright test --ui",
"playwright:chromium": "playwright test --project=chromium",
"dep:dedupe": "pnpm dedupe",
"dep:update": "taze major -I",
"sizecheck:Treemap": "npx vite-bundle-visualizer -t treemap",
"sizecheck:Sunburst": "npx vite-bundle-visualizer -t sunburst",
"sizecheck:Network": "npx vite-bundle-visualizer -t network"
},
"lint-staged": {
"src/**/*.{js,ts,vue}": [
"prettier --write",
"eslint --fix"
]
},
"pnpm": {
"overrides": {
"vite": "$vite",
"vue-tsc": "$vue-tsc"
}
},
"dependencies": {
"@alova/adapter-axios": "^2.0.12",
"@formkit/auto-animate": "^0.8.2",
"@intlify/unplugin-vue-i18n": "^6.0.3",
"@pinia/colada": "^0.13.2",
"@primevue/themes": "^4.2.5",
"@unhead/vue": "^1.11.18",
"@vant/use": "^1.6.0",
"@vueuse/core": "^12.4.0",
"alova": "^3.2.8",
"axios": "^1.7.9",
"consola": "^3.4.0",
"dayjs": "^1.11.13",
"deep-freeze-es6": "^4.0.0",
"jsencrypt": "^3.3.2",
"mitt": "^3.0.1",
"nprogress": "^0.2.0",
"page-stack-vue3": "^2.5.6",
"pinia": "^2.3.1",
"pinia-plugin-persistedstate": "^4.2.0",
"primeicons": "^7.0.0",
"primelocale": "^1.4.0",
"primevue": "4.2.6-fix.202501030724",
"radash": "^12.1.0",
"taze": "^0.18.0",
"tdesign-icons-vue-next": "^0.3.4",
"ts-enum-util": "^4.1.0",
"utils4u": "^3.3.0",
"vant": "^4.9.16",
"vite-plugin-webfont-dl": "^3.10.3",
"vue": "^3.5.13",
"vue-i18n": "11.0.1",
"vue-page-stack": "^3.2.0",
"vue-router": "^4.5.0"
},
"devDependencies": {
"@eslint/compat": "^1.2.5",
"@faker-js/faker": "^9.4.0",
"@iconify-json/carbon": "^1.2.5",
"@iconify/utils": "^2.2.1",
"@playwright/test": "^1.49.1",
"@primevue/auto-import-resolver": "^4.2.5",
"@tsconfig/node22": "^22.0.0",
"@types/jsdom": "^21.1.7",
"@types/mockjs": "^1.0.10",
"@types/node": "^22.10.5",
"@types/nprogress": "^0.2.3",
"@unocss/preset-rem-to-px": "^0.65.3",
"@vant/auto-import-resolver": "^1.2.1",
"@vitejs/plugin-vue": "^5.2.1",
"@vitejs/plugin-vue-jsx": "^4.1.1",
"@vitest/eslint-plugin": "^1.1.25",
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.3.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.7.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"depcheck": "^1.4.7",
"eruda": "^3.4.1",
"eslint": "^9.18.0",
"eslint-plugin-oxlint": "^0.15.5",
"eslint-plugin-perfectionist": "^4.7.0",
"eslint-plugin-vue": "^9.32.0",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
"less": "^4.2.2",
"lint-staged": "^15.4.1",
"mockjs": "^1.1.0",
"npm-run-all2": "^7.0.2",
"oxlint": "^0.15.5",
"prettier": "^3.4.2",
"sass-embedded": "^1.83.4",
"surge": "^0.24.6",
"terser": "^5.37.0",
"typescript": "~5.7.2",
"unocss": "^0.65.3",
"unplugin-auto-import": "^0.19.0",
"unplugin-icons": "^0.22.0",
"unplugin-vue-components": "^0.28.0",
"unplugin-vue-macros": "^2.13.10",
"unplugin-vue-markdown": "^0.28.0",
"unplugin-vue-router": "^0.10.9",
"vercel": "^39.3.0",
"vite": "^6.0.7",
"vite-plugin-cdn-import": "^1.0.1",
"vite-plugin-fake-server": "^2.1.5",
"vite-plugin-vue-devtools": "^7.7.0",
"vite-plugin-vue-layouts": "^0.11.0",
"vite-plugin-vue-meta-layouts": "^0.5.1",
"vue-tsc": "^2.2.0"
}
}