This repository was archived by the owner on Oct 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "presets" : [
3
+ [
4
+ " env"
5
+ ]
6
+ ]
7
+ }
Original file line number Diff line number Diff line change @@ -33,3 +33,6 @@ package-lock.json
33
33
34
34
# Optional REPL history
35
35
.node_repl_history
36
+
37
+ # Build folder
38
+ dist
Original file line number Diff line number Diff line change 2
2
"name" : " ethereumjs-wallet" ,
3
3
"version" : " 0.6.0" ,
4
4
"description" : " Utilities for handling Ethereum keys" ,
5
- "main" : " index.js" ,
5
+ "main" : " dist/index.js" ,
6
+ "files" : [
7
+ " dist"
8
+ ],
6
9
"scripts" : {
7
10
"coverage" : " istanbul cover _mocha" ,
8
11
"coveralls" : " npm run coverage && coveralls <coverage/lcov.info" ,
9
12
"lint" : " standard" ,
10
- "prepublish" : " npm run lint && npm run test" ,
11
- "test" : " mocha ./test/**/*.js"
13
+ "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/"
12
17
},
13
18
"repository" : {
14
19
"type" : " git" ,
36
41
"uuid" : " ^3.2.1"
37
42
},
38
43
"devDependencies" : {
44
+ "babel-cli" : " ^6.26.0" ,
45
+ "babel-preset-env" : " ^1.6.1" ,
39
46
"coveralls" : " ^3.0.0" ,
40
47
"istanbul" : " ^0.4.5" ,
41
48
"mocha" : " ^5.0.0" ,
45
52
"globals" : [
46
53
" describe" ,
47
54
" it"
55
+ ],
56
+ "ignore" : [
57
+ " dist/**"
48
58
]
49
59
}
50
60
}
You can’t perform that action at this time.
0 commit comments