aboutsummaryrefslogtreecommitdiffstats
path: root/packages/types
diff options
context:
space:
mode:
Diffstat (limited to 'packages/types')
-rw-r--r--packages/types/package.json3
-rw-r--r--packages/types/tsconfig.json4
2 files changed, 3 insertions, 4 deletions
diff --git a/packages/types/package.json b/packages/types/package.json
index 291452cbb..362c8f639 100644
--- a/packages/types/package.json
+++ b/packages/types/package.json
@@ -8,8 +8,7 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
- "watch_without_deps": "tsc -w",
- "build": "tsc",
+ "build": "tsc -b",
"clean": "shx rm -rf lib",
"lint": "tslint --project ."
},
diff --git a/packages/types/tsconfig.json b/packages/types/tsconfig.json
index ce916a635..56689eaa3 100644
--- a/packages/types/tsconfig.json
+++ b/packages/types/tsconfig.json
@@ -1,8 +1,8 @@
{
"extends": "../../tsconfig",
"compilerOptions": {
- "typeRoots": ["../../node_modules/@types", "node_modules/@types"],
- "outDir": "lib"
+ "outDir": "lib",
+ "rootDir": "src"
},
"include": ["src/**/*"]
}