package.json 2.53 KB
Newer Older
1 2
{
  "name": "d3",
Mike Bostock's avatar
4.2.3  
Mike Bostock committed
3
  "version": "4.2.3",
Mike Bostock's avatar
Mike Bostock committed
4
  "description": "Data-Driven Documents",
5 6 7 8 9 10 11
  "keywords": [
    "dom",
    "visualization",
    "svg",
    "animation",
    "canvas"
  ],
Mike Bostock's avatar
Mike Bostock committed
12
  "homepage": "https://d3js.org",
Mike Bostock's avatar
Mike Bostock committed
13
  "license": "BSD-3-Clause",
14 15
  "author": {
    "name": "Mike Bostock",
Mike Bostock's avatar
Mike Bostock committed
16
    "url": "https://bost.ocks.org/mike"
17
  },
Mike Bostock's avatar
Mike Bostock committed
18 19
  "main": "build/d3.node.js",
  "browser": "build/d3.js",
Mike Bostock's avatar
Mike Bostock committed
20
  "module": "index",
Mike Bostock's avatar
Mike Bostock committed
21
  "jsnext:main": "index",
22 23
  "repository": {
    "type": "git",
Mike Bostock's avatar
Mike Bostock committed
24
    "url": "https://github.com/d3/d3.git"
Tim Branyen's avatar
Tim Branyen committed
25
  },
Mike Bostock's avatar
Mike Bostock committed
26
  "scripts": {
Mike Bostock's avatar
Mike Bostock committed
27
    "pretest": "rm -rf build && mkdir build && json2module package.json > build/package.js && bin/rollup-node",
Mike Bostock's avatar
Mike Bostock committed
28
    "test": "tape 'test/**/*-test.js'",
Mike Bostock's avatar
Mike Bostock committed
29
    "prepublish": "npm run test && rollup -c --banner \"$(preamble)\" -f umd -n d3 -o build/d3.js -- index.js && uglifyjs --preamble \"$(preamble)\" build/d3.js -c negate_iife=false -m -o build/d3.min.js",
30
    "postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/build/d3.js d3.v4.js && cp ../d3/build/d3.min.js d3.v4.min.js && git add d3.v4.js d3.v4.min.js && git commit -m \"d3 ${VERSION}\" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/build/d3.js ../d3/build/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m \"${VERSION}\" && git tag -am \"${VERSION}\" v${VERSION} && git push && git push --tags && cd - && zip -j build/d3.zip -- LICENSE README.md API.md CHANGES.md build/d3.js build/d3.min.js"
afc163's avatar
afc163 committed
31
  },
32
  "devDependencies": {
Mike Bostock's avatar
Mike Bostock committed
33
    "json2module": "0.0",
Mike Bostock's avatar
Mike Bostock committed
34
    "package-preamble": "0.0",
Mike Bostock's avatar
Mike Bostock committed
35
    "rollup": "0.35",
Mike Bostock's avatar
Mike Bostock committed
36
    "rollup-plugin-ascii": "0.0",
37
    "rollup-plugin-node-resolve": "2",
Mike Bostock's avatar
Mike Bostock committed
38 39
    "tape": "4",
    "uglify-js": "2"
40
  },
Mike Bostock's avatar
Mike Bostock committed
41
  "dependencies": {
42 43 44 45 46 47 48 49
    "d3-array": "1.0.1",
    "d3-axis": "1.0.3",
    "d3-brush": "1.0.2",
    "d3-chord": "1.0.2",
    "d3-collection": "1.0.1",
    "d3-color": "1.0.1",
    "d3-dispatch": "1.0.1",
    "d3-drag": "1.0.1",
Mike Bostock's avatar
Mike Bostock committed
50
    "d3-dsv": "1.0.3",
51 52 53
    "d3-ease": "1.0.1",
    "d3-force": "1.0.2",
    "d3-format": "1.0.2",
Mike Bostock's avatar
Mike Bostock committed
54
    "d3-geo": "1.2.4",
55 56
    "d3-hierarchy": "1.0.2",
    "d3-interpolate": "1.1.1",
Mike Bostock's avatar
Mike Bostock committed
57
    "d3-path": "1.0.2",
58 59
    "d3-polygon": "1.0.1",
    "d3-quadtree": "1.0.1",
Mike Bostock's avatar
Mike Bostock committed
60
    "d3-queue": "3.0.3",
61 62 63 64
    "d3-random": "1.0.1",
    "d3-request": "1.0.2",
    "d3-scale": "1.0.3",
    "d3-selection": "1.0.2",
Mike Bostock's avatar
Mike Bostock committed
65 66
    "d3-shape": "1.0.3",
    "d3-time": "1.0.3",
67
    "d3-time-format": "2.0.2",
Mike Bostock's avatar
Mike Bostock committed
68 69
    "d3-timer": "1.0.3",
    "d3-transition": "1.0.2",
70 71
    "d3-voronoi": "1.0.2",
    "d3-zoom": "1.0.3"
Mike Bostock's avatar
Mike Bostock committed
72
  }
73
}