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/utils/package.json | |
parent | 657b698e1eba7fde2322bb81547eba26491c0af4 (diff) | |
download | dexon-sol-tools-abfb358250200f93323851bbb56120f7fdf15dc6.tar.gz dexon-sol-tools-abfb358250200f93323851bbb56120f7fdf15dc6.tar.zst dexon-sol-tools-abfb358250200f93323851bbb56120f7fdf15dc6.zip |
Add the sol-compiler watch command to all packages
Diffstat (limited to 'contracts/utils/package.json')
-rw-r--r-- | contracts/utils/package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contracts/utils/package.json b/contracts/utils/package.json index a776bdfbb..cf94af0f6 100644 --- a/contracts/utils/package.json +++ b/contracts/utils/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", |