martinez-polygon-clipping
v0.3.4 polygon clipping boolean intersection union xor geometry martinez
min
uglifyjs ./dist/martinez.js -o ./dist/martinez.min.js -m --comments
lint
eslint ./src/
test
tap test/*.test.js -R spec
bench
node bench.js
build
browserify -s martinez ./index.js -o ./dist/martinez.js && npm run min
start
watchify ./demo/js/index.js -o ./demo/js/bundle.js -dv & http-server -p 3000
start:win
start watchify ./demo/js/index.js -o ./demo/js/bundle.js -dv && start serve
test:watch
nodemon --exec 'npm run test && npm run lint'
prepublishOnly
npm run lint && npm run test && npm run build
npm i [email protected]
Metadata
- MIT
- Whatever
- Alex Milevski
- released 5/27/2018