forked from d3/d3-scale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.76 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
41
42
43
44
45
{
"name": "d3-scale",
"version": "0.9.2",
"description": "Encodings that map abstract data to visual representation.",
"keywords": [
"d3",
"d3-module",
"scale",
"visualization"
],
"homepage": "https://d3js.org/d3-scale/",
"license": "BSD-3-Clause",
"author": {
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/d3-scale.js",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-scale.git"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -g d3-array:d3,d3-collection:d3,d3-color:d3,d3-format:d3,d3-interpolate:d3,d3-time:d3,d3-time-format:d3 -n d3 -o build/d3-scale.js -- index.js",
"test": "TZ=America/Los_Angeles tape 'test/**/*-test.js' && eslint index.js src test",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-scale.js -c -m -o build/d3-scale.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-scale.js ../d3.github.com/d3-scale.v0.9.js && cp build/d3-scale.min.js ../d3.github.com/d3-scale.v0.9.min.js && cd ../d3.github.com && git add d3-scale.v0.9.js d3-scale.v0.9.min.js && git commit -m \"d3-scale ${VERSION}\" && git push && cd - && zip -j build/d3-scale.zip -- LICENSE README.md build/d3-scale.js build/d3-scale.min.js"
},
"dependencies": {
"d3-array": "~0.8.0",
"d3-collection": "~0.3.0",
"d3-color": "~0.5.0",
"d3-format": "~0.6.0",
"d3-interpolate": "~0.9.0",
"d3-time": "~0.3.0",
"d3-time-format": "~0.4.0"
},
"devDependencies": {
"eslint": "2",
"package-preamble": "0.0",
"rollup": "0.27",
"tape": "4",
"uglify-js": "2"
}
}