d3-force/package.json

47 lines
1.6 KiB
JSON
Raw Normal View History

2016-04-06 04:50:36 +08:00
{
"name": "d3-force",
2016-06-20 00:25:07 +08:00
"version": "0.7.1",
2016-04-07 04:21:23 +08:00
"description": "Force-directed graph layout using velocity Verlet integration.",
2016-04-06 04:50:36 +08:00
"keywords": [
"d3",
2016-06-15 00:23:27 +08:00
"d3-module",
2016-04-06 04:50:36 +08:00
"layout",
"network",
"graphc",
"force",
"verlet",
"infovis"
],
2016-06-08 11:53:45 +08:00
"homepage": "https://d3js.org/d3-force/",
2016-04-06 04:50:36 +08:00
"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": {
2016-06-08 11:53:45 +08:00
"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",
2016-04-06 04:50:36 +08:00
"test": "tape 'test/**/*-test.js' && eslint index.js src",
2016-06-08 11:53:45 +08:00
"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"
2016-04-06 04:50:36 +08:00
},
"dependencies": {
2016-06-20 00:25:07 +08:00
"d3-collection": "1",
"d3-dispatch": "1",
"d3-quadtree": "1",
"d3-timer": "1"
2016-04-06 04:50:36 +08:00
},
"devDependencies": {
2016-05-15 12:21:29 +08:00
"eslint": "2",
2016-06-08 11:53:45 +08:00
"package-preamble": "0.0",
2016-06-20 00:25:07 +08:00
"rollup": "0.31",
2016-04-06 04:50:36 +08:00
"tape": "4",
"uglify-js": "2"
}
}