UNPKG

shape-points

Version:

Generate points for simple shapes and curves: arcs, rectangles, rounded rectangles, circles, ellipses, bezierCurveTo, bezierCurveThrough (i.e., bezier curves through specific points)

55 lines (54 loc) 1.68 kB
{ "name": "shape-points", "version": "3.0.4", "description": "Generate points for simple shapes and curves: arcs, rectangles, rounded rectangles, circles, ellipses, bezierCurveTo, bezierCurveThrough (i.e., bezier curves through specific points)", "main": "dist/shape-points.js", "module": "dist/shape-points.es.js", "directories": { "doc": "docs" }, "scripts": { "test": "rollup -c docs/rollup.dev.js --watch", "build": "rollup -c rollup.config.js", "build-demo": "rollup -c docs/rollup.config.js", "docs": "jsdoc -c .jsdoc.json", "prepublishOnly": "yarn build && yarn build-demo && yarn docs" }, "repository": { "type": "git", "url": "git+https://github.com/davidfig/shape-points.git" }, "keywords": [ "coordinates", "shapes", "geometry", "points", "rounded rectangle", "line", "arc", "circle", "ellipse", "bezier", "bezierCurveTo" ], "author": "David Figatner", "license": "MIT", "bugs": { "url": "https://github.com/davidfig/shape-points/issues" }, "homepage": "https://github.com/davidfig/shape-points#readme", "devDependencies": { "fork-me-github": "^1.2.0", "highlight.js": "^9.12.0", "jsdoc": "^3.6.3", "markdown-api": "^1.1.3", "rollup": "^1.21.2", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-serve": "^1.0.1", "rollup-plugin-terser": "^5.1.2" }, "dependencies": { "fit-curve": "^0.1.6" } }