aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-05-30 18:55:00 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-05-30 18:55:00 +0800
commit968df3424ccab04ca15bbe4138e35ff90d1c00a4 (patch)
treed033db5ba2009800f31e49d7b5f6c060b83c5c1a /package.json
parent380c1e1ca521ffad6f4e3832d896bd737f67eab2 (diff)
downloaddexon-sol-tools-968df3424ccab04ca15bbe4138e35ff90d1c00a4.tar
dexon-sol-tools-968df3424ccab04ca15bbe4138e35ff90d1c00a4.tar.gz
dexon-sol-tools-968df3424ccab04ca15bbe4138e35ff90d1c00a4.tar.bz2
dexon-sol-tools-968df3424ccab04ca15bbe4138e35ff90d1c00a4.tar.lz
dexon-sol-tools-968df3424ccab04ca15bbe4138e35ff90d1c00a4.tar.xz
dexon-sol-tools-968df3424ccab04ca15bbe4138e35ff90d1c00a4.tar.zst
dexon-sol-tools-968df3424ccab04ca15bbe4138e35ff90d1c00a4.zip
Add copy_fixtures command
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json
index 59e33a7dd..c232e2828 100644
--- a/package.json
+++ b/package.json
@@ -27,11 +27,12 @@
"build:umd:dev": "webpack",
"build:umd:prod": "webpack -p",
"build:commonjs:dev": "tsc; copyfiles -u 2 ./src/artifacts/*.json ../0x.js/lib/src/artifacts;",
- "test:commonjs": "run-s build:commonjs:dev run_mocha",
+ "test:commonjs": "run-s build:commonjs:dev copy_fixtures run_mocha",
"pretest:umd": "run-s clean build:*:dev",
"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/schemas -o -path \"./lib/src/types.*\" \\) -prune -o -type f -print | xargs rm",
- "run_mocha": "mocha lib/test/**/*_test.js"
+ "run_mocha": "mocha lib/test/**/*_test.js",
+ "copy_fixtures": "shx cp -r ./test/fixtures ./lib/test/fixtures"
},
"config": {
"artifacts": "Proxy Exchange TokenRegistry Token Mintable EtherToken",