diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-14 02:03:31 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-14 02:03:31 +0800 |
commit | 5dae2b8d2bd9743db34b4ad3c161f73bfd5fb8f7 (patch) | |
tree | f991ab8f3ec97551db1e13894efe678f50f6cb99 /packages/0x.js | |
parent | 62da364e5da736cc62a633bab83502cf5c6c8d43 (diff) | |
download | dexon-0x-contracts-5dae2b8d2bd9743db34b4ad3c161f73bfd5fb8f7.tar.gz dexon-0x-contracts-5dae2b8d2bd9743db34b4ad3c161f73bfd5fb8f7.tar.zst dexon-0x-contracts-5dae2b8d2bd9743db34b4ad3c161f73bfd5fb8f7.zip |
Don't remove files before UMD test run
Diffstat (limited to 'packages/0x.js')
-rw-r--r-- | packages/0x.js/package.json | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 7e16be198..2d9d26362 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -33,8 +33,7 @@ "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", - "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", + "substitute_umd_bundle": "shx mv _bundles/* lib/src", "run_mocha": "mocha lib/test/**/*_test.js --timeout 5000 --bail --exit" }, "config": { |