UNPKG

1.64 kBJSONView Raw
1{
2 "name": "d3-interpolate",
3 "version": "0.8.1",
4 "description": "Interpolate numbers, colors, strings, arrays, objects, whatever!",
5 "keywords": [
6 "d3",
7 "interpolate",
8 "interpolation",
9 "color"
10 ],
11 "homepage": "https://github.com/d3/d3-interpolate",
12 "license": "BSD-3-Clause",
13 "author": {
14 "name": "Mike Bostock",
15 "url": "http://bost.ocks.org/mike"
16 },
17 "main": "build/d3-interpolate.js",
18 "jsnext:main": "index",
19 "repository": {
20 "type": "git",
21 "url": "https://github.com/d3/d3-interpolate.git"
22 },
23 "scripts": {
24 "pretest": "rm -rf build && mkdir build && json2module package.json > build/package.js && rollup -f umd -g d3-color:d3_color -n d3_interpolate -o build/d3-interpolate.js -- index.js",
25 "test": "tape 'test/**/*-test.js' && eslint index.js src test",
26 "prepublish": "npm run test && uglifyjs build/d3-interpolate.js -c -m -o build/d3-interpolate.min.js",
27 "postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-interpolate.js ../d3.github.com/d3-interpolate.v0.8.js && cp build/d3-interpolate.min.js ../d3.github.com/d3-interpolate.v0.8.min.js && cd ../d3.github.com && git add d3-interpolate.v0.8.js d3-interpolate.v0.8.min.js && git commit -m \"d3-interpolate ${VERSION}\" && git push && cd - && zip -j build/d3-interpolate.zip -- LICENSE README.md build/d3-interpolate.js build/d3-interpolate.min.js"
28 },
29 "dependencies": {
30 "d3-color": "~0.4.0"
31 },
32 "devDependencies": {
33 "eslint": "2",
34 "json2module": "0.0",
35 "rollup": "0.26",
36 "tape": "4",
37 "uglify-js": "2"
38 }
39}