-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
41 lines (41 loc) · 1.41 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
{
"name": "d3-hsv",
"version": "0.1.0",
"description": "The HSV (Hue, Saturation, Value) color space.",
"keywords": [
"d3",
"d3-module",
"color",
"hsv"
],
"homepage": "https://d3js.org/d3-hsv/",
"license": "BSD-3-Clause",
"author": {
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/d3-hsv.js",
"jsnext:main": "index",
"module": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-hsv.git"
},
"dependencies": {
"d3-color": "1"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -g d3-color:d3 -n d3 -o build/d3-hsv.js -- index.js",
"test": "tape 'test/**/*-test.js' && eslint index.js src test",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-hsv.js -c -m -o build/d3-hsv.min.js",
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-hsv/build/d3-hsv.js d3-hsv.v0.1.js && cp ../d3-hsv/build/d3-hsv.min.js d3-hsv.v0.1.min.js && git add d3-hsv.v0.1.js d3-hsv.v0.1.min.js && git commit -m \"d3-hsv ${npm_package_version}\" && git push && cd - && zip -j build/d3-hsv.zip -- LICENSE README.md build/d3-hsv.js build/d3-hsv.min.js"
},
"sideEffects": false,
"devDependencies": {
"eslint": "3",
"package-preamble": "0.0",
"rollup": "0.41",
"tape": "4",
"uglify-js": "2"
}
}