From 843b2da8591056abda9d73c0938418675e20bc31 Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Thu, 19 Sep 2024 10:26:25 -0400 Subject: [PATCH] Publish types --- package.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 77044e9..ff00842 100644 --- a/package.json +++ b/package.json @@ -30,9 +30,9 @@ "dist/*" ], "scripts": { - "build": "tsup", + "build": "tsup --dts", "lint": "tsc", - "start": "tsup --watch", + "start": "tsup --dts --watch", "test": "node --experimental-vm-modules node_modules/qunit/bin/qunit.js --require @swc-node/register tests/*-test.ts", "typecheck": "tsc", "prepare": "npm run build" @@ -56,5 +56,12 @@ "release-plan": "^0.9.0", "tsup": "^7.3.0", "typescript": "^5.4.5" + }, + "typesVersions": { + "*": { + "*": [ + "dist/*" + ] + } } }