package.package.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of potpack Show documentation
Show all versions of potpack Show documentation
A tiny library for packing 2D rectangles (for sprite layouts)
{
"name": "potpack",
"version": "1.0.1",
"description": "A tiny library for packing 2D rectangles (for sprite layouts)",
"main": "index",
"module": "index.mjs",
"unpkg": "index.js",
"jsdelivr": "index.js",
"files": [
"index.mjs",
"index.js"
],
"scripts": {
"pretest": "eslint index.mjs",
"test": "tape -r esm test.js",
"build": "rollup -c",
"start": "rollup -w",
"prepublishOnly": "npm run build"
},
"eslintConfig": {
"extends": "mourner",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-var": "error",
"prefer-const": "error"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/mapbox/potpack.git"
},
"keywords": [
"algorithms",
"sprites",
"bin packing",
"geometry",
"rectangles"
],
"author": "Vladimir Agafonkin",
"license": "ISC",
"bugs": {
"url": "https://github.com/mapbox/potpack/issues"
},
"homepage": "https://mapbox.github.io/potpack/",
"devDependencies": {
"eslint": "^5.4.0",
"eslint-config-mourner": "^2.0.3",
"esm": "^3.0.80",
"rollup": "^0.64.1",
"rollup-plugin-buble": "^0.19.2",
"tape": "^4.9.1"
}
}