UNPKG

intersects

Version:

a simple collection of 2d collision/intersects functions, supporting points, circles, circle outlines (circumference), lines, axis-aligned boxes, and polygons (convex)

34 lines (33 loc) 1.22 kB
{ "name": "intersects", "version": "2.7.2", "description": "a simple collection of 2d collision/intersects functions, supporting points, circles, circle outlines (circumference), lines, axis-aligned boxes, and polygons (convex)", "main": "index.js", "scripts": { "test": "budo docs/code.js:index.js --dir docs --live", "build": "browserify docs/code.js -o docs/index.js", "prepublishOnly": "yarn run pkg && yarn run build", "pkg-browserify": "browserify umd.js -o umd/intersects.js", "pkg-min": "terser umd/intersects.js -mc -o umd/intersects.min.js", "pkg": "yarn run pkg-browserify && yarn run pkg-min && cp umd/intersects.min.js docs" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/davidfig/intersects.git" }, "author": "david figatner", "license": "MIT", "bugs": { "url": "https://github.com/davidfig/intersects/issues" }, "homepage": "https://github.com/davidfig/intersects#readme", "devDependencies": { "calc-fontsize": "^1.1.0", "highlight.js": "^9.15.6", "pixi-ease": "^1.3.0", "pixi.js": "^5.0.2", "terser": "^4.6.13", "uglify-js": "^3.9.2", "yy-random": "^1.8.0" } }