UNPKG

d3-let

Version:

A small set of utilities for d3 plugins

63 lines (62 loc) 2.31 kB
{ "name": "d3-let", "version": "0.4.0", "description": "A small set of utilities for d3 plugins", "homepage": "https://github.com/quantmind/d3-let", "author": { "name": "Luca Sbardella", "url": "http://lucasbardella.com" }, "keywords": [ "d3", "d3-module", "utilities" ], "license": "BSD-3-Clause", "repository": { "type": "git", "url": "https://github.com/quantmind/d3-let.git" }, "main": "build/d3-let.js", "module": "index", "jsnext:main": "index", "devDependencies": { "babel-core": "6.26", "babel-eslint": "8.2", "babel-plugin-external-helpers": "6.22", "babel-preset-env": "1.6", "babel-preset-es2015-rollup": "3.0", "babel-tape-runner": "2", "babelify": "8", "covert": "1.1", "eslint": "4.15", "faucet": "0.0", "package-preamble": "0.1", "publish": "0.6", "rollup": "0.54", "rollup-plugin-babel": "3.0", "rollup-plugin-commonjs": "8.2", "rollup-plugin-json": "2", "rollup-plugin-node-resolve": "3.0", "tape": "4", "tape-async": "2.3", "uglify-js": "3.3" }, "scripts": { "test": "eslint index.js rollup.config.js src test && babel-tape-runner `find test -name '*-test.js'` | faucet", "rollup": "rollup -c --banner \"$(preamble)\"", "minify": "uglifyjs --preamble \"$(preamble)\" build/d3-let.js -c -m -o build/d3-let.min.js", "build": "npm run-script rollup && npm run-script minify", "prepublish": "npm run-script rollup && npm run-script minify", "postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && mkdir -p ../giottojs.org/latest && mkdir -p ../giottojs.org/d3-let/${VERSION} && cp build/* ../giottojs.org/d3-let/${VERSION}/ && cp build/* ../giottojs.org/latest/ && cd ../giottojs.org && git add d3-let/${VERSION} latest && git commit -a -m \"d3-let ${VERSION}\" && git push", "release": "publish" }, "babel": { "presets": [ "env" ], "plugins": [ "transform-async-to-generator" ] } }