d3-force/package.json
Mike Bostock 145250d68b 0.7.1
2016-06-19 09:25:07 -07:00

47 lines
1.6 KiB
JSON

{
"name": "d3-force",
"version": "0.7.1",
"description": "Force-directed graph layout using velocity Verlet integration.",
"keywords": [
"d3",
"d3-module",
"layout",
"network",
"graphc",
"force",
"verlet",
"infovis"
],
"homepage": "https://d3js.org/d3-force/",
"license": "BSD-3-Clause",
"author": {
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/d3-force.js",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-force.git"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -g d3-collection:d3,d3-dispatch:d3,d3-quadtree:d3,d3-timer:d3 -f umd -n d3 -o build/d3-force.js -- index.js",
"test": "tape 'test/**/*-test.js' && eslint index.js src",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-force.js -c -m -o build/d3-force.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-force.js ../d3.github.com/d3-force.v0.7.js && cp build/d3-force.min.js ../d3.github.com/d3-force.v0.7.min.js && cd ../d3.github.com && git add d3-force.v0.7.js d3-force.v0.7.min.js && git commit -m \"d3-force ${VERSION}\" && git push && cd - && zip -j build/d3-force.zip -- LICENSE README.md build/d3-force.js build/d3-force.min.js"
},
"dependencies": {
"d3-collection": "1",
"d3-dispatch": "1",
"d3-quadtree": "1",
"d3-timer": "1"
},
"devDependencies": {
"eslint": "2",
"package-preamble": "0.0",
"rollup": "0.31",
"tape": "4",
"uglify-js": "2"
}
}