From 7043b53228204787335c3d341028fd5195221f42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Thu, 28 Dec 2023 10:37:46 +0100 Subject: [PATCH] add a "build types" npm script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 06612398..b745594a 100644 --- a/package.json +++ b/package.json @@ -29,8 +29,9 @@ "main": "./chai.js", "scripts": { "prebuild": "npm run clean", - "build": "npm run build:esm", + "build": "npm run build:esm && npm run build:types", "build:esm": "esbuild --bundle --format=esm --keep-names --outfile=chai.js index.js", + "build:types": "tsc", "pretest": "npm run build", "test": "npm run test-node && npm run test-chrome", "test-node": "mocha --require ./test/bootstrap/index.js --reporter dot test/*.js",