File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "presets" : [
3
+ " babel-preset-env"
4
+ ],
5
+ "env" : {
6
+ "production" : {
7
+ "presets" : [
8
+ " minify"
9
+ ]
10
+ }
11
+ }
12
+ }
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ typings/
63
63
# coverall token
64
64
.coveralls.yml
65
65
66
+ dist
66
67
.DS_Store
67
68
untitled.sublime-project
68
69
untitled.sublime-workspace
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " variadic.js" ,
3
- "version" : " 0.0.18 " ,
3
+ "version" : " 0.0.20 " ,
4
4
"description" : " A ES6 library of useful variadic functions." ,
5
- "main" : " index.js" ,
5
+ "main" : " dist/ index.js" ,
6
6
"scripts" : {
7
7
"test" : " nyc jasmine" ,
8
8
"lint" : " eslint index.js lib/**/*.js spec/**/*.js" ,
9
9
"fix" : " eslint index.js lib/**/*.js spec/**/*.js --fix" ,
10
- "coveralls" : " nyc jasmine && nyc report --reporter=text-lcov | coveralls"
10
+ "coveralls" : " nyc jasmine && nyc report --reporter=text-lcov | coveralls" ,
11
+ "build" : " BABEL_ENV=production babel index.js -d dist && BABEL_ENV=production babel lib/ -d dist/lib"
11
12
},
12
13
"repository" : {
13
14
"type" : " git" ,
24
25
},
25
26
"homepage" : " https://github.com/variadicjs/variadic.js" ,
26
27
"devDependencies" : {
28
+ "babel-cli" : " ^6.26.0" ,
29
+ "babel-preset-env" : " ^1.6.1" ,
30
+ "babel-preset-minify" : " ^0.3.0" ,
27
31
"coveralls" : " ^3.0.0" ,
32
+ "cross-env" : " ^5.1.3" ,
28
33
"eslint" : " ^4.16.0" ,
29
34
"eslint-config-airbnb-base" : " ^12.1.0" ,
30
35
"eslint-config-airbnb-standard" : " ^1.6.6" ,
You can’t perform that action at this time.
0 commit comments