aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/libs
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/libs
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/libs')
-rw-r--r--contracts/libs/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/contracts/libs/package.json b/contracts/libs/package.json
index fa4b6e523..ce7b97502 100644
--- a/contracts/libs/package.json
+++ b/contracts/libs/package.json
@@ -19,7 +19,8 @@
"test:profiler": "SOLIDITY_PROFILER=true run-s build run_mocha profiler:report:html",
"test:trace": "SOLIDITY_REVERT_TRACE=true run-s build run_mocha",
"run_mocha": "mocha --require source-map-support/register --require make-promises-safe 'lib/test/**/*.js' --timeout 100000 --bail --exit",
- "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",