diff --git a/.travis.yml b/.travis.yml index 4c9d090..9868d63 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,9 @@ branches: - /^v[0-9]/ install: - yarn global add lerna && yarn global add typescript - - lerna bootstrap + - yarn install script: - - yarn test:src - - ls -a packages/harmony-account/tsconfig.tsbuildinfo - - yarn dist + - yarn bootstrap cache: directories: - '$HOME/.yarn-cache' diff --git a/packages/harmony-account/tsconfig.json b/packages/harmony-account/tsconfig.json index 691b5e1..14dfe95 100644 --- a/packages/harmony-account/tsconfig.json +++ b/packages/harmony-account/tsconfig.json @@ -1,15 +1,14 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "outDir": "dist", "rootDir": "src", - "declarationDir": "dist" + "outDir": "dist" }, "include": ["src", "../../typings/**/*.d.ts"], "references": [ - { "path": "../harmony-crypto" }, - { "path": "../harmony-utils" }, - { "path": "../harmony-transaction" }, - { "path": "../harmony-network" } + {"path": "../harmony-crypto"}, + {"path": "../harmony-utils"}, + {"path": "../harmony-transaction"}, + {"path": "../harmony-network"} ] } diff --git a/packages/harmony-contract/tsconfig.json b/packages/harmony-contract/tsconfig.json index 92f65fb..b43ea95 100644 --- a/packages/harmony-contract/tsconfig.json +++ b/packages/harmony-contract/tsconfig.json @@ -1,11 +1,8 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "baseUrl": ".", - "paths": {"*": ["types/*"]}, - "outDir": "dist", "rootDir": "src", - "declarationDir": "dist" + "outDir": "dist" }, "include": ["src", "../../typings/**/*.d.ts"], "references": [ diff --git a/packages/harmony-core/tsconfig.json b/packages/harmony-core/tsconfig.json index c4e6eb9..031d04b 100644 --- a/packages/harmony-core/tsconfig.json +++ b/packages/harmony-core/tsconfig.json @@ -1,8 +1,8 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "outDir": "dist", - "rootDir": "src" + "rootDir": "src", + "outDir": "dist" }, "include": ["src", "../../typings/**/*.d.ts", "../harmony-utils/src/core.ts"], "references": [ diff --git a/packages/harmony-crypto/tsconfig.json b/packages/harmony-crypto/tsconfig.json index a8bd651..fac7fc2 100644 --- a/packages/harmony-crypto/tsconfig.json +++ b/packages/harmony-crypto/tsconfig.json @@ -1,8 +1,8 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "outDir": "dist", - "rootDir": "src" + "rootDir": "src", + "outDir": "dist" }, "include": ["src", "../../typings/**/*.d.ts"], "references": [{"path": "../harmony-utils"}] diff --git a/packages/harmony-network/tsconfig.json b/packages/harmony-network/tsconfig.json index a8bd651..fac7fc2 100644 --- a/packages/harmony-network/tsconfig.json +++ b/packages/harmony-network/tsconfig.json @@ -1,8 +1,8 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "outDir": "dist", - "rootDir": "src" + "rootDir": "src", + "outDir": "dist" }, "include": ["src", "../../typings/**/*.d.ts"], "references": [{"path": "../harmony-utils"}] diff --git a/packages/harmony-transaction/tsconfig.json b/packages/harmony-transaction/tsconfig.json index 0734004..e0c32e9 100644 --- a/packages/harmony-transaction/tsconfig.json +++ b/packages/harmony-transaction/tsconfig.json @@ -1,8 +1,8 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "outDir": "dist", - "rootDir": "src" + "rootDir": "src", + "outDir": "dist" }, "include": ["src", "../../typings/**/*.d.ts"], "references": [ diff --git a/packages/harmony-utils/tsconfig.json b/packages/harmony-utils/tsconfig.json index 69c56a2..0e97184 100644 --- a/packages/harmony-utils/tsconfig.json +++ b/packages/harmony-utils/tsconfig.json @@ -1,8 +1,8 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "outDir": "dist", - "rootDir": "src" + "rootDir": "src", + "outDir": "dist" }, "include": ["src", "../../typings/**/*.d.ts"] }