add tests

This commit is contained in:
2025-10-21 23:14:48 +01:00
parent c18f6d3ffe
commit 420927595d
3 changed files with 14 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
"scripts": {
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly",
"build": "rm -rf ./dist && npm run build:types && rollup -c",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "vitest"
},
"devDependencies": {
"@rollup/plugin-typescript": "^12.1.4",