UNPKG

1.55 kBJSONView Raw
1{
2 "name": "d3-selection",
3 "version": "1.0.0",
4 "description": "Data-driven DOM manipulation: select elements and join them to data.",
5 "keywords": [
6 "d3",
7 "d3-module",
8 "dom",
9 "selection",
10 "data-join"
11 ],
12 "homepage": "https://d3js.org/d3-selection/",
13 "license": "BSD-3-Clause",
14 "author": {
15 "name": "Mike Bostock",
16 "url": "http://bost.ocks.org/mike"
17 },
18 "main": "build/d3-selection.js",
19 "jsnext:main": "index",
20 "repository": {
21 "type": "git",
22 "url": "https://github.com/d3/d3-selection.git"
23 },
24 "scripts": {
25 "pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -n d3 -o build/d3-selection.js -- index.js",
26 "test": "tape 'test/**/*-test.js' && eslint index.js src",
27 "prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-selection.js -c -m -o build/d3-selection.min.js",
28 "postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-selection.js ../d3.github.com/d3-selection.v1.js && cp build/d3-selection.min.js ../d3.github.com/d3-selection.v1.min.js && cd ../d3.github.com && git add d3-selection.v1.js d3-selection.v1.min.js && git commit -m \"d3-selection ${VERSION}\" && git push && cd - && zip -j build/d3-selection.zip -- LICENSE README.md build/d3-selection.js build/d3-selection.min.js"
29 },
30 "devDependencies": {
31 "eslint": "2",
32 "jsdom": "9",
33 "package-preamble": "0.0",
34 "rollup": "0.33",
35 "tape": "4",
36 "uglify-js": "2"
37 }
38}