UNPKG

shelf-pack

Version:

A 2D rectangular bin packing data structure that uses the Shelf Best Height Fit heuristic

38 lines (37 loc) 1.1 kB
{ "name": "shelf-pack", "description": "A 2D rectangular bin packing data structure that uses the Shelf Best Height Fit heuristic", "version": "2.0.1", "main": "index.umd.js", "jsnext:main": "index.js", "license": "ISC", "author": "Bryan Housel <bryan@mapbox.com>", "repository": { "type": "git", "url": "git://github.com/mapbox/shelf-pack.git" }, "bugs": "https://github.com/mapbox/shelf-pack/issues", "keywords": [ "bin packing", "sprite" ], "devDependencies": { "benchmark": "~2.1.0", "bin-pack": "1.0.2", "coveralls": "^2.11.12", "documentation": "4.0.0-beta5", "eslint": "~3.2.2", "rollup": "0.34.7", "tap": "~6.3.0" }, "engines": { "node": ">=4.0.0" }, "scripts": { "bench": "npm run build && node bench/bench.js", "build": "rollup -f umd -n ShelfPack index.js --no-indent --no-strict -o index.umd.js", "docs": "documentation build index.js --lint --github --format html --output docs/", "lint": "eslint index.js test/ bench/", "test": "npm run build && npm run lint && tap --cov test/*.js" } }