diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-14 01:27:20 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-14 01:27:20 +0800 |
commit | 14274ef67b4ee404ba1253c808a9c93e683106e0 (patch) | |
tree | d47383e57980b22866e00b8fcc475ba5ca7ca61b | |
parent | 70661c179f589c20f893a354c9d66646854f6638 (diff) | |
download | dexon-0x-contracts-14274ef67b4ee404ba1253c808a9c93e683106e0.tar.gz dexon-0x-contracts-14274ef67b4ee404ba1253c808a9c93e683106e0.tar.zst dexon-0x-contracts-14274ef67b4ee404ba1253c808a9c93e683106e0.zip |
Fail the tests on tsc error
-rw-r--r-- | packages/0x.js/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 9babea0b7..7e16be198 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -30,7 +30,7 @@ "clean": "shx rm -rf _bundles lib test_temp", "build:umd:dev": "webpack", "build:umd:prod": "NODE_ENV=production webpack", - "build:commonjs": "tsc; copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts;", + "build:commonjs": "tsc && copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts;", "test:commonjs": "run-s build:commonjs run_mocha", "pretest:umd": "run-s clean build:umd:dev build:commonjs", "substitute_umd_bundle": "npm run remove_src_files_not_used_by_tests; shx mv _bundles/* lib/src", |