diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-08 03:13:30 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-08 03:13:30 +0800 |
commit | 5aaf87d61260ec4723e7eb0a887629b057454957 (patch) | |
tree | 0637dfabfec4e71f5cc7d3b2f46712572bb58ce0 /packages/contracts/package.json | |
parent | 10478a6b2fd1f2a01597a88afde9cf582640a849 (diff) | |
parent | 96b31f39749fb32bd89978245c79aa637791336c (diff) | |
download | dexon-sol-tools-5aaf87d61260ec4723e7eb0a887629b057454957.tar dexon-sol-tools-5aaf87d61260ec4723e7eb0a887629b057454957.tar.gz dexon-sol-tools-5aaf87d61260ec4723e7eb0a887629b057454957.tar.bz2 dexon-sol-tools-5aaf87d61260ec4723e7eb0a887629b057454957.tar.lz dexon-sol-tools-5aaf87d61260ec4723e7eb0a887629b057454957.tar.xz dexon-sol-tools-5aaf87d61260ec4723e7eb0a887629b057454957.tar.zst dexon-sol-tools-5aaf87d61260ec4723e7eb0a887629b057454957.zip |
Merge branch 'v2-prototype' into refactor/move-spawn-switch-to-utils
* v2-prototype:
Fix tslint issues
Fix tslint failure
Pass in fee and assetAmount rather then the whole signedOrder
Fix missing paths
Revert to returning orderState on invalid order
- Refactor remainingFillableCalculator so it can be used for the maker and taker side - Moved the tests over from order-watcher - Did some token -> asset renaming
Update naming in orderStateUtils to use asset over token, also removed cancelledAmount since in V2 it's binary.
Fixed path
Use source-map-support package to include correct line numbers in mocha
move generated contract wrappers from `contract_wrappers/generated/` to `generated_contract_wrappers` in package with no non-generated contract wrappers
Diffstat (limited to 'packages/contracts/package.json')
-rw-r--r-- | packages/contracts/package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 3f9160fa7..99c507197 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -18,11 +18,11 @@ "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/**/*.js' --timeout 100000 --bail --exit", + "run_mocha": "mocha --require source-map-support/register 'lib/test/**/*.js' --timeout 100000 --bail --exit", "compile": "sol-compiler", - "clean": "shx rm -rf lib src/contract_wrappers/generated", + "clean": "shx rm -rf lib src/generated_contract_wrappers", "generate_contract_wrappers": - "abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers", + "abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers", "lint": "tslint --project . --exclude **/src/contract_wrappers/**/* --exclude **/lib/**/*", "coverage:report:text": "istanbul report text", "coverage:report:html": "istanbul report html && open coverage/index.html", |