From b8b0a9894e4d3a421b4aecfaadb35a327b3f3537 Mon Sep 17 00:00:00 2001 From: Patrick Wozniak Date: Mon, 5 May 2025 11:50:00 +0200 Subject: [PATCH] chore: add npm test scripts and finalize package metadata --- package.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package.json b/package.json index f4fe33d..d8b7632 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,13 @@ "provider" ], "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": { "extensions": [ "./index.ts"