cnt-bestfit
Version:
Finds image rendition that best fits a given container.
59 lines (58 loc) • 1.42 kB
JSON
{
"name": "cnt-bestfit",
"version": "0.1.10",
"description": "Finds image rendition that best fits a given container.",
"main": "bestfit.js",
"scripts": {
"test-main": "set -e; for t in test/*.js; do node $t; done",
"test-0.8": "nave use 0.8 npm run test-main",
"test-0.10": "nave use 0.10 npm run test-main",
"test-all": "npm run test-main && npm run test-0.8 && npm run test-0.10",
"test": "if [ -e $TRAVIS ]; then npm run test-all; else npm run test-main; fi"
},
"repository": {
"type": "git",
"url": "git://github.com/CondeNast/cnt-bestfit.git"
},
"homepage": "https://github.com/CondeNast/cnt-bestfit",
"dependencies": {
"xtend": "~2.1.1"
},
"devDependencies": {
"nave": "~0.4.3",
"tape": "~2.3.2"
},
"keywords": [
"fit",
"image",
"viewport",
"container",
"rendition",
"renditions"
],
"author": {
"name": "Thorsten Lorenz",
"email": "thlorenz@gmx.de",
"url": "http://thlorenz.com"
},
"license": "MIT",
"engine": {
"node": ">=0.6"
},
"testling": {
"files": "test/*.js",
"browsers": [
"ie/8..latest",
"firefox/17..latest",
"firefox/nightly",
"chrome/22..latest",
"chrome/canary",
"opera/12..latest",
"opera/next",
"safari/5.1..latest",
"ipad/6.0..latest",
"iphone/6.0..latest",
"android-browser/4.2..latest"
]
}
}