aboutsummaryrefslogtreecommitdiffstats
path: root/packages/metacoin
diff options
context:
space:
mode:
Diffstat (limited to 'packages/metacoin')
-rw-r--r--packages/metacoin/package.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json
index 5938c59a1..b7c0cbec9 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",