diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-26 04:21:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-26 04:21:32 +0800 |
commit | 1b1733ce7c2c90f91151b71b4afbcebf946dcf34 (patch) | |
tree | d53d896e5da1442bd0f54228d12ad0a0d8753a3d /packages/order-utils/package.json | |
parent | 05b35c0fdcbca7980d4195e96ec791c1c2d13398 (diff) | |
parent | 5fd64a969b8f4d414b3f458e7d90dc12e1ad0873 (diff) | |
download | dexon-sol-tools-1b1733ce7c2c90f91151b71b4afbcebf946dcf34.tar dexon-sol-tools-1b1733ce7c2c90f91151b71b4afbcebf946dcf34.tar.gz dexon-sol-tools-1b1733ce7c2c90f91151b71b4afbcebf946dcf34.tar.bz2 dexon-sol-tools-1b1733ce7c2c90f91151b71b4afbcebf946dcf34.tar.lz dexon-sol-tools-1b1733ce7c2c90f91151b71b4afbcebf946dcf34.tar.xz dexon-sol-tools-1b1733ce7c2c90f91151b71b4afbcebf946dcf34.tar.zst dexon-sol-tools-1b1733ce7c2c90f91151b71b4afbcebf946dcf34.zip |
Merge pull request #911 from 0xProject/fix-v2-beta-migration
Update/Fix V2-beta-testnet migration & Use it in all RC packages
Diffstat (limited to 'packages/order-utils/package.json')
-rw-r--r-- | packages/order-utils/package.json | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 34d14b00f..2123cb75a 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 copy_monorepo_scripts", - "pre_build": "run-s update_artifacts generate_contract_wrappers", + "pre_build": "run-s update_artifacts_v2_beta update_artifacts_v2 generate_contract_wrappers", "transpile": "tsc", "copy_monorepo_scripts": "copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", "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": "for i in ${npm_package_config_contracts}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json lib/src/artifacts; done;", + "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;", "test": "yarn run_mocha", "rebuild_and_test": "run-s build test", "test:circleci": "yarn test:coverage", @@ -29,7 +30,8 @@ "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json" }, "config": { - "contracts": "IWallet IValidator Exchange DummyERC20Token ERC20Proxy ERC20Token", + "contracts_v2_beta": "IWallet IValidator Exchange ERC20Proxy ERC20Token", + "contracts_v2": "DummyERC20Token", "postpublish": { "docPublishConfigs": { "extraFileIncludes": [ |