chore: use project references for typescript

This commit is contained in:
Satyajit Sahoo
2020-01-12 09:21:35 +01:00
parent 324fad33ef
commit f1f5b7197c
22 changed files with 209 additions and 102 deletions

View File

@@ -7,7 +7,7 @@
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
"types": "lib/typescript/compat/src/index.d.ts",
"types": "lib/typescript/src/index.d.ts",
"files": [
"src",
"lib"

View File

@@ -1,3 +1,11 @@
{
"extends": "../../tsconfig"
"extends": "../../tsconfig",
"references": [
{ "path": "../core" },
{ "path": "../native" },
{ "path": "../routers" }
],
"compilerOptions": {
"outDir": "./lib/typescript"
}
}