aboutsummaryrefslogtreecommitdiffstats
path: root/packages/metacoin/package.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-12 02:59:48 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-12 02:59:48 +0800
commit83ddaccf4a7c855ed726399cb587ec7e1abe28f4 (patch)
treee640cd2f761d9b0d739dbae0367fe412b549f88e /packages/metacoin/package.json
parente0c0584c593e3d948652c1cb58f39042c5b8f488 (diff)
downloaddexon-sol-tools-83ddaccf4a7c855ed726399cb587ec7e1abe28f4.tar
dexon-sol-tools-83ddaccf4a7c855ed726399cb587ec7e1abe28f4.tar.gz
dexon-sol-tools-83ddaccf4a7c855ed726399cb587ec7e1abe28f4.tar.bz2
dexon-sol-tools-83ddaccf4a7c855ed726399cb587ec7e1abe28f4.tar.lz
dexon-sol-tools-83ddaccf4a7c855ed726399cb587ec7e1abe28f4.tar.xz
dexon-sol-tools-83ddaccf4a7c855ed726399cb587ec7e1abe28f4.tar.zst
dexon-sol-tools-83ddaccf4a7c855ed726399cb587ec7e1abe28f4.zip
Add profiler and geth tests to metacoin
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 335bf66ac..9b706fa09 100644
--- a/packages/metacoin/package.json
+++ b/packages/metacoin/package.json
@@ -7,7 +7,6 @@
"private": true,
"description": "Example solidity project using 0x dev tools",
"scripts": {
- "watch": "tsc -w",
"lint": "tslint --project . --exclude **/src/contract_wrappers/**/*",
"watch_without_deps": "yarn pre_build && tsc -w",
"build": "yarn pre_build && tsc",
@@ -17,10 +16,12 @@
"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",
+ "test:profile": "SOLIDITY_PROFILER=true run-s build run_mocha profiler:report:html",
"run_mocha": "mocha --require source-map-support/register lib/test/**/*_test.js lib/test/global_hooks.js --bail --exit --timeout 10000",
"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",
"coverage:report:text": "istanbul report text",
"coverage:report:html": "istanbul report html && open coverage/index.html",
+ "profiler:report:html": "istanbul report html && open coverage/index.html",
"coverage:report:lcov": "istanbul report lcov",
"test:circleci": "yarn test:coverage",
"compile": "sol-compiler compile"