fly-uglify
Advanced tools
Comparing version 0.0.3 to 0.1.0
{ | ||
"name": "fly-uglify", | ||
"version": "0.0.3", | ||
"description": "Fly plugin for Uglify", | ||
"version": "0.1.0", | ||
"description": "Uglify plugin for Fly", | ||
"license": "MIT", | ||
@@ -9,3 +9,8 @@ "repository": "https://github.com/bucaran/fly-uglify", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"lint": "eslint *.js", | ||
"tape": "tape test/*.js", | ||
"test": "npm run lint && npm run tape | tspec", | ||
"build": "echo No build task specified.", | ||
"deploy": "npm run test && git push origin master && npm publish", | ||
"test-ci": "node --harmony --harmony_arrow_functions ./node_modules/tape/bin/tape test/*.js" | ||
}, | ||
@@ -16,3 +21,12 @@ "author": "Jorge Bucaran", | ||
"uglify-js": "^2.4.23" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^0.21.2", | ||
"tap-spec": "^4.0.2", | ||
"tape": "^4.0.0" | ||
}, | ||
"engines": { | ||
"iojs": ">= 1.0.0", | ||
"node": ">= 0.11.0" | ||
} | ||
} |
@@ -7,8 +7,12 @@ <div align="center"> | ||
[![][fly-badge]][fly] ![][mit-badge] | ||
> [Uglify](https://github.com/mishoo/UglifyJS2) plugin for _[Fly][fly]_. | ||
> [Fly][fly] plugin for [Uglify](https://github.com/mishoo/UglifyJS2) | ||
[![][fly-badge]][fly] | ||
[![npm package][npm-ver-link]][releases] | ||
[![][dl-badge]][npm-pkg-link] | ||
[![][travis-badge]][travis-link] | ||
[![][mit-badge]][mit] | ||
## Usage | ||
To learn about what options are available, check out the Uglify [CLI options](https://github.com/mishoo/UglifyJS2#usage). | ||
> Check out the [documentation](https://github.com/mishoo/UglifyJS2#usage) to see the available options. | ||
@@ -24,7 +28,7 @@ ### Install | ||
```js | ||
exports.build = function* () { | ||
export build = function* () { | ||
yield this | ||
.source("src/*.js") | ||
.source("src/**/*.uglify") | ||
.uglify() | ||
.target("dist") | ||
.target("dist/") | ||
} | ||
@@ -35,15 +39,16 @@ ``` | ||
[MIT](http://opensource.org/licenses/MIT) © [Jorge Bucaran][author] et [al](https://github.com/bucaran/fly-uglify/graphs/contributors) | ||
[MIT][mit] © [Jorge Bucaran][author] et [al][contributors] | ||
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/bucaran/fly/trend.png)](https://bitdeli.com/free "Bitdeli Badge") | ||
[author]: http://about.bucaran.me | ||
[fly]: https://www.github.com/flyjs/fly | ||
[fly-badge]: https://img.shields.io/badge/fly-JS-05B3E1.svg?style=flat-square | ||
[mit-badge]: https://img.shields.io/badge/license-MIT-444444.svg?style=flat-square | ||
[mit]: http://opensource.org/licenses/MIT | ||
[author]: http://about.bucaran.me | ||
[contributors]: https://github.com/bucaran/fly-uglify/graphs/contributors | ||
[releases]: https://github.com/bucaran/fly-uglify/releases | ||
[fly]: https://www.github.com/flyjs/fly | ||
[fly-badge]: https://img.shields.io/badge/fly-JS-05B3E1.svg?style=flat-square | ||
[mit-badge]: https://img.shields.io/badge/license-MIT-444444.svg?style=flat-square | ||
[npm-pkg-link]: https://www.npmjs.org/package/fly-uglify | ||
[npm-ver-link]: https://img.shields.io/npm/v/fly-uglify.svg?style=flat-square | ||
[dl-badge]: http://img.shields.io/npm/dm/fly-uglify.svg?style=flat-square | ||
[travis-link]: https://travis-ci.org/bucaran/fly-uglify | ||
[travis-badge]: http://img.shields.io/travis/bucaran/fly-uglify.svg?style=flat-square |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
4255
9
13
2
52
0
3