aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-09-05 04:47:01 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-09-05 04:47:28 +0800
commite456332da71f1ed6c6799fabe6c635985ec2ce9d (patch)
tree72c22d078674ecdb4646bd9a5e8d7b8108c78ad3 /packages/contract-wrappers
parent4ed84c5dc5e32452d94d96be2f019bf453e9b6ea (diff)
downloaddexon-sol-tools-e456332da71f1ed6c6799fabe6c635985ec2ce9d.tar
dexon-sol-tools-e456332da71f1ed6c6799fabe6c635985ec2ce9d.tar.gz
dexon-sol-tools-e456332da71f1ed6c6799fabe6c635985ec2ce9d.tar.bz2
dexon-sol-tools-e456332da71f1ed6c6799fabe6c635985ec2ce9d.tar.lz
dexon-sol-tools-e456332da71f1ed6c6799fabe6c635985ec2ce9d.tar.xz
dexon-sol-tools-e456332da71f1ed6c6799fabe6c635985ec2ce9d.tar.zst
dexon-sol-tools-e456332da71f1ed6c6799fabe6c635985ec2ce9d.zip
Rename and update some artifact locations
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r--packages/contract-wrappers/package.json5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json
index 5d5c8069a..b36ae946f 100644
--- a/packages/contract-wrappers/package.json
+++ b/packages/contract-wrappers/package.json
@@ -12,7 +12,7 @@
"types": "lib/src/index.d.ts",
"scripts": {
"build": "yarn pre_build && tsc -b",
- "pre_build": "run-s update_artifacts_v2_beta update_artifacts_v2 generate_contract_wrappers copy_artifacts",
+ "pre_build": "run-s update_artifacts generate_contract_wrappers copy_artifacts",
"generate_contract_wrappers": "abi-gen --abis 'src/artifacts/@(Exchange|DummyERC20Token|DummyERC721Token|ZRXToken|ERC20Token|ERC721Token|WETH9|ERC20Proxy|ERC721Proxy|Forwarder|OrderValidator).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers",
"lint": "tslint --project . --exclude **/src/contract_wrappers/**/* --exclude **/lib/**/*",
"test:circleci": "run-s test:coverage",
@@ -20,8 +20,7 @@
"rebuild_and_test": "run-s build test",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
- "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;",
+ "update_artifacts": "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",
"clean": "shx rm -rf _bundles lib test_temp test/artifacts src/contract_wrappers/generated src/artifacts generated_docs",
"run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit",