-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.46 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
59
60
61
62
{
"name": "optipng-bin",
"version": "0.3.8",
"description": "OptiPNG wrapper that makes it seamlessly available as a local dependency on OS X, Linux, FreeBSD and Windows",
"license": "BSD",
"repository": {
"type": "git",
"url": "git://github.com/yeoman/optipng-bin"
},
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
},
"maintainers": [
{
"name": "Kevin Mårtensson",
"email": "kevinmartensson@gmail.com",
"url": "http://kevinmartensson.com"
}
],
"engines": {
"node": ">=0.10.0"
},
"bin": {
"optipng": "cli.js"
},
"scripts": {
"postinstall": "node index.js",
"test": "mocha --reporter list --timeout 0"
},
"files": [
"cli.js",
"index.js"
],
"keywords": [
"compress",
"image",
"img",
"minify",
"optimize",
"png"
],
"dependencies": {
"bin-build": "^0.1.0",
"bin-wrapper": "^0.3.0",
"chalk": "^0.4.0"
},
"devDependencies": {
"bin-check": "^0.1.0",
"mocha": "^1.18.2",
"rimraf": "^2.2.6"
},
"readme": "# node-optipng-bin [![Build Status](https://secure.travis-ci.org/yeoman/node-optipng-bin.svg?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, FreeBSD, Solaris and Windows.\n\n> OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information.\n\n\n## Install\n\n```bash\n$ npm install --save optipng-bin\n```\n\n\n## Usage\n\n```js\nvar execFile = require('child_process').execFile;\nvar optipng = require('optipng-bin').path;\n\nexecFile(optipng, ['-v'], function (err, stdout, stderr) {\n console.log('OptiPNG version:', stdout.match(/\\d\\.\\d\\.\\d/)[0]);\n});\n```\n\n\n## CLI\n\n```bash\n$ npm install --global optipng\n```\n\n```bash\n$ optipng --help\n```\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",
"bugs": {
"url": "https://github.com/yeoman/optipng-bin/issues"
},
"homepage": "https://github.com/yeoman/optipng-bin",
"_id": "optipng-bin@0.3.8",
"_from": "optipng-bin@~0.3.0"
}