aboutsummaryrefslogtreecommitdiffstats
path: root/packages/metacoin/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/metacoin/package.json')
-rw-r--r--packages/metacoin/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json
index a85bf8f77..ca6361eba 100644
--- a/packages/metacoin/package.json
+++ b/packages/metacoin/package.json
@@ -13,7 +13,8 @@
"prebuild": "run-s clean compile generate_contract_wrappers copy_artifacts",
"copy_artifacts": "copyfiles './artifacts/**/*' './contracts/**/*' ./lib",
"build": "tsc",
- "test": "run-s build run_mocha",
+ "test": "yarn run_mocha",
+ "rebuild-and-test": "run-s clean build test",
"test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov",
"run_mocha": "mocha lib/test/**/*_test.js lib/test/global_hooks.js --bail --exit",
"generate_contract_wrappers": "abi-gen --abis 'artifacts/Metacoin.json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers && prettier --write 'src/contract_wrappers/**.ts'",