|
@@ -25,11 +25,10 @@
|
|
},
|
|
},
|
|
"type": "module",
|
|
"type": "module",
|
|
"scripts": {
|
|
"scripts": {
|
|
- "bootstrap": "pnpm install",
|
|
|
|
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 turbo build",
|
|
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 turbo build",
|
|
"build:analyze": "turbo build:analyze",
|
|
"build:analyze": "turbo build:analyze",
|
|
- "build:docker": "./build-local-docker-image.sh",
|
|
|
|
"build:antd": "pnpm run build --filter=@vben/web-antd",
|
|
"build:antd": "pnpm run build --filter=@vben/web-antd",
|
|
|
|
+ "build:docker": "./build-local-docker-image.sh",
|
|
"build:docs": "pnpm run build --filter=@vben/docs",
|
|
"build:docs": "pnpm run build --filter=@vben/docs",
|
|
"build:ele": "pnpm run build --filter=@vben/web-ele",
|
|
"build:ele": "pnpm run build --filter=@vben/web-ele",
|
|
"build:naive": "pnpm run build --filter=@vben/web-naive",
|
|
"build:naive": "pnpm run build --filter=@vben/web-naive",
|
|
@@ -55,15 +54,16 @@
|
|
"prepare": "is-ci || husky",
|
|
"prepare": "is-ci || husky",
|
|
"preview": "turbo-run preview",
|
|
"preview": "turbo-run preview",
|
|
"publint": "vsh publint",
|
|
"publint": "vsh publint",
|
|
- "reinstall": "pnpm clean --del-lock && pnpm bootstrap",
|
|
|
|
- "test:unit": "vitest",
|
|
|
|
|
|
+ "reinstall": "pnpm clean --del-lock && pnpm install",
|
|
|
|
+ "test:unit": "vitest run --dom",
|
|
|
|
+ "test:e2e": "turbo run test:e2e",
|
|
"update:deps": "pnpm update --latest --recursive",
|
|
"update:deps": "pnpm update --latest --recursive",
|
|
"version": "pnpm exec changeset version && pnpm install --no-frozen-lockfile"
|
|
"version": "pnpm exec changeset version && pnpm install --no-frozen-lockfile"
|
|
},
|
|
},
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "catalog:",
|
|
"@changesets/changelog-github": "catalog:",
|
|
"@changesets/cli": "catalog:",
|
|
"@changesets/cli": "catalog:",
|
|
- "@types/jsdom": "catalog:",
|
|
|
|
|
|
+ "@playwright/test": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@vben/commitlint-config": "workspace:*",
|
|
"@vben/commitlint-config": "workspace:*",
|
|
"@vben/eslint-config": "workspace:*",
|
|
"@vben/eslint-config": "workspace:*",
|
|
@@ -80,10 +80,11 @@
|
|
"autoprefixer": "catalog:",
|
|
"autoprefixer": "catalog:",
|
|
"cross-env": "catalog:",
|
|
"cross-env": "catalog:",
|
|
"cspell": "catalog:",
|
|
"cspell": "catalog:",
|
|
|
|
+ "happy-dom": "catalog:",
|
|
"husky": "catalog:",
|
|
"husky": "catalog:",
|
|
"is-ci": "catalog:",
|
|
"is-ci": "catalog:",
|
|
- "jsdom": "catalog:",
|
|
|
|
"lint-staged": "catalog:",
|
|
"lint-staged": "catalog:",
|
|
|
|
+ "playwright": "catalog:",
|
|
"rimraf": "catalog:",
|
|
"rimraf": "catalog:",
|
|
"tailwindcss": "catalog:",
|
|
"tailwindcss": "catalog:",
|
|
"turbo": "catalog:",
|
|
"turbo": "catalog:",
|
|
@@ -113,8 +114,7 @@
|
|
},
|
|
},
|
|
"neverBuiltDependencies": [
|
|
"neverBuiltDependencies": [
|
|
"canvas",
|
|
"canvas",
|
|
- "node-gyp",
|
|
|
|
- "playwright"
|
|
|
|
|
|
+ "node-gyp"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|