File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -31,3 +31,6 @@ node_modules
31
31
32
32
# Optional REPL history
33
33
.node_repl_history
34
+
35
+ # Remove dist folder
36
+ dist
Original file line number Diff line number Diff line change 2
2
"name" : " immutable-ext" ,
3
3
"version" : " 1.1.2" ,
4
4
"description" : " fantasyland compatible extensions" ,
5
- "main" : " index.js" ,
5
+ "main" : " dist/ index.js" ,
6
6
"engines" : {
7
7
"node" : " >=6.2.0"
8
8
},
13
13
"immutable" : " *"
14
14
},
15
15
"devDependencies" : {
16
- "immutable" : " *" ,
16
+ "babel-cli" : " ^6.24.1" ,
17
+ "babel-preset-es2015" : " ^6.24.1" ,
17
18
"daggy" : " ^0.0.1" ,
18
19
"fantasy-identities" : " ^0.0.1" ,
20
+ "immutable" : " *" ,
19
21
"mocha" : " ^2.4.5"
20
22
},
21
23
"scripts" : {
22
- "test" : " mocha --watch test/**.js"
24
+ "test" : " mocha --watch test/**.js" ,
25
+ "compile" : " babel --presets es2015 -d dist/ ./index.js" ,
26
+ "prepublish" : " npm run compile"
23
27
},
24
28
"keywords" : [
25
29
" functional" ,
You can’t perform that action at this time.
0 commit comments