diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-05 21:38:40 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-05 21:38:40 +0800 |
commit | 25f62daf146895a1e0e0c966166f08f28467ae2e (patch) | |
tree | 6366e90b21d8aa4198c8719f005b4e2e51f26fa3 /packages/order-utils/package.json | |
parent | 44a736c53b8901ee36dbe009ad570930bbc8e676 (diff) | |
download | dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.gz dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.bz2 dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.lz dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.xz dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.zst dexon-sol-tools-25f62daf146895a1e0e0c966166f08f28467ae2e.zip |
- Rename watch to watch_without_deps in sub-packages, so dev's don't confuse running watch from root dir, with sub-package dir
- stop using special prebuild script name and run pre_build steps for `watch` and `build` commands
- Remove `clean` step from `build`/`watch`
Diffstat (limited to 'packages/order-utils/package.json')
-rw-r--r-- | packages/order-utils/package.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 5a04c58f7..f9785ce17 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'", |