|
| 1 | +{ |
| 2 | + "name": "@xqsit94/vite-vue3-ts-starter", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "A starter template for Vue3 with Vite and TypeScript includes Vitest, Eslint, Prettier, Husky, and Unocss", |
| 5 | + "type": "module", |
| 6 | + "scripts": { |
| 7 | + "dev": "vite", |
| 8 | + "build": "run-p type-check build-only", |
| 9 | + "preview": "vite preview", |
| 10 | + "test:watch": "vitest", |
| 11 | + "test": "vitest --no-watch", |
| 12 | + "build-only": "vite build", |
| 13 | + "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", |
| 14 | + "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", |
| 15 | + "format": "prettier --write src/", |
| 16 | + "postinstall": "npx husky install", |
| 17 | + "prepare": "husky install" |
| 18 | + }, |
| 19 | + "dependencies": { |
| 20 | + "pinia": "^2.1.6", |
| 21 | + "vue": "^3.3.4", |
| 22 | + "vue-router": "^4.2.4" |
| 23 | + }, |
| 24 | + "devDependencies": { |
| 25 | + "@rushstack/eslint-patch": "^1.3.2", |
| 26 | + "@tsconfig/node18": "^18.2.0", |
| 27 | + "@types/jsdom": "^21.1.1", |
| 28 | + "@types/node": "^20.5.7", |
| 29 | + "@vitejs/plugin-vue": "^4.2.3", |
| 30 | + "@vitejs/plugin-vue-jsx": "^3.0.2", |
| 31 | + "@vue/eslint-config-prettier": "^8.0.0", |
| 32 | + "@vue/eslint-config-typescript": "^11.0.3", |
| 33 | + "@vue/test-utils": "^2.4.1", |
| 34 | + "@vue/tsconfig": "^0.4.0", |
| 35 | + "eslint": "^8.46.0", |
| 36 | + "eslint-plugin-vue": "^9.16.1", |
| 37 | + "husky": "^8.0.3", |
| 38 | + "jsdom": "^22.1.0", |
| 39 | + "npm-run-all": "^4.1.5", |
| 40 | + "prettier": "^3.0.0", |
| 41 | + "typescript": "~5.1.6", |
| 42 | + "unocss": "^0.55.4", |
| 43 | + "vite": "^4.4.9", |
| 44 | + "vitest": "^0.34.3", |
| 45 | + "vue-tsc": "^1.8.8" |
| 46 | + }, |
| 47 | + "lint-staged": { |
| 48 | + "*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --cache --fix --ignore-path .gitignore", |
| 49 | + "*.src/": "prettier --write" |
| 50 | + } |
| 51 | +} |
0 commit comments