diff --git a/package.json b/package.json index b2e3e4c..5646c77 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "rete-kit": "./bin/index.js" }, "scripts": { - "build": "tsc", - "dev": "tsc --watch", + "build": "tsc -p tsconfig.build.json", + "dev": "tsc --watch -p tsconfig.build.json", "lint": "rete lint", "test": "rete test" }, diff --git a/tsconfig.build.json b/tsconfig.build.json new file mode 100644 index 0000000..6bf70a7 --- /dev/null +++ b/tsconfig.build.json @@ -0,0 +1,4 @@ +{ + "extends": "./tsconfig.json", + "include": ["src"], +}