Migrate to Vitest (#483)

* Migrate to Vitest

* `skipLibCheck` for now
This commit is contained in:
Mateusz Burzyński
2025-05-11 20:59:28 +02:00
committed by GitHub
parent cf373e45c9
commit e82f42c2cc
9 changed files with 437 additions and 2401 deletions
+3 -8
View File
@@ -4,27 +4,22 @@
"main": "dist/index.js",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"@babel/preset-typescript": "^7.13.0",
"@changesets/changelog-github": "^0.4.2",
"@changesets/cli": "^2.20.0",
"@changesets/write": "^0.1.6",
"@types/fs-extra": "^8.0.0",
"@types/jest": "^29.5.1",
"@types/node": "^22.15.17",
"@types/semver": "^7.5.0",
"babel-jest": "^29.5.0",
"esbuild": "^0.25.4",
"fixturez": "^1.1.0",
"husky": "^3.0.3",
"jest": "^29.5.0",
"prettier": "^2.0.5",
"typescript": "^5.8.3"
"typescript": "^5.8.3",
"vitest": "^3.1.3"
},
"scripts": {
"build": "esbuild src/index.ts --bundle --platform=node --target=node20 --minify --outfile=dist/index.js",
"test": "jest",
"test": "vitest",
"test:watch": "yarn test --watch",
"typecheck": "tsc",
"changeset": "changeset",