Skip to content

Commit

Permalink
Merge pull request #137 from srod/develop
Browse files Browse the repository at this point in the history
Merge Develop to Master : 2.0.3
  • Loading branch information
srod committed Apr 9, 2017
2 parents e7812e0 + fe39109 commit 38cf790
Show file tree
Hide file tree
Showing 22 changed files with 786 additions and 1,017 deletions.
1 change: 1 addition & 0 deletions .npmrc
@@ -1 +1,2 @@
tag-version-prefix=
save-prefix=
1 change: 1 addition & 0 deletions .yarnrc
@@ -0,0 +1 @@
save-prefix false
4 changes: 2 additions & 2 deletions LICENSE
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016 Rodolphe Stoclin
Copyright (c) 2017 Rodolphe Stoclin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -20,7 +20,7 @@ install:
- set PATH=%APPDATA%\npm;%PATH%
- node --version
- npm --version
- npm install
- appveyor-retry npm install

test_script:
- cmd: npm run test
2 changes: 1 addition & 1 deletion index.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/compress.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
5 changes: 3 additions & 2 deletions lib/compressors/babili.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand All @@ -12,6 +12,7 @@

var Promise = require('bluebird');
var babel = require('babel-core');
var babelPresetBabili = require('babel-preset-babili');
var utils = require('../utils');

/**
Expand Down Expand Up @@ -43,7 +44,7 @@ function compressBabili(settings, content) {
}

if (babelOptions.presets.indexOf('babili') === -1) {
babelOptions.presets = babelOptions.presets.concat(['babili']);
babelOptions.presets = babelOptions.presets.concat([babelPresetBabili]);
}

var contentMinified = babel.transform(content, babelOptions);
Expand Down
2 changes: 1 addition & 1 deletion lib/compressors/clean-css.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/compressors/csso.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/compressors/gcc-java.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/compressors/gcc.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/compressors/no-compress.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/compressors/sqwish.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/compressors/uglifyjs.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/compressors/yui.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/deprecated.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/node-minify.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/runner.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/setup.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/utils.js
@@ -1,6 +1,6 @@
/*!
* node-minify
* Copyright(c) 2011-2016 Rodolphe Stoclin
* Copyright(c) 2011-2017 Rodolphe Stoclin
* MIT Licensed
*/

Expand Down
57 changes: 28 additions & 29 deletions package.json
Expand Up @@ -15,23 +15,7 @@
"url": "https://github.com/srod/node-minify.git"
},
"engines": {
"node": ">=0.12.0",
"iojs": ">=1.0.0"
},
"dependencies": {
"babel-core": "^6.18.0",
"babel-preset-babili": "0.0.5",
"bluebird": "^3.4.6",
"clean-css": "^3.4.19",
"csso": "^2.3.0",
"depd": "^1.1.0",
"glob": "^7.1.1",
"google-closure-compiler-js": "^20161024.0.0",
"mkdirp": "^0.5.1",
"node-version": "^1.0.0",
"sqwish": "^0.2.2",
"uglify-js": "^2.7.4",
"xtend": "^4.0.1"
"node": ">=4.0.0"
},
"keywords": [
"compressor",
Expand Down Expand Up @@ -59,21 +43,36 @@
"posttest": "npm run clean",
"clean": "rm -f ./examples/public/dist/*",
"clean-cov": "npm run clean && rm -Rf ./coverage",
"release-patch": "npm version patch -m 'Bump %s' && git push --tags origin HEAD:develop",
"release-minor": "npm version minor -m 'Bump %s' && git push --tags origin HEAD:develop",
"release-major": "npm version major -m 'Bump %s' && git push --tags origin HEAD:develop",
"release-patch": "npm version patch -m 'Bump %s' && git push --tags origin HEAD:master",
"release-minor": "npm version minor -m 'Bump %s' && git push --tags origin HEAD:master",
"release-major": "npm version major -m 'Bump %s' && git push --tags origin HEAD:master",
"publish-latest": "npm publish",
"publish-beta": "npm publish --tag beta"
},
"dependencies": {
"babel-core": "6.22.1",
"babel-preset-babili": "0.0.11",
"bluebird": "3.4.7",
"clean-css": "4.0.6",
"csso": "2.3.1",
"depd": "1.1.0",
"glob": "7.1.1",
"google-closure-compiler-js": "20170124.0.0",
"mkdirp": "0.5.1",
"node-version": "1.0.0",
"sqwish": "0.2.2",
"uglify-js": "2.7.5",
"xtend": "4.0.1"
},
"devDependencies": {
"babel-preset-es2015": "^6.18.0",
"chai": "^3.5.0",
"coveralls": "^2.11.12",
"decache": "^4.1.0",
"eslint": "^3.9.1",
"istanbul": "^0.4.5",
"mocha": "^3.1.2",
"should": "^11.1.1",
"sinon": "^1.17.5"
"babel-preset-es2015": "6.24.1",
"chai": "3.5.0",
"coveralls": "2.13.0",
"decache": "4.1.0",
"eslint": "3.19.0",
"istanbul": "0.4.5",
"mocha": "3.2.0",
"should": "11.2.1",
"sinon": "2.1.0"
}
}

0 comments on commit 38cf790

Please sign in to comment.