mirror of
https://github.com/embarklabs/ethereumjs-wallet.git
synced 2025-02-27 01:20:35 +00:00
Merge pull request #65 from ethereumjs/fix-dist-import-issue
Fix dist import issue
This commit is contained in:
commit
efd2012e44
6
.gitignore
vendored
6
.gitignore
vendored
@ -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
package.json
15
package.json
@ -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",
|
||||
@ -54,7 +55,7 @@
|
||||
"it"
|
||||
],
|
||||
"ignore": [
|
||||
"dist/**"
|
||||
"./*.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user