From aed2ed07ef5515dc0a259b2b24cbb8165bf95605 Mon Sep 17 00:00:00 2001 From: Anton Platonov Date: Mon, 7 Oct 2024 20:50:37 +0300 Subject: [PATCH] build: add TypeScript declaration files --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a5e1d95a..4b629e9b 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,9 @@ "lint": "npm-run-all --parallel lint:*", "lint:js": "eslint --ext .html,.js src test demo *.js *.html", "lint:css": "stylelint demo/**/*.html", - "build": "tsx scripts/build.ts", + "build": "npm-run-all --parallel build:*", + "build:esbuild": "tsx scripts/build.ts", + "build:tsc": "tsc --emitDeclarationOnly --isolatedModules -p tsconfig.build.json", "start": "vite", "test": "karma start karma.config.cjs", "test:watch": "npm run test -- --watch",