Skip to content

Commit

Permalink
Merge pull request #65 from ethereumjs/fix-dist-import-issue
Browse files Browse the repository at this point in the history
Fix dist import issue
  • Loading branch information
holgerd77 committed Aug 8, 2018
2 parents 71a51f1 + b4c1c2e commit efd2012
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ package-lock.json
.node_repl_history

# Build folder
dist
# Update 2018-08-07: currently build is done to / (before: dist/) due to
# backwards compatibility reasons, JS files from root and root test/ folder
# are excluded
/*.js
/test
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
"name": "ethereumjs-wallet",
"version": "0.6.1",
"description": "Utilities for handling Ethereum keys",
"main": "dist/index.js",
"main": "index.js",
"files": [
"dist"
"/*.js",
"test/"
],
"scripts": {
"coverage": "istanbul cover _mocha",
"coveralls": "npm run coverage && coveralls <coverage/lcov.info",
"coveralls": "npm run build:dist && npm run coverage && coveralls <coverage/lcov.info",
"lint": "standard",
"prepublishOnly": "npm run lint && npm run test:build",
"test": "mocha ./test/*.js",
"test:build": "npm run build:dist && mocha ./dist/test/*.js",
"build:dist": "babel *.js test/*.js -d dist/"
"test": "mocha ./src/test/*.js",
"test:build": "npm run build:dist && mocha ./test/*.js",
"build:dist": "babel src/ -d ."
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -54,7 +55,7 @@
"it"
],
"ignore": [
"dist/**"
"./*.js"
]
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit efd2012

Please sign in to comment.