diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-06 20:46:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-06 20:46:52 +0800 |
commit | af1d5fce6ea355b12bf5f63f51ea81ff596f7868 (patch) | |
tree | 6dd6a07be9c6fabf94e1c3250faa86c1dc6aa26c /packages/fill-scenarios | |
parent | cc39eea9991306eabadd912256452f67fb49c20b (diff) | |
parent | 54b86b61312ac13bfe32d066ac08a79e7aabced8 (diff) | |
download | dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar.gz dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar.bz2 dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar.lz dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar.xz dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.tar.zst dexon-sol-tools-af1d5fce6ea355b12bf5f63f51ea81ff596f7868.zip |
Merge pull request #665 from 0xProject/fix/fix-build-watch
Improve Build/Watch Commands
Diffstat (limited to 'packages/fill-scenarios')
-rw-r--r-- | packages/fill-scenarios/package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/fill-scenarios/package.json b/packages/fill-scenarios/package.json index 8931958e9..c723c5ea0 100644 --- a/packages/fill-scenarios/package.json +++ b/packages/fill-scenarios/package.json @@ -5,9 +5,9 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { - "watch": "yarn update_contract_wrappers && tsc -w", - "build": "yarn update_contract_wrappers && tsc", - "update_contract_wrappers": "run-s clean update_artifacts generate_contract_wrappers", + "watch_without_deps": "yarn pre_build && tsc -w", + "build": "yarn pre_build && tsc", + "pre_build": "run-s update_artifacts generate_contract_wrappers", "update_artifacts": "for i in ${npm_package_config_contracts}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json lib/artifacts; done;", "generate_contract_wrappers": "abi-gen --abis 'lib/artifacts/@(Exchange|ERC20Token|DummyERC20Token).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers && prettier --write 'src/generated_contract_wrappers/**.ts'", "copy_monorepo_scripts": "copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", |