From e03b2f132c2c9eca0a0b04f85c8ccc87594e7741 Mon Sep 17 00:00:00 2001 From: SiRanWeb Date: Sun, 23 Oct 2022 19:35:06 +0300 Subject: [PATCH] update npm scripts --- package.json | 3 ++- tsconfig.json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5114b64..e2a9209 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "./dist/index.js", "type": "module", "scripts": { - "ts:watch": "tsc -p ./tsconfig.json", + "tsc": "tsc -p ./tsconfig.json", + "tsc:watch": "tsc -w -p ./tsconfig.json", "start": "node --es-module-specifier-resolution=node build/index.js", "start:dev": "nodemon --es-module-specifier-resolution=node build/index.js" }, diff --git a/tsconfig.json b/tsconfig.json index 21132e6..baddab4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "watch": true, "outDir": "./dist", "declaration": true, "target": "es2016",