48 lines
1.5 KiB
JSON
48 lines
1.5 KiB
JSON
{
|
|
"name": "d3-force",
|
|
"version": "1.0.7",
|
|
"description": "Force-directed graph layout using velocity Verlet integration.",
|
|
"keywords": [
|
|
"d3",
|
|
"d3-module",
|
|
"layout",
|
|
"network",
|
|
"graph",
|
|
"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",
|
|
"module": "index",
|
|
"jsnext:main": "index",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/d3/d3-force.git"
|
|
},
|
|
"scripts": {
|
|
"pretest": "rm -rf build && mkdir build && rollup -c --banner \"$(preamble)\"",
|
|
"test": "tape 'test/**/*-test.js' && eslint index.js src",
|
|
"prepare": "npm run test && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" build/d3-force.js -c -m -o build/d3-force.min.js",
|
|
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-force/build/d3-force.js d3-force.v1.js && cp ../d3-force/build/d3-force.min.js d3-force.v1.min.js && git add d3-force.v1.js d3-force.v1.min.js && git commit -m \"d3-force ${npm_package_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": "4",
|
|
"package-preamble": "0.1",
|
|
"rollup": "0.50",
|
|
"tape": "4",
|
|
"uglify-js": "3"
|
|
}
|
|
}
|