summaryrefslogtreecommitdiff
path: root/package.json
blob: cbe912b33fd5dce35e5aa090973bc754e771222b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  "name": "d3-geo",
  "version": "1.9.0",
  "description": "Shapes and calculators for spherical coordinates.",
  "keywords": [
    "d3",
    "d3-module",
    "geo",
    "maps",
    "cartography"
  ],
  "homepage": "https://d3js.org/d3-geo/",
  "license": "BSD-3-Clause",
  "author": {
    "name": "Mike Bostock",
    "url": "https://bost.ocks.org/mike"
  },
  "main": "build/d3-geo.js",
  "module": "index",
  "jsnext:main": "index",
  "repository": {
    "type": "git",
    "url": "https://github.com/d3/d3-geo.git"
  },
  "scripts": {
    "pretest": "rm -rf build && mkdir build && rollup -c --banner \"$(preamble)\"",
    "test": "tape 'test/**/*-test.js' && mkdir -p test/output && eslint index.js src",
    "prepublishOnly": "npm run test && test/compare-images && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" build/d3-geo.js -c -m -o build/d3-geo.min.js",
    "postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-geo/build/d3-geo.js d3-geo.v1.js && cp ../d3-geo/build/d3-geo.min.js d3-geo.v1.min.js && git add d3-geo.v1.js d3-geo.v1.min.js && git commit -m \"d3-geo ${npm_package_version}\" && git push && cd - && zip -j build/d3-geo.zip -- LICENSE README.md build/d3-geo.js build/d3-geo.min.js"
  },
  "dependencies": {
    "d3-array": "1"
  },
  "devDependencies": {
    "canvas": "1",
    "d3-format": "1",
    "eslint": "4",
    "package-preamble": "0.1",
    "rollup": "0.50",
    "tape": "4",
    "topojson-client": "3",
    "uglify-js": "3"
  }
}