diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-02 04:49:30 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-02 04:49:30 +0800 |
commit | d567d667e861362c9af440ce70d94e85ce90bdda (patch) | |
tree | f037b82c7700973038fecaf0dd6425f5e616de28 /packages/order-utils | |
parent | 3d55bbbc2945bbbeedf55ed386f792bee1ab90a9 (diff) | |
download | dexon-sol-tools-d567d667e861362c9af440ce70d94e85ce90bdda.tar dexon-sol-tools-d567d667e861362c9af440ce70d94e85ce90bdda.tar.gz dexon-sol-tools-d567d667e861362c9af440ce70d94e85ce90bdda.tar.bz2 dexon-sol-tools-d567d667e861362c9af440ce70d94e85ce90bdda.tar.lz dexon-sol-tools-d567d667e861362c9af440ce70d94e85ce90bdda.tar.xz dexon-sol-tools-d567d667e861362c9af440ce70d94e85ce90bdda.tar.zst dexon-sol-tools-d567d667e861362c9af440ce70d94e85ce90bdda.zip |
Remove usage of `prebuild` since it doesn't run on `watch`
Diffstat (limited to 'packages/order-utils')
-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 ebfd8b8b4..43b69f616 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -9,8 +9,9 @@ "types": "lib/src/index.d.ts", "scripts": { "watch": "tsc -w", - "prebuild": "run-s clean update_artifacts generate_contract_wrappers", - "build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", + "build": "run-s clean update_artifacts generate_contract_wrappers transpile copy_monorepo_scripts", + "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'", "update_artifacts": "for i in ${npm_package_config_contracts}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json lib/src/artifacts; done;", "test": "run-s build run_mocha", |