aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-20 22:29:47 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-20 22:30:47 +0800
commit6e15d7bb0f965b2e2f96c2355960b905c6fd8587 (patch)
tree227135f185cfb9b43e50e27953380af1b38c2b9a
parent0a3ba4d27dee67ca3072782679cb7f6896c4d73b (diff)
downloaddexon-0x-contracts-6e15d7bb0f965b2e2f96c2355960b905c6fd8587.tar.gz
dexon-0x-contracts-6e15d7bb0f965b2e2f96c2355960b905c6fd8587.tar.zst
dexon-0x-contracts-6e15d7bb0f965b2e2f96c2355960b905c6fd8587.zip
Fix the abi-gen entry point
-rw-r--r--packages/abi-gen/CHANGELOG.json9
-rwxr-xr-xpackages/abi-gen/bin/abi-gen.js2
-rw-r--r--packages/abi-gen/package.json4
3 files changed, 12 insertions, 3 deletions
diff --git a/packages/abi-gen/CHANGELOG.json b/packages/abi-gen/CHANGELOG.json
index 0207266a2..a8f9c709c 100644
--- a/packages/abi-gen/CHANGELOG.json
+++ b/packages/abi-gen/CHANGELOG.json
@@ -1,5 +1,14 @@
[
{
+ "version": "1.0.1",
+ "changes": [
+ {
+ "note": "Fix the abi-gen entry point in package.json",
+ "pr": 901
+ }
+ ]
+ },
+ {
"version": "1.0.0",
"changes": [
{
diff --git a/packages/abi-gen/bin/abi-gen.js b/packages/abi-gen/bin/abi-gen.js
index 8d6bdccf8..73ffe76ed 100755
--- a/packages/abi-gen/bin/abi-gen.js
+++ b/packages/abi-gen/bin/abi-gen.js
@@ -1,2 +1,2 @@
#!/usr/bin/env node
-require('../lib/src/index.js')
+require('../lib/src/index.js');
diff --git a/packages/abi-gen/package.json b/packages/abi-gen/package.json
index 41561268c..d40db09b9 100644
--- a/packages/abi-gen/package.json
+++ b/packages/abi-gen/package.json
@@ -5,8 +5,8 @@
"node": ">=6.12"
},
"description": "Generate contract wrappers from ABI and handlebars templates",
- "main": "lib/index.js",
- "types": "lib/index.d.ts",
+ "main": "lib/src/index.js",
+ "types": "lib/src/index.d.ts",
"scripts": {
"watch_without_deps": "tsc -w",
"lint": "tslint --project .",