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",