diff options
Diffstat (limited to 'tsconfig.json')
-rw-r--r-- | tsconfig.json | 50 |
1 files changed, 46 insertions, 4 deletions
diff --git a/tsconfig.json b/tsconfig.json index 588285140..bc71dfb70 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,14 +3,56 @@ "module": "commonjs", "target": "es5", "lib": ["es2017", "dom"], - "sourceMap": true, - "declaration": true, "experimentalDecorators": true, "downlevelIteration": true, "noImplicitReturns": true, "pretty": true, "skipLibCheck": true, "typeRoots": ["node_modules/@0xproject/typescript-typings/types", "node_modules/@types"], - "strict": true - } + "strict": true, + // These settings are required for TypeScript project references + "composite": true, + "declaration": true, + "declarationMap": true, + "sourceMap": true + }, + // The root of the project is just a list of references and does not contain + // any top-level TypeScript code. + "include": [], + "references": [ + { "path": "./packages/0x.js" }, + { "path": "./packages/abi-gen" }, + { "path": "./packages/assert" }, + { "path": "./packages/asset-buyer" }, + { "path": "./packages/base-contract" }, + { "path": "./packages/connect" }, + { "path": "./packages/contract-wrappers" }, + { "path": "./packages/contracts" }, + { "path": "./packages/dev-utils" }, + { "path": "./packages/ethereum-types" }, + { "path": "./packages/fill-scenarios" }, + { "path": "./packages/json-schemas" }, + { "path": "./packages/metacoin" }, + { "path": "./packages/migrations" }, + { "path": "./packages/monorepo-scripts" }, + { "path": "./packages/order-utils" }, + { "path": "./packages/order-watcher" }, + { "path": "./packages/react-docs" }, + { "path": "./packages/react-shared" }, + { "path": "./packages/sol-compiler" }, + { "path": "./packages/sol-cov" }, + { "path": "./packages/sol-resolver" }, + { "path": "./packages/sra-report" }, + { "path": "./packages/sra-spec" }, + { "path": "./packages/subproviders" }, + { "path": "./packages/testnet-faucets" }, + { "path": "./packages/tslint-config" }, + { "path": "./packages/types" }, + { "path": "./packages/typescript-typings" }, + { "path": "./packages/utils" }, + { "path": "./packages/web3-wrapper" } + // Skipping website because it requires allowJs: false and this is + // incompatible with project references. + // { "path": "./packages/website" } + ] } |