UNPKG

d3-force-container

Version:

constrain particles to an area for forceSimulation in d3v4.

40 lines (39 loc) 1.17 kB
{ "name": "d3-force-container", "version": "0.0.1", "description": "constrain particles to an area for forceSimulation in d3v4.", "keywords": [ "d3", "d3-module", "network", "forceSimulation", "constraint", "collide" ], "license": "MINT", "main": "build/d3-force-container.js", "author": { "name": "Adam Pearce", "email": "1wheel@gmail.com", "url": "http://roadtolarissa.com/" }, "jsnext:main": "index", "homepage": "https://github.com/1wheel/d3-force-container", "repository": { "type": "git", "url": "https://github.com/1wheel/d3-force-container.git" }, "scripts": { "pretest": "rm -rf build && mkdir build && rollup -f umd -n d3 -o build/d3-force-container.js -- index.js", "test": "tape 'test/**/*-test.js'", "prepublish": "npm run test && uglifyjs build/d3-force-container.js -c -m -o build/d3-force-container.min.js", "postpublish": "zip -j build/d3-force-container.zip -- LICENSE README.md build/d3-force-container.js build/d3-force-container.min.js" }, "devDependencies": { "rollup": "0.27", "tape": "4", "uglify-js": "2" }, "dependencies": { } }