diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-15 01:31:56 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-05-15 01:31:56 +0800 |
commit | 5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5 (patch) | |
tree | 0930cee40eeadff6dfa229d5b2f2c4582ce7a0bb /packages/0x.js/package.json | |
parent | 76f9ad0705e9d90b5bc052ee76262389ebfe2e40 (diff) | |
download | dexon-0x-contracts-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.tar.gz dexon-0x-contracts-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.tar.zst dexon-0x-contracts-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.zip |
Fix abi-gen binary so it can be called directly from packages
Diffstat (limited to 'packages/0x.js/package.json')
-rw-r--r-- | packages/0x.js/package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 028fdceaf..167edbf67 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -15,7 +15,7 @@ "watch": "tsc -w", "prebuild": "run-s clean generate_contract_wrappers", "build": "run-p build:umd:prod build:commonjs; exit 0;", - "generate_contract_wrappers": "node ../abi-gen/lib/index.js --abis 'src/compact_artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'", + "generate_contract_wrappers": "abi-gen --abis 'src/compact_artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'", "lint": "tslint --project .", "test:circleci": "run-s test:coverage", "test": "run-s clean test:commonjs", @@ -66,6 +66,7 @@ "node": ">=6.0.0" }, "devDependencies": { + "@0xproject/abi-gen": "^0.2.13", "@0xproject/sol-compiler": "^0.4.3", "@0xproject/dev-utils": "^0.4.1", "@0xproject/migrations": "^0.0.5", |