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/abi-gen | |
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/abi-gen')
-rwxr-xr-x | packages/abi-gen/bin/abi-gen.js | 2 | ||||
-rw-r--r-- | packages/abi-gen/package.json | 2 |
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", |