forked from d3/d3-fetch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.33 KB
/
package.json
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
{
"name": "d3-fetch",
"version": "1.1.0",
"description": "Convenient parsing for Fetch.",
"keywords": [
"d3",
"d3-module",
"fetch",
"ajax",
"XMLHttpRequest"
],
"homepage": "https://d3js.org/d3-fetch/",
"license": "BSD-3-Clause",
"author": {
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "dist/d3-fetch.js",
"module": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-fetch.git"
},
"scripts": {
"pretest": "rm -rf dist && mkdir dist && rollup -c --banner \"$(preamble)\"",
"test": "tape 'test/**/*-test.js'",
"prepublishOnly": "npm run test && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" dist/d3-fetch.js -c -m -o dist/d3-fetch.min.js",
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-fetch/dist/d3-fetch.js d3-fetch.v1.js && cp ../d3-fetch/dist/d3-fetch.min.js d3-fetch.v1.min.js && git add d3-fetch.v1.js d3-fetch.v1.min.js && git commit -m \"d3-fetch ${npm_package_version}\" && git push && cd - && zip -j dist/d3-fetch.zip -- LICENSE README.md dist/d3-fetch.js dist/d3-fetch.min.js"
},
"dependencies": {
"d3-dsv": "1"
},
"devDependencies": {
"eslint": "4",
"package-preamble": "0.1",
"rollup": "0.52",
"tape": "4",
"uglify-js": "3.2"
}
}