diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-05 04:36:34 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-05 05:13:17 +0800 |
commit | c4538cada7017a838c268ba1f01824a4e1e25928 (patch) | |
tree | 26e43726cff2fdf0d59381314daac056d2946db8 /packages/metacoin | |
parent | 79472552aae4ef60ae20e26571c750cbeb02c552 (diff) | |
download | dexon-0x-contracts-c4538cada7017a838c268ba1f01824a4e1e25928.tar dexon-0x-contracts-c4538cada7017a838c268ba1f01824a4e1e25928.tar.gz dexon-0x-contracts-c4538cada7017a838c268ba1f01824a4e1e25928.tar.bz2 dexon-0x-contracts-c4538cada7017a838c268ba1f01824a4e1e25928.tar.lz dexon-0x-contracts-c4538cada7017a838c268ba1f01824a4e1e25928.tar.xz dexon-0x-contracts-c4538cada7017a838c268ba1f01824a4e1e25928.tar.zst dexon-0x-contracts-c4538cada7017a838c268ba1f01824a4e1e25928.zip |
Don't automatically rebuild when running yarn test
Diffstat (limited to 'packages/metacoin')
-rw-r--r-- | packages/metacoin/package.json | 3 |
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'", |