aboutsummaryrefslogtreecommitdiffstats
path: root/packages/metacoin
diff options
context:
space:
mode:
Diffstat (limited to 'packages/metacoin')
-rw-r--r--packages/metacoin/package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json
index 25547de66..ff8cea62c 100644
--- a/packages/metacoin/package.json
+++ b/packages/metacoin/package.json
@@ -9,10 +9,11 @@
"scripts": {
"watch": "tsc -w",
"lint": "tslint --project . --exclude **/src/contract_wrappers/**/*",
+ "watch_without_deps": "yarn pre_build && tsc -w",
+ "build": "yarn pre_build && tsc",
+ "pre_build": "run-s compile generate_contract_wrappers copy_artifacts",
"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",