aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-01 23:28:48 +0800
committerFabio Berger <me@fabioberger.com>2018-08-01 23:28:48 +0800
commitc5fbc5c9917457be47027002010b0a28cb90f157 (patch)
treebcf7095e7f15582d1c613fe18b6750f0ad59f2d0 /packages/order-utils/package.json
parent0413e3e77faa8dcc3f428019563f9115c82f67f1 (diff)
downloaddexon-sol-tools-c5fbc5c9917457be47027002010b0a28cb90f157.tar
dexon-sol-tools-c5fbc5c9917457be47027002010b0a28cb90f157.tar.gz
dexon-sol-tools-c5fbc5c9917457be47027002010b0a28cb90f157.tar.bz2
dexon-sol-tools-c5fbc5c9917457be47027002010b0a28cb90f157.tar.lz
dexon-sol-tools-c5fbc5c9917457be47027002010b0a28cb90f157.tar.xz
dexon-sol-tools-c5fbc5c9917457be47027002010b0a28cb90f157.tar.zst
dexon-sol-tools-c5fbc5c9917457be47027002010b0a28cb90f157.zip
Also add artifacts to src
Diffstat (limited to 'packages/order-utils/package.json')
-rw-r--r--packages/order-utils/package.json9
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json
index 21575162c..c49abfdae 100644
--- a/packages/order-utils/package.json
+++ b/packages/order-utils/package.json
@@ -10,11 +10,12 @@
"scripts": {
"watch_without_deps": "yarn pre_build && tsc -w",
"build": "run-s pre_build transpile",
- "pre_build": "run-s update_artifacts_v2_beta update_artifacts_v2 generate_contract_wrappers",
+ "pre_build": "run-s update_artifacts_v2_beta update_artifacts_v2 copy_artifacts generate_contract_wrappers",
"transpile": "tsc",
- "generate_contract_wrappers": "abi-gen --abis 'lib/src/artifacts/@(Exchange|IWallet|IValidator|DummyERC20Token|ERC20Proxy|ERC20Token).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers",
- "update_artifacts_v2_beta": "for i in ${npm_package_config_contracts_v2_beta}; do copyfiles -u 4 ../migrations/artifacts/2.0.0-beta-testnet/$i.json lib/src/artifacts; done;",
- "update_artifacts_v2": "for i in ${npm_package_config_contracts_v2}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json lib/src/artifacts; done;",
+ "generate_contract_wrappers": "abi-gen --abis './src/artifacts/@(Exchange|IWallet|IValidator|DummyERC20Token|ERC20Proxy|ERC20Token).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers",
+ "update_artifacts_v2_beta": "for i in ${npm_package_config_contracts_v2_beta}; do copyfiles -u 4 ../migrations/artifacts/2.0.0-beta-testnet/$i.json src/artifacts; done;",
+ "update_artifacts_v2": "for i in ${npm_package_config_contracts_v2}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json src/artifacts; done;",
+ "copy_artifacts": "copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts",
"test": "yarn run_mocha",
"rebuild_and_test": "run-s build test",
"test:circleci": "yarn test:coverage",