From 9b9fc274aa830e2dd2301f3438d37ca3f542a6a6 Mon Sep 17 00:00:00 2001 From: Gustavo Alexandre Nobre Mesquita Date: Sun, 17 Dec 2023 15:56:51 -0300 Subject: [PATCH] ts: fix typescript config --- package.json | 2 +- tsconfig.build.json | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a50fc58..91a0f8b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "UNLICENSED", "scripts": { "prebuild": "rimraf dist", - "build": "tsc", + "build": "tsc -p ./tsconfig.build.json", "check": "tsc -w --noEmit", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "node dist/src/main.js", diff --git a/tsconfig.build.json b/tsconfig.build.json index 64f86c6..b216621 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,4 +1,9 @@ { "extends": "./tsconfig.json", - "exclude": ["node_modules", "test", "dist", "**/*spec.ts"] -} + "exclude": [ + "./node_modules", + "./test", + "./dist", + "**/*spec.ts" + ] +} \ No newline at end of file