-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 2.16 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "optipng-bin",
"version": "0.2.6",
"description": "OptiPNG wrapper that makes it seamlessly available as a local dependency on OS X, Linux and Windows",
"keywords": [
"png",
"compress",
"minify",
"optimize",
"img",
"image"
],
"homepage": "https://github.com/yeoman/node-optipng-bin",
"bugs": {
"url": "https://github.com/yeoman/node-optipng-bin/issues"
},
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
},
"maintainers": [
{
"name": "Duncan Wong"
}
],
"main": "lib/optipng-bin.js",
"bin": {
"optipng-bin": "bin/optipng-bin"
},
"repository": {
"type": "git",
"url": "git://github.com/yeoman/node-optipng-bin.git"
},
"scripts": {
"test": "mocha",
"postinstall": "node pre-build.js"
},
"engines": {
"node": ">=0.8.0"
},
"licenses": [
{
"type": "BSD"
}
],
"dependencies": {
"colors": "~0.6.0",
"which": "~1.0.5",
"mocha": "~1.9.0",
"tar": "~0.1.17",
"request": "~2.16.6"
},
"readme": "# node-optipng-bin [![Build Status](https://secure.travis-ci.org/yeoman/node-optipng-bin.png?branch=master)](http://travis-ci.org/yeoman/node-optipng-bin)\n\n[OptiPNG](http://optipng.sourceforge.net) 0.7.4 Node.js wrapper that makes it seamlessly available as a local dependency on OS X, Linux and Windows. Used to losslessly minify PNG images.\n\n\n## Example usage\n\n```js\nvar execFile = require('child_process').execFile;\nvar optipngPath = require('optipng-bin').path;\n\nexecFile(optipngPath, ['-v'], function(err, stdout, stderr) {\n\tconsole.log('OptiPNG version:', stdout.match(/\\d\\.\\d.\\d/)[0]);\n});\n```\n\nYou can also run it directly from `./node_modules/.bin/optipng-bin`\n\n\n## License\n\nEverything excluding the binaries licensed under the [BSD license](http://opensource.org/licenses/bsd-license.php) and copyright Google.\n\nOptiPNG licensed under the [zlib license](http://optipng.sourceforge.net/license.txt) and copyright Cosmin Truta and the Contributing Authors.\n",
"readmeFilename": "readme.md",
"_id": "optipng-bin@0.2.6",
"_from": "optipng-bin@~0.2.0"
}