切换vitest-browser

This commit is contained in:
xief
2025-07-15 10:56:24 +08:00
parent cf9913469f
commit 87e2804d1f
10 changed files with 1749 additions and 223 deletions

View File

@@ -1,5 +1,6 @@
{
"name": "cut-abstractions",
"type": "module",
"version": "0.1.5",
"description": "",
"files": [
@@ -11,40 +12,28 @@
"exports": {
".": "./dist/index.js"
},
"type": "module",
"scripts": {
"build": "tsc",
"release": "pnpm pack --pack-destination ./dist-packs",
"clean": "rimraf ./dist",
"test": "vitest",
"test:run": "vitest run",
"test:browser": "vitest --browser"
"test": "vitest"
},
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@9.1.1+sha1.09ada6cd05003e0ced25fb716f9fda4063ec2e3b",
"devDependencies": {
"@peculiar/webcrypto": "^1.5.0",
"@swc/core": "^1.12.4",
"@testing-library/dom": "^10.4.0",
"@vitest/browser": "^3.2.4",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"cadapi": "http://gitea.cf/MES-FE/webcad-api/archive/0.0.60.tar.gz",
"happy-dom": "^18.0.1",
"js-angusj-clipper": "^1.0.4",
"playwright": "^1.54.1",
"rimraf": "^6.0.1",
"typescript": "^5.8.3",
"vitest": "^1.6.1"
"vitest": "^3.2.4"
},
"dependencies": {
"@babel/preset-typescript": "^7.27.1",
"@types/node": "^22.16.3",
"comlink": "^4.4.2",
"import-meta-resolve": "^4.1.0",
"three": "^0.178.0",
"vite": "^5.0.0",
"webworker": "^0.8.4"
"three": "^0.178.0"
}
}
}