aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/examples
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-12-19 21:13:35 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-12-19 22:41:49 +0800
commitabfb358250200f93323851bbb56120f7fdf15dc6 (patch)
tree21ded78f943345590aad8bbcd14b4c314aab535c /contracts/examples
parent657b698e1eba7fde2322bb81547eba26491c0af4 (diff)
downloaddexon-sol-tools-abfb358250200f93323851bbb56120f7fdf15dc6.tar
dexon-sol-tools-abfb358250200f93323851bbb56120f7fdf15dc6.tar.gz
dexon-sol-tools-abfb358250200f93323851bbb56120f7fdf15dc6.tar.bz2
dexon-sol-tools-abfb358250200f93323851bbb56120f7fdf15dc6.tar.lz
dexon-sol-tools-abfb358250200f93323851bbb56120f7fdf15dc6.tar.xz
dexon-sol-tools-abfb358250200f93323851bbb56120f7fdf15dc6.tar.zst
dexon-sol-tools-abfb358250200f93323851bbb56120f7fdf15dc6.zip
Add the sol-compiler watch command to all packages
Diffstat (limited to 'contracts/examples')
-rw-r--r--contracts/examples/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/contracts/examples/package.json b/contracts/examples/package.json
index 77846241e..37b73f98c 100644
--- a/contracts/examples/package.json
+++ b/contracts/examples/package.json
@@ -13,7 +13,8 @@
"build": "yarn pre_build && tsc -b",
"build:ci": "yarn build",
"pre_build": "run-s compile generate_contract_wrappers",
- "compile": "sol-compiler --contracts-dir contracts",
+ "compile": "sol-compiler",
+ "watch": "sol-compiler -w",
"clean": "shx rm -rf lib generated-artifacts generated-wrappers",
"generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --template ../../node_modules/@0x/abi-gen-templates/contract.handlebars --partials '../../node_modules/@0x/abi-gen-templates/partials/**/*.handlebars' --output generated-wrappers --backend ethers",
"lint": "tslint --format stylish --project . --exclude ./generated-wrappers/**/* --exclude ./generated-artifacts/**/* --exclude **/lib/**/* && yarn lint-contracts",