aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-06 20:46:52 +0800
committerGitHub <noreply@github.com>2018-06-06 20:46:52 +0800
commitaf1d5fce6ea355b12bf5f63f51ea81ff596f7868 (patch)
tree6dd6a07be9c6fabf94e1c3250faa86c1dc6aa26c /packages/order-utils/package.json
parentcc39eea9991306eabadd912256452f67fb49c20b (diff)
parent54b86b61312ac13bfe32d066ac08a79e7aabced8 (diff)
downloaddexon-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/order-utils/package.json')
-rw-r--r--packages/order-utils/package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json
index 41c2f8757..da168610b 100644
--- a/packages/order-utils/package.json
+++ b/packages/order-utils/package.json
@@ -8,8 +8,9 @@
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
"scripts": {
- "watch": "tsc -w",
- "build": "run-s clean update_artifacts generate_contract_wrappers transpile copy_monorepo_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",
"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).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'",