diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-25 05:23:50 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-25 05:23:50 +0800 |
commit | 0afc95982b195378653e15697f65d4ad3bf48e66 (patch) | |
tree | a852f576ba3496abaade49337db85f93b9236f52 | |
parent | b132860f1f3597fd9d810e2cac217c9acc4a9d63 (diff) | |
download | dexon-0x-contracts-0afc95982b195378653e15697f65d4ad3bf48e66.tar.gz dexon-0x-contracts-0afc95982b195378653e15697f65d4ad3bf48e66.tar.zst dexon-0x-contracts-0afc95982b195378653e15697f65d4ad3bf48e66.zip |
Fix UMD tests
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 8debc93ff..75b691989 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "build:umd:prod": "NODE_ENV=production webpack", "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:*:dev", + "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", "remove_src_files_not_used_by_tests": "find ./lib/src \\( -path ./lib/src/utils -o -path ./lib/src/subproviders -o -path ./lib/src/schemas -o -path \"./lib/src/types.*\" \\) -prune -o -type f -print | xargs rm", "run_mocha": "mocha lib/test/**/*_test.js --timeout 4000 --bail" |