diff options
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | package.json | 30 |
2 files changed, 28 insertions, 7 deletions
@@ -6,9 +6,8 @@ UglifyJS is a JavaScript parser, minifier, compressor and beautifier toolkit. #### Note: - **`uglify-js@3` has a simplified [API](#api-reference) and [CLI](#command-line-usage) that is not backwards compatible with [`uglify-js@2`](https://github.com/mishoo/UglifyJS2/tree/v2.x)**. - **Documentation for UglifyJS `2.x` releases can be found [here](https://github.com/mishoo/UglifyJS2/tree/v2.x)**. -- `uglify-js` only supports ECMAScript 5 (ES5). -- Those wishing to minify -ES2015+ (ES6+) should use the `npm` package [**uglify-es**](https://github.com/mishoo/UglifyJS2/tree/harmony). +- `uglify-js` only supports JavaScript (ECMAScript 5). +- To minify ECMAScript 2015 or above, transpile using tools like [Babel](https://babeljs.io/). Install ------- diff --git a/package.json b/package.json index d754cf3d..d82580c7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,6 @@ { "name": "uglify-js", "description": "JavaScript parser, mangler/compressor and beautifier toolkit", - "homepage": "http://lisperator.net/uglifyjs", "author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)", "license": "BSD-2-Clause", "version": "3.3.14", @@ -24,16 +23,39 @@ "LICENSE" ], "dependencies": { - "commander": "~2.14.1", + "commander": "~2.15.0", "source-map": "~0.6.1" }, "devDependencies": { - "acorn": "~5.4.1", + "acorn": "~5.5.3", "mocha": "~3.5.1", "semver": "~5.5.0" }, "scripts": { "test": "node test/run-tests.js" }, - "keywords": ["uglify", "uglify-js", "minify", "minifier", "es5"] + "keywords": [ + "cli", + "compress", + "compressor", + "ecma", + "ecmascript", + "es", + "es5", + "javascript", + "js", + "jsmin", + "min", + "minification", + "minifier", + "minify", + "optimize", + "optimizer", + "pack", + "packer", + "parse", + "parser", + "uglifier", + "uglify" + ] } |