Skip to content

Commit 35fa0c4

Browse files
committed
Merge branch 'master' of github.com:jhowardjr/cidairav into develop
2 parents 1b30989 + ffdadd3 commit 35fa0c4

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

.babelrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"presets": [
3+
"babel-preset-env"
4+
],
5+
"env": {
6+
"production": {
7+
"presets": [
8+
"minify"
9+
]
10+
}
11+
}
12+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ typings/
6363
# coverall token
6464
.coveralls.yml
6565

66+
dist
6667
.DS_Store
6768
untitled.sublime-project
6869
untitled.sublime-workspace

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "variadic.js",
3-
"version": "0.0.18",
3+
"version": "0.0.20",
44
"description": "A ES6 library of useful variadic functions.",
5-
"main": "index.js",
5+
"main": "dist/index.js",
66
"scripts": {
77
"test": "nyc jasmine",
88
"lint": "eslint index.js lib/**/*.js spec/**/*.js",
99
"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"
1112
},
1213
"repository": {
1314
"type": "git",
@@ -24,7 +25,11 @@
2425
},
2526
"homepage": "https://github.com/variadicjs/variadic.js",
2627
"devDependencies": {
28+
"babel-cli": "^6.26.0",
29+
"babel-preset-env": "^1.6.1",
30+
"babel-preset-minify": "^0.3.0",
2731
"coveralls": "^3.0.0",
32+
"cross-env": "^5.1.3",
2833
"eslint": "^4.16.0",
2934
"eslint-config-airbnb-base": "^12.1.0",
3035
"eslint-config-airbnb-standard": "^1.6.6",

0 commit comments

Comments
 (0)