|
25 | 25 | }, |
26 | 26 | "type": "module", |
27 | 27 | "scripts": { |
28 | | - "bootstrap": "pnpm install", |
29 | 28 | "build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 turbo build", |
30 | 29 | "build:analyze": "turbo build:analyze", |
31 | | - "build:docker": "./build-local-docker-image.sh", |
32 | 30 | "build:antd": "pnpm run build --filter=@vben/web-antd", |
| 31 | + "build:docker": "./build-local-docker-image.sh", |
33 | 32 | "build:docs": "pnpm run build --filter=@vben/docs", |
34 | 33 | "build:ele": "pnpm run build --filter=@vben/web-ele", |
35 | 34 | "build:naive": "pnpm run build --filter=@vben/web-naive", |
|
55 | 54 | "prepare": "is-ci || husky", |
56 | 55 | "preview": "turbo-run preview", |
57 | 56 | "publint": "vsh publint", |
58 | | - "reinstall": "pnpm clean --del-lock && pnpm bootstrap", |
59 | | - "test:unit": "vitest", |
| 57 | + "reinstall": "pnpm clean --del-lock && pnpm install", |
| 58 | + "test:unit": "vitest run --dom", |
| 59 | + "test:e2e": "turbo run test:e2e", |
60 | 60 | "update:deps": "pnpm update --latest --recursive", |
61 | 61 | "version": "pnpm exec changeset version && pnpm install --no-frozen-lockfile" |
62 | 62 | }, |
63 | 63 | "devDependencies": { |
64 | 64 | "@changesets/changelog-github": "catalog:", |
65 | 65 | "@changesets/cli": "catalog:", |
66 | | - "@types/jsdom": "catalog:", |
| 66 | + "@playwright/test": "catalog:", |
67 | 67 | "@types/node": "catalog:", |
68 | 68 | "@vben/commitlint-config": "workspace:*", |
69 | 69 | "@vben/eslint-config": "workspace:*", |
|
80 | 80 | "autoprefixer": "catalog:", |
81 | 81 | "cross-env": "catalog:", |
82 | 82 | "cspell": "catalog:", |
| 83 | + "happy-dom": "catalog:", |
83 | 84 | "husky": "catalog:", |
84 | 85 | "is-ci": "catalog:", |
85 | | - "jsdom": "catalog:", |
86 | 86 | "lint-staged": "catalog:", |
| 87 | + "playwright": "catalog:", |
87 | 88 | "rimraf": "catalog:", |
88 | 89 | "tailwindcss": "catalog:", |
89 | 90 | "turbo": "catalog:", |
|
113 | 114 | }, |
114 | 115 | "neverBuiltDependencies": [ |
115 | 116 | "canvas", |
116 | | - "node-gyp", |
117 | | - "playwright" |
| 117 | + "node-gyp" |
118 | 118 | ] |
119 | 119 | } |
120 | 120 | } |
0 commit comments