136 lines
4.5 KiB
JSON
136 lines
4.5 KiB
JSON
{
|
|
"name": "tov-template",
|
|
"version": "1.19.0",
|
|
"description": "vite + vue3 + ts 开箱即用现代开发模板 | vite + vue3 + ts out-of-the-box modern development template",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"test": "vitest",
|
|
"build": "vite build",
|
|
"prepare": "husky install",
|
|
"dev:host": "vite --host",
|
|
"dev:open": "vite --open",
|
|
"preview": "vite preview",
|
|
"coverage": "vitest --coverage",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"typecheck": "npx vue-tsc --noEmit",
|
|
"preview:host": "vite preview --host",
|
|
"preview:open": "vite preview --open",
|
|
"lint": "eslint --ext .ts,.js,.jsx,.vue .",
|
|
"release": "plop --plopfile scripts/release.cjs",
|
|
"auto:remove": "plop --plopfile scripts/remove.cjs",
|
|
"auto:create": "plop --plopfile scripts/create.cjs",
|
|
"build:debug": "cross-env NODE_ENV=debug vite build",
|
|
"safe:init": "plop --plopfile scripts/safe-init.cjs",
|
|
"deps:fresh": "plop --plopfile scripts/deps-fresh.cjs",
|
|
"lint:fix": "eslint --fix --ext .ts,.js,.jsx,.vue,.cjs ."
|
|
},
|
|
"engines": {
|
|
"node": ">=20.12.2"
|
|
},
|
|
"packageManager": "pnpm@8.15.8",
|
|
"devDependencies": {
|
|
"@intlify/unplugin-vue-i18n": "^3.0.1",
|
|
"@types/ityped": "^1.0.3",
|
|
"@types/node": "^20.12.7",
|
|
"@typescript-eslint/parser": "7.8.0",
|
|
"@unocss/eslint-config": "0.59.4",
|
|
"@unocss/reset": "^0.59.4",
|
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
"@vueuse/components": "^10.9.0",
|
|
"@vueuse/core": "^10.9.0",
|
|
"@vueuse/integrations": "^10.9.0",
|
|
"axios": "^1.6.8",
|
|
"browserslist": "^4.23.0",
|
|
"c8": "^9.1.0",
|
|
"changelogen": "^0.5.5",
|
|
"consola": "^3.2.3",
|
|
"cross-env": "^7.0.3",
|
|
"defu": "^6.1.4",
|
|
"echarts": "^5.5.0",
|
|
"eslint": "8.57.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-prettier": "5.1.3",
|
|
"eslint-plugin-vue": "^9.25.0",
|
|
"fs-extra": "^11.2.0",
|
|
"husky": "^9.0.11",
|
|
"ityped": "^1.0.3",
|
|
"kolorist": "^1.8.0",
|
|
"lightningcss": "^1.24.1",
|
|
"lint-staged": "^15.2.2",
|
|
"local-pkg": "^0.5.0",
|
|
"markdown-it-prism": "^2.3.0",
|
|
"mockjs": "^1.1.0",
|
|
"nprogress": "^0.2.0",
|
|
"perfect-debounce": "^1.0.0",
|
|
"pinia": "^2.1.7",
|
|
"pinia-plugin-persistedstate": "^3.2.1",
|
|
"plop": "^4.0.1",
|
|
"prettier": "^3.2.5",
|
|
"prism-theme-vars": "^0.2.5",
|
|
"simple-git": "^3.24.0",
|
|
"taze": "^0.13.7",
|
|
"terser": "^5.31.0",
|
|
"typescript": "^5.4.5",
|
|
"unocss": "^0.59.4",
|
|
"unplugin-auto-import": "^0.17.5",
|
|
"unplugin-vue-components": "^0.26.0",
|
|
"unplugin-vue-markdown": "^0.26.2",
|
|
"unplugin-vue-router": "^0.8.6",
|
|
"vite": "^5.2.10",
|
|
"vite-auto-import-resolvers": "^3.2.1",
|
|
"vite-layers": "^0.5.2",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vite-plugin-env-types": "^0.1.4",
|
|
"vite-plugin-legacy-swc": "^1.1.0",
|
|
"vite-plugin-mock": "2.9.8",
|
|
"vite-plugin-removelog": "^0.2.2",
|
|
"vite-plugin-use-modules": "^1.4.8",
|
|
"vite-plugin-vue-devtools": "^7.1.3",
|
|
"vite-plugin-vue-meta-layouts": "^0.4.3",
|
|
"vitest": "^1.5.3",
|
|
"vue": "^3.4.26",
|
|
"vue-dark-switch": "^1.0.6",
|
|
"vue-echarts": "^6.7.1",
|
|
"vue-i18n": "^9.13.1",
|
|
"vue-request": "2.0.4",
|
|
"vue-router": "^4.3.2",
|
|
"vue-toastification": "2.0.0-rc.5"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx,vue}": "eslint --cache --fix"
|
|
},
|
|
"overrides": {
|
|
"sourcemap-codec": "npm:@jridgewell/sourcemap-codec@latest",
|
|
"array-includes": "npm:@nolyfill/array-includes@latest",
|
|
"array.prototype.findlastindex": "npm:@nolyfill/array.prototype.findlastindex@latest",
|
|
"array.prototype.flat": "npm:@nolyfill/array.prototype.flat@latest",
|
|
"array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@latest",
|
|
"arraybuffer.prorotype.slice": "npm:@nolyfill/arraybuffer.prorotype.slice@latest",
|
|
"function.prototype.name": "npm:@nolyfill/function.prototype.name@latest",
|
|
"has": "npm:@nolyfill/has@latest",
|
|
"is-regex": "npm:@nolyfill/is-regex@latest",
|
|
"object-keys": "npm:@nolyfill/object-keys@latest",
|
|
"object.assign": "npm:@nolyfill/object.assign@latest",
|
|
"object.entries": "npm:@nolyfill/object.entries@latest",
|
|
"object.fromentries": "npm:@nolyfill/object.fromentries@latest",
|
|
"object.values": "npm:@nolyfill/object.values@latest",
|
|
"vue-demi": "npm:vue-demi@latest"
|
|
},
|
|
"repository": {
|
|
"url": "https://github.com/dishait/tov-template"
|
|
},
|
|
"browserslist": [
|
|
">= 0.25%",
|
|
"last 2 versions",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"Android >= 4.0",
|
|
"iOS >= 8"
|
|
],
|
|
"dependencies": {
|
|
"element-plus": "^2.9.2"
|
|
}
|
|
}
|