aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/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/contracts/package.json
parent76f9ad0705e9d90b5bc052ee76262389ebfe2e40 (diff)
downloaddexon-sol-tools-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.tar
dexon-sol-tools-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.tar.gz
dexon-sol-tools-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.tar.bz2
dexon-sol-tools-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.tar.lz
dexon-sol-tools-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.tar.xz
dexon-sol-tools-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.tar.zst
dexon-sol-tools-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.zip
Fix abi-gen binary so it can be called directly from packages
Diffstat (limited to 'packages/contracts/package.json')
-rw-r--r--packages/contracts/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 14f6e53f0..ec41f951b 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -18,7 +18,7 @@
"compile:comment": "Yarn workspaces do not link binaries correctly so we need to reference them directly https://github.com/yarnpkg/yarn/issues/3846",
"compile": "node ../sol-compiler/lib/src/cli.js",
"clean": "shx rm -rf lib src/contract_wrappers/generated",
- "generate_contract_wrappers": "node ../abi-gen/lib/index.js --abis ${npm_package_config_abis} --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 ${npm_package_config_abis} --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 .",
"coverage:report:text": "istanbul report text",
"coverage:report:html": "istanbul report html && open coverage/index.html",
@@ -39,6 +39,7 @@
},
"homepage": "https://github.com/0xProject/0x-monorepo/packages/contracts/README.md",
"devDependencies": {
+ "@0xproject/abi-gen": "^0.2.13",
"@0xproject/dev-utils": "^0.4.1",
"@0xproject/tslint-config": "^0.4.17",
"@types/lodash": "4.14.104",