diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-19 21:13:35 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-19 22:41:49 +0800 |
commit | abfb358250200f93323851bbb56120f7fdf15dc6 (patch) | |
tree | 21ded78f943345590aad8bbcd14b4c314aab535c /contracts/interfaces | |
parent | 657b698e1eba7fde2322bb81547eba26491c0af4 (diff) | |
download | dexon-0x-contracts-abfb358250200f93323851bbb56120f7fdf15dc6.tar dexon-0x-contracts-abfb358250200f93323851bbb56120f7fdf15dc6.tar.gz dexon-0x-contracts-abfb358250200f93323851bbb56120f7fdf15dc6.tar.bz2 dexon-0x-contracts-abfb358250200f93323851bbb56120f7fdf15dc6.tar.lz dexon-0x-contracts-abfb358250200f93323851bbb56120f7fdf15dc6.tar.xz dexon-0x-contracts-abfb358250200f93323851bbb56120f7fdf15dc6.tar.zst dexon-0x-contracts-abfb358250200f93323851bbb56120f7fdf15dc6.zip |
Add the sol-compiler watch command to all packages
Diffstat (limited to 'contracts/interfaces')
-rw-r--r-- | contracts/interfaces/package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contracts/interfaces/package.json b/contracts/interfaces/package.json index 4d3e4b7f9..15385a154 100644 --- a/contracts/interfaces/package.json +++ b/contracts/interfaces/package.json @@ -10,7 +10,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", |