115 lines
3.1 KiB
JSON
115 lines
3.1 KiB
JSON
{
|
|
"name": "tov-template",
|
|
"version": "1.10.3",
|
|
"description": "vite + vue3 + ts 开箱即用现代开发模板",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"test": "vitest",
|
|
"build": "vite build",
|
|
"prepare": "husky install",
|
|
"dev:host": "vite --host",
|
|
"dev:open": "vite --open",
|
|
"preview": "vite preview",
|
|
"deps:fresh": "npx taze -w",
|
|
"coverage": "vitest --coverage",
|
|
"analysis": "npx windicss-analysis",
|
|
"typecheck": "npx vue-tsc --noEmit",
|
|
"deps:fresh:major": "npx taze major -w",
|
|
"deps:fresh:minor": "npx taze minor -w",
|
|
"deps:fresh:patch": "npx taze patch -w",
|
|
"preview:host": "vite preview --host",
|
|
"preview:open": "vite preview --open",
|
|
"release": "bumpp --commit --push --tag",
|
|
"lint": "eslint --ext .ts,.js,.jsx,.vue .",
|
|
"lint:fix": "eslint --fix --ext .ts,.js,.jsx,.vue .",
|
|
"auto:create": "plop --plopfile scripts/create.cjs",
|
|
"auto:remove": "plop --plopfile scripts/remove.cjs",
|
|
"analysis:build": "npx windicss-analysis --html dist"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"devDependencies": {
|
|
"@intlify/unplugin-vue-i18n": "^0.10.0",
|
|
"@types/ityped": "^1.0.1",
|
|
"@types/node": "^18.18.7",
|
|
"@typescript-eslint/parser": "^5.57.0",
|
|
"@vitejs/plugin-vue": "^4.1.0",
|
|
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
|
"@vue/compiler-sfc": "^3.3.7",
|
|
"@vue/runtime-core": "^3.2.47",
|
|
"@vueuse/core": "^9.13.0",
|
|
"@vueuse/integrations": "^9.13.0",
|
|
"bumpp": "^9.1.0",
|
|
"c8": "^7.13.0",
|
|
"eslint": "^8.37.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-vue": "^9.10.0",
|
|
"fast-glob": "^3.2.12",
|
|
"fs-extra": "^11.1.1",
|
|
"happy-dom": "^8.9.0",
|
|
"husky": "^8.0.3",
|
|
"ityped": "^1.0.3",
|
|
"lint-staged": "^13.2.0",
|
|
"local-pkg": "^0.4.3",
|
|
"markdown-it": "^13.0.1",
|
|
"markdown-it-anchor": "^8.6.7",
|
|
"markdown-it-prism": "^2.3.0",
|
|
"mockjs": "^1.1.0",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^2.0.33",
|
|
"pinia-plugin-persistedstate": "^3.1.0",
|
|
"plop": "^3.1.2",
|
|
"prettier": "^2.8.7",
|
|
"prism-theme-vars": "^0.2.4",
|
|
"prismjs": "^1.29.0",
|
|
"typescript": "^5.0.3",
|
|
"unplugin-auto-import": "^0.15.2",
|
|
"unplugin-icons": "^0.16.1",
|
|
"unplugin-vue-components": "^0.24.1",
|
|
"unplugin-vue-macros": "^1.11.2",
|
|
"unplugin-vue-router": "^0.5.4",
|
|
"vite": "^4.5.0",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vite-plugin-inspect": "^0.7.18",
|
|
"vite-plugin-md": "^0.22.5",
|
|
"vite-plugin-mock": "^2.9.6",
|
|
"vite-plugin-removelog": "^0.2.1",
|
|
"vite-plugin-use-modules": "^1.3.1",
|
|
"vite-plugin-vue-meta-layouts": "^0.2.2",
|
|
"vite-plugin-windicss": "^1.8.10",
|
|
"vitest": "^0.29.8",
|
|
"vue": "^3.2.47",
|
|
"vue-i18n": "^9.2.2",
|
|
"vue-request": "^1.2.4",
|
|
"vue-router": "^4.1.6",
|
|
"windicss": "^3.5.6"
|
|
},
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"fp-ts",
|
|
"rollup",
|
|
"markdown-it",
|
|
"inferred-types",
|
|
"@types/markdown-it",
|
|
"@rollup/pluginutils",
|
|
"@yankeeinlondon/builder-api",
|
|
"@yankeeinlondon/happy-wrapper"
|
|
]
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,vue}": "eslint --cache --fix"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.1.0",
|
|
"axios": "^1.3.5",
|
|
"echarts": "^5.4.2",
|
|
"element-plus": "^2.3.4",
|
|
"xlsx": "^0.18.5"
|
|
}
|
|
}
|