From 1104b53df9458b138b9191dd1c3ceb5d6b1210c5 Mon Sep 17 00:00:00 2001 From: Ayo Date: Tue, 19 Sep 2023 14:18:18 +0200 Subject: [PATCH] chore: update build --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9c9e65d..91d3be9 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "main": "index.d.ts", "scripts": { "start": "npx simple-server .", - "build": "tsc --allowJs src/* --outDir dist --declaration", + "build": "tsc --allowJs src/* --outDir dist --declaration --emitDeclarationOnly", "clean": "rm -rf dist", - "publish": "npm run clean && npm run build && cp package.json ./dist && cd ./dist && npm publish --access public" + "publish": "npm run clean && npm run build && cp package.json ./dist && cp ./src/* ./dist && cd ./dist && npm publish --access public" }, "repository": { "type": "git",