UNPKG

d3-hsv

Version:

The HSV (Hue, Saturation, Value) color space.

41 lines (40 loc) 1.42 kB
{ "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" }, "devDependencies": { "eslint": "3", "package-preamble": "0.0", "rollup": "0.41", "tape": "4", "uglify-js": "2" } }