UNPKG

node-image-farmer

Version:

Image thumbnailing middleware based on connect-thumb. Adds ability to retrieve files from the filesystem.

82 lines (81 loc) 2.4 kB
{ "author": { "name": "Allan Bogh", "email": "ajbogh@allanbogh.com", "url": "http://allanbogh.com" }, "name": "node-image-farmer", "description": "Image thumbnailing middleware based on connect-thumb. Adds ability to retrieve files from the filesystem.", "keywords": [ "thumbnail", "imagemagick", "thumb", "photos", "crop", "smartcrop", "content-aware", "resize", "connect", "middleware", "express" ], "version": "1.2.9", "contributors": [ { "name": "Irakli Nadareishvili", "url": "http://freshblurbs.com" } ], "repository": { "type": "git", "url": "git@github.com:ajbogh/node-image-farmer.git" }, "main": "./index.js", "license": "MIT", "dependencies": { "async": "0.1.x", "canvas": "^1.2.10", "debug": "^2.2.0", "es6-promise": "^3.1.2", "fs-extra": "^0.28.0", "gm": "^1.20.0", "image-size": "^0.5.0", "lockfile": "^1.0.1", "lodash": "^3.10.1", "mime": "^1.3.4", "minimist": "^1.2.0", "mkdirp": "0.x", "moment": "1.7.x", "node-mime": "^1.0.0", "pause": "0.x", "request": "2.x", "request-promise": "^3.0.0", "send": "0.x", "smartcrop": "0.0.1" }, "devDependencies": { "after": "^0.8.1", "chai": "^1.9.1", "connect": "*", "express": "^4.13.3", "istanbul": "^0.3.2", "jshint": "^2.5.x", "mocha": "^2.1.0", "request-image-size": "^1.2.2", "should": "^4.4.4" }, "scripts": { "app": "node app/app.js", "prepublish": "npm prune", "test": "mocha --reporter spec --bail --check-leaks test/", "pretest": "jshint lib", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", "install-ubuntu-deps": "apt-get install graphicsmagick libcairo2-dev libjpeg-dev libgif-dev --fix-missing", "install-mac-deps": "brew install graphicsmagick && ( xcode-select --install || echo 'xcode may have already been installed.' ) && brew install pkgconfig pixman libjpeg giflib cairo", "install-redhat-deps": "yum install GraphicsMagick cairo cairo-devel libjpeg-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel" }, "engines": { "node": "*" } }