diff options
Diffstat (limited to 'packages/metacoin/package.json')
-rw-r--r-- | packages/metacoin/package.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json index b7c0cbec9..35e54314a 100644 --- a/packages/metacoin/package.json +++ b/packages/metacoin/package.json @@ -7,17 +7,18 @@ "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", "pre_build": "run-s compile generate_contract_wrappers copy_artifacts", - "lint": "tslint --project .", "clean": "shx rm -rf lib artifacts src/contract_wrappers", "copy_artifacts": "copyfiles './artifacts/**/*' './contracts/**/*' ./lib", "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", "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'", + "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", "coverage:report:lcov": "istanbul report lcov", |