chore: add npm test scripts and finalize package metadata

This commit is contained in:
Patrick Wozniak
2025-05-05 11:50:00 +02:00
parent 4407ab5b37
commit b8b0a9894e
+7
View File
@@ -10,6 +10,13 @@
"provider" "provider"
], ],
"license": "MIT", "license": "MIT",
"scripts": {
"test": "npx tsx tests/test-pure-functions.ts && npx tsx tests/test-abort.ts && npx tsx tests/test-stream.ts",
"test:unit": "npx tsx tests/test-pure-functions.ts",
"test:abort": "npx tsx tests/test-abort.ts",
"test:stream": "npx tsx tests/test-stream.ts",
"test:smoke": "node tests/test-smoke.mjs"
},
"pi": { "pi": {
"extensions": [ "extensions": [
"./index.ts" "./index.ts"