Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit efd2012

Browse files
authored
Merge pull request #65 from ethereumjs/fix-dist-import-issue
Fix dist import issue
2 parents 71a51f1 + b4c1c2e commit efd2012

File tree

8 files changed

+13
-8
lines changed

8 files changed

+13
-8
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,8 @@ package-lock.json
3535
.node_repl_history
3636

3737
# Build folder
38-
dist
38+
# Update 2018-08-07: currently build is done to / (before: dist/) due to
39+
# backwards compatibility reasons, JS files from root and root test/ folder
40+
# are excluded
41+
/*.js
42+
/test

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@
22
"name": "ethereumjs-wallet",
33
"version": "0.6.1",
44
"description": "Utilities for handling Ethereum keys",
5-
"main": "dist/index.js",
5+
"main": "index.js",
66
"files": [
7-
"dist"
7+
"/*.js",
8+
"test/"
89
],
910
"scripts": {
1011
"coverage": "istanbul cover _mocha",
11-
"coveralls": "npm run coverage && coveralls <coverage/lcov.info",
12+
"coveralls": "npm run build:dist && npm run coverage && coveralls <coverage/lcov.info",
1213
"lint": "standard",
1314
"prepublishOnly": "npm run lint && npm run test:build",
14-
"test": "mocha ./test/*.js",
15-
"test:build": "npm run build:dist && mocha ./dist/test/*.js",
16-
"build:dist": "babel *.js test/*.js -d dist/"
15+
"test": "mocha ./src/test/*.js",
16+
"test:build": "npm run build:dist && mocha ./test/*.js",
17+
"build:dist": "babel src/ -d ."
1718
},
1819
"repository": {
1920
"type": "git",
@@ -54,7 +55,7 @@
5455
"it"
5556
],
5657
"ignore": [
57-
"dist/**"
58+
"./*.js"
5859
]
5960
}
6061
}
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 commit comments

Comments
 (0)