package.json 2.02 KB
Newer Older
1 2
{
  "name": "d3",
3
  "version": "3.5.15",
4
  "description": "A JavaScript visualization library for HTML and SVG.",
5 6 7 8 9 10 11 12
  "keywords": [
    "dom",
    "w3c",
    "visualization",
    "svg",
    "animation",
    "canvas"
  ],
Mike Bostock's avatar
Mike Bostock committed
13
  "homepage": "http://d3js.org",
14 15 16 17
  "author": {
    "name": "Mike Bostock",
    "url": "http://bost.ocks.org/mike"
  },
18 19 20 21 22 23
  "contributors": [
    {
      "name": "Jason Davies",
      "url": "http://jasondavies.com"
    }
  ],
24 25
  "repository": {
    "type": "git",
Mike Bostock's avatar
Mike Bostock committed
26
    "url": "https://github.com/mbostock/d3.git"
27
  },
Mike Bostock's avatar
Mike Bostock committed
28
  "main": "d3.js",
29
  "browser": "d3.js",
Guy Bedford's avatar
Guy Bedford committed
30
  "jspm": {
31
    "main": "d3",
Guy Bedford's avatar
Guy Bedford committed
32 33 34 35 36
    "shim": {
      "d3": {
        "exports": "d3"
      }
    },
37 38 39
    "files": [
      "d3.js"
    ],
40 41 42
    "buildConfig": {
      "uglify": true
    }
Guy Bedford's avatar
Guy Bedford committed
43
  },
Tim Branyen's avatar
Tim Branyen committed
44
  "jam": {
Mike Bostock's avatar
Mike Bostock committed
45
    "main": "d3.js",
Tim Branyen's avatar
Tim Branyen committed
46 47 48 49
    "shim": {
      "exports": "d3"
    }
  },
afc163's avatar
afc163 committed
50 51 52
  "spm": {
    "main": "d3.js"
  },
53
  "devDependencies": {
54 55 56
    "jsdom": "3",
    "seedrandom": "2",
    "smash": "0.0",
Mike Bostock's avatar
Mike Bostock committed
57
    "uglify-js": "2.6.1",
58
    "vows": "0.8"
59 60
  },
  "scripts": {
61 62
    "test": "vows && echo",
    "prepublish": "npm test && rm -f component.json package.js src/start.js d3.js d3.min.js d3.zip && bin/start > src/start.js && bin/component > component.json && bin/meteor > package.js && smash src/d3.js | uglifyjs - -b indent-level=2 -o d3.js && bin/uglify d3.js > d3.min.js && chmod a-w d3.js d3.min.js component.json package.js && zip d3.zip LICENSE d3.js d3.min.js",
Mike Bostock's avatar
Mike Bostock committed
63
    "postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp -v README.md LICENSE d3.js d3.min.js ../d3-bower && cd ../d3-bower && git add README.md LICENSE d3.js d3.min.js && git commit -m \"Release $VERSION.\" && git tag -am \"Release $VERSION.\" v${VERSION} && git push && git push --tags && cd - && cp -v d3.js ../d3.github.com/d3.v3.js && cp -v d3.min.js ../d3.github.com/d3.v3.min.js && cd ../d3.github.com && git add d3.v3.js d3.v3.min.js && git commit -m \"d3 ${VERSION}\" && git push"
64
  },
Gilad Peleg's avatar
Gilad Peleg committed
65
  "license": "BSD-3-Clause"
66
}