aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-15 01:31:56 +0800
committerFabio Berger <me@fabioberger.com>2018-05-15 01:31:56 +0800
commit5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5 (patch)
tree0930cee40eeadff6dfa229d5b2f2c4582ce7a0bb /packages/contract-wrappers/package.json
parent76f9ad0705e9d90b5bc052ee76262389ebfe2e40 (diff)
downloaddexon-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/contract-wrappers/package.json')
-rw-r--r--packages/contract-wrappers/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json
index 1ebdf7252..5042a14e7 100644
--- a/packages/contract-wrappers/package.json
+++ b/packages/contract-wrappers/package.json
@@ -13,7 +13,7 @@
"scripts": {
"watch": "tsc -w",
"prebuild": "run-s clean generate_contract_wrappers",
- "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 build run_mocha",
@@ -44,6 +44,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",