chore: add tests

This commit is contained in:
2026-04-13 10:18:12 +08:00
parent 14948fb5f6
commit 51a11a26bf
5 changed files with 521 additions and 5 deletions
+5 -3
View File
@@ -34,7 +34,8 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "tsx src/test.ts"
"test": "vitest run",
"test:watch": "vitest"
},
"keywords": [
"schema",
@@ -54,9 +55,10 @@
"devDependencies": {
"@rspack/core": "^1.1.6",
"@types/node": "^25.5.0",
"tsx": "^4.21.0",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vitest": "^4.1.4"
},
"peerDependencies": {
"@rspack/core": "^1.x",