From 93c919afa4f1e3de40f653f9a2f95a1fb024e3ac Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 25 Nov 2022 22:09:17 -0300 Subject: [PATCH] Improve TypeScript config --- package.json | 2 ++ tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d879293..202b051 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,8 @@ "description": "", "main": "index.js", "scripts": { + "watch": "tsc --watch", + "start": "node src/", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], diff --git a/tsconfig.json b/tsconfig.json index 1cdd25d..9fd3def 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ /* Visit https://aka.ms/tsconfig to read more about this file */ /* Projects */ - // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ + "incremental": true /* Save .tsbuildinfo files to allow for incremental compilation of projects. */, // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */