mirror of
https://github.com/d3/d3.git
synced 2025-12-08 19:46:24 +00:00
67 lines
2.4 KiB
JSON
67 lines
2.4 KiB
JSON
{
|
|
"name": "d3",
|
|
"version": "4.0.0-alpha.25",
|
|
"publishConfig": {
|
|
"tag": "next"
|
|
},
|
|
"description": "Data-Driven Documents",
|
|
"keywords": [
|
|
"dom",
|
|
"visualization",
|
|
"svg",
|
|
"animation",
|
|
"canvas"
|
|
],
|
|
"homepage": "https://github.com/mbostock/d3",
|
|
"license": "BSD-3-Clause",
|
|
"author": {
|
|
"name": "Mike Bostock",
|
|
"url": "http://bost.ocks.org/mike"
|
|
},
|
|
"main": "build/d3.node.js",
|
|
"browser": "build/d3.js",
|
|
"jsnext:main": "index",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/mbostock/d3.git"
|
|
},
|
|
"scripts": {
|
|
"pretest": "mkdir -p build && node -e 'process.stdout.write(\"export var version = \\\"\" + require(\"./package.json\").version + \"\\\";\\n\");' > build/version.js && rollup -c -o build/d3.js -- index.js && rollup -e `node -e 'process.stdout.write(Object.keys(require(\"./package.json\").dependencies).join(\",\"));'` -f cjs -- index.js | grep -v '^exports.event =' > build/d3.node.js && echo '\\nObject.defineProperty(exports, \"event\", {get: function() { return d3Selection.event; }});' >> build/d3.node.js",
|
|
"test": "faucet `find test -name '*-test.js'`",
|
|
"prepublish": "npm run test && uglifyjs build/d3.js -c -m -o build/d3.min.js && rm -f build/d3.zip && zip -j build/d3.zip -- LICENSE README.md build/d3.js build/d3.min.js",
|
|
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && cp -v build/d3.js ../d3.github.com/d3.v${VERSION}.js && cp -v build/d3.min.js ../d3.github.com/d3.v${VERSION}.min.js && cd ../d3.github.com && git add d3.v${VERSION}.js d3.v${VERSION}.min.js && git commit -m \"d3 ${VERSION}\" && git push"
|
|
},
|
|
"devDependencies": {
|
|
"faucet": "0.0",
|
|
"rollup": "0.25",
|
|
"rollup-plugin-node-resolve": "1",
|
|
"tape": "4",
|
|
"uglify-js": "2"
|
|
},
|
|
"dependencies": {
|
|
"d3-array": "0.7.1",
|
|
"d3-axis": "0.3.0",
|
|
"d3-collection": "0.1.2",
|
|
"d3-color": "0.4.2",
|
|
"d3-dispatch": "0.4.2",
|
|
"d3-dsv": "0.3.0",
|
|
"d3-ease": "0.7.0",
|
|
"d3-format": "0.5.1",
|
|
"d3-interpolate": "0.7.0",
|
|
"d3-path": "0.1.5",
|
|
"d3-polygon": "0.2.1",
|
|
"d3-quadtree": "0.2.1",
|
|
"d3-queue": "2.0.2",
|
|
"d3-random": "0.2.1",
|
|
"d3-request": "0.4.5",
|
|
"d3-scale": "0.6.4",
|
|
"d3-selection": "0.7.0",
|
|
"d3-shape": "0.5.1",
|
|
"d3-time": "0.2.5",
|
|
"d3-time-format": "0.3.1",
|
|
"d3-timer": "0.4.1",
|
|
"d3-transition": "0.2.6",
|
|
"d3-voronoi": "0.3.2"
|
|
}
|
|
}
|