Files
vue-ts-example/package.json
2024-08-27 17:40:17 +08:00

95 lines
2.7 KiB
JSON

{
"name": "vue-ts",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"test:unit": "vitest",
"build-only": "vite build",
"type-check": "vue-tsc --build --force",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/",
"prepare": "husky",
"dev+preview": "bunx dev-and-preview@1.0.0"
},
"dependencies": {
"@alova/adapter-axios": "^2.0.5",
"@unhead/vue": "^1.10.0",
"@vant/use": "^1.6.0",
"alova": "^3.0.12",
"axios": "^1.7.5",
"dayjs": "^1.11.13",
"jsencrypt": "^3.3.2",
"mitt": "^3.0.1",
"nprogress": "^0.2.0",
"page-stack-vue3": "^2.5.6",
"pinia": "^2.2.2",
"pinia-plugin-persistedstate": "^3.2.1",
"radash": "^12.1.0",
"tdesign-icons-vue-next": "^0.2.4",
"tdesign-mobile-vue": "^1.3.4",
"ts-enum-util": "^4.1.0",
"utils4u": "^2.3.0",
"vant": "^4.9.4",
"vue": "^3.4.38",
"vue-page-stack": "^3.2.0",
"vue-router": "^4.4.3"
},
"devDependencies": {
"@iconify-json/carbon": "^1.1.37",
"@iconify/utils": "^2.1.32",
"@rushstack/eslint-patch": "^1.10.4",
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.5.0",
"@types/nprogress": "^0.2.3",
"@unocss/preset-attributify": "^0.62.3",
"@unocss/preset-rem-to-px": "^0.62.3",
"@unocss/reset": "^0.62.3",
"@vant/auto-import-resolver": "^1.2.1",
"@vitejs/plugin-vue": "^5.1.2",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@vue-macros/reactivity-transform": "^1.0.3",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"eruda": "^3.2.3",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.27.0",
"husky": "^9.1.5",
"jsdom": "^25.0.0",
"less": "^4.2.0",
"lint-staged": "^15.2.9",
"npm-run-all2": "^6.2.2",
"prettier": "^3.3.3",
"rollup": "^4.21.0",
"typescript": "~5.5.4",
"unocss": "^0.62.3",
"unplugin-auto-import": "^0.18.2",
"unplugin-icons": "^0.19.2",
"unplugin-vue-components": "^0.27.4",
"unplugin-vue-macros": "^2.11.6",
"unplugin-vue-markdown": "^0.26.2",
"unplugin-vue-router": "^0.10.7",
"vite": "^5.4.2",
"vite-plugin-cdn-import": "^1.0.1",
"vite-plugin-vue-devtools": "^7.3.9",
"vitest": "^2.0.5",
"vue-tsc": "^2.0.29"
},
"pnpm": {
"patchedDependencies": {
"vue-router@4.4.3": "patches/vue-router@4.4.3.patch"
}
},
"lint-staged": {
"src/**/*.{js,ts,vue}": [
"prettier --write",
"eslint --fix"
]
}
}