|
1 | 1 | { |
2 | 2 | "name": "ch06", |
3 | 3 | "version": "0.0.0", |
| 4 | + "private": true, |
4 | 5 | "scripts": { |
5 | 6 | "dev": "vite", |
6 | 7 | "build": "run-p type-check build-only", |
7 | 8 | "preview": "vite preview", |
8 | | - "test:unit": "vitest --environment jsdom --root src/", |
9 | | - "test:e2e": "playwright test", |
| 9 | + "test:unit": "vitest", |
10 | 10 | "build-only": "vite build", |
11 | 11 | "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", |
12 | | - "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" |
| 12 | + "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", |
| 13 | + "format": "prettier --write src/" |
13 | 14 | }, |
14 | 15 | "dependencies": { |
15 | | - "vue": "^3.2.41" |
| 16 | + "axios": "^1.5.0", |
| 17 | + "vue": "^3.3.4" |
16 | 18 | }, |
17 | 19 | "devDependencies": { |
18 | | - "@playwright/test": "^1.27.1", |
19 | | - "@rushstack/eslint-patch": "^1.1.4", |
20 | | - "@types/jsdom": "^20.0.0", |
21 | | - "@types/node": "^16.11.68", |
22 | | - "@vitejs/plugin-vue": "^3.1.2", |
23 | | - "@vue/eslint-config-prettier": "^7.0.0", |
24 | | - "@vue/eslint-config-typescript": "^11.0.0", |
25 | | - "@vue/test-utils": "^2.1.0", |
26 | | - "@vue/tsconfig": "^0.1.3", |
27 | | - "eslint": "^8.22.0", |
28 | | - "eslint-plugin-vue": "^9.3.0", |
29 | | - "jsdom": "^20.0.1", |
| 20 | + "@rushstack/eslint-patch": "^1.3.2", |
| 21 | + "@tsconfig/node18": "^18.2.0", |
| 22 | + "@types/jsdom": "^21.1.1", |
| 23 | + "@types/node": "^18.17.5", |
| 24 | + "@vitejs/plugin-vue": "^4.3.1", |
| 25 | + "@vitejs/plugin-vue-jsx": "^3.0.2", |
| 26 | + "@vue/eslint-config-prettier": "^8.0.0", |
| 27 | + "@vue/eslint-config-typescript": "^11.0.3", |
| 28 | + "@vue/test-utils": "^2.4.1", |
| 29 | + "@vue/tsconfig": "^0.4.0", |
| 30 | + "eslint": "^8.46.0", |
| 31 | + "eslint-plugin-vue": "^9.16.1", |
| 32 | + "jsdom": "^22.1.0", |
30 | 33 | "npm-run-all": "^4.1.5", |
31 | | - "prettier": "^2.7.1", |
32 | | - "typescript": "~4.7.4", |
33 | | - "vite": "^3.1.8", |
34 | | - "vitest": "^0.24.3", |
35 | | - "vue-tsc": "^1.0.8" |
| 34 | + "prettier": "^3.0.0", |
| 35 | + "typescript": "~5.1.6", |
| 36 | + "vite": "^4.4.9", |
| 37 | + "vitest": "^0.34.2", |
| 38 | + "vue-tsc": "^1.8.8" |
36 | 39 | } |
37 | 40 | } |
0 commit comments