diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-05 21:38:40 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-05 21:38:40 +0800 |
commit | 25f62daf146895a1e0e0c966166f08f28467ae2e (patch) | |
tree | 6366e90b21d8aa4198c8719f005b4e2e51f26fa3 /packages/metacoin | |
parent | 44a736c53b8901ee36dbe009ad570930bbc8e676 (diff) | |
download | dexon-0x-contracts-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.gz dexon-0x-contracts-25f62daf146895a1e0e0c966166f08f28467ae2e.tar.zst dexon-0x-contracts-25f62daf146895a1e0e0c966166f08f28467ae2e.zip |
- Rename watch to watch_without_deps in sub-packages, so dev's don't confuse running watch from root dir, with sub-package dir
- stop using special prebuild script name and run pre_build steps for `watch` and `build` commands
- Remove `clean` step from `build`/`watch`
Diffstat (limited to 'packages/metacoin')
-rw-r--r-- | packages/metacoin/package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json index 19582327a..90feb013c 100644 --- a/packages/metacoin/package.json +++ b/packages/metacoin/package.json @@ -7,12 +7,12 @@ "private": true, "description": "Example solidity project using 0x dev tools", "scripts": { - "watch": "tsc -w", + "watch_without_deps": "yarn pre_build && tsc -w", + "build": "yarn pre_build && tsc", + "pre_build": "run-s compile generate_contract_wrappers copy_artifacts", "lint": "tslint --project .", "clean": "shx rm -rf lib artifacts src/contract_wrappers", - "prebuild": "run-s clean compile generate_contract_wrappers copy_artifacts", "copy_artifacts": "copyfiles './artifacts/**/*' './contracts/**/*' ./lib", - "build": "tsc", "test": "yarn run_mocha", "rebuild-and-test": "run-s build test", "test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov", |