aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen
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/abi-gen
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/abi-gen')
-rwxr-xr-xpackages/abi-gen/bin/abi-gen.js2
-rw-r--r--packages/abi-gen/package.json2
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/abi-gen/bin/abi-gen.js b/packages/abi-gen/bin/abi-gen.js
new file mode 100755
index 000000000..c46eb9b66
--- /dev/null
+++ b/packages/abi-gen/bin/abi-gen.js
@@ -0,0 +1,2 @@
+#!/usr/bin/env node
+require('../lib/index.js')
diff --git a/packages/abi-gen/package.json b/packages/abi-gen/package.json
index a151ff2e2..0fa621735 100644
--- a/packages/abi-gen/package.json
+++ b/packages/abi-gen/package.json
@@ -12,7 +12,7 @@
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
},
"bin": {
- "abi-gen": "lib/index.js"
+ "abi-gen": "bin/abi-gen.js"
},
"repository": {
"type": "git",