1 | {
|
2 | "name": "d3-let",
|
3 | "version": "0.4.0",
|
4 | "description": "A small set of utilities for d3 plugins",
|
5 | "homepage": "https://github.com/quantmind/d3-let",
|
6 | "author": {
|
7 | "name": "Luca Sbardella",
|
8 | "url": "http://lucasbardella.com"
|
9 | },
|
10 | "keywords": [
|
11 | "d3",
|
12 | "d3-module",
|
13 | "utilities"
|
14 | ],
|
15 | "license": "BSD-3-Clause",
|
16 | "repository": {
|
17 | "type": "git",
|
18 | "url": "https://github.com/quantmind/d3-let.git"
|
19 | },
|
20 | "main": "build/d3-let.js",
|
21 | "module": "index",
|
22 | "jsnext:main": "index",
|
23 | "devDependencies": {
|
24 | "babel-core": "6.26",
|
25 | "babel-eslint": "8.2",
|
26 | "babel-plugin-external-helpers": "6.22",
|
27 | "babel-preset-env": "1.6",
|
28 | "babel-preset-es2015-rollup": "3.0",
|
29 | "babel-tape-runner": "2",
|
30 | "babelify": "8",
|
31 | "covert": "1.1",
|
32 | "eslint": "4.15",
|
33 | "faucet": "0.0",
|
34 | "package-preamble": "0.1",
|
35 | "publish": "0.6",
|
36 | "rollup": "0.54",
|
37 | "rollup-plugin-babel": "3.0",
|
38 | "rollup-plugin-commonjs": "8.2",
|
39 | "rollup-plugin-json": "2",
|
40 | "rollup-plugin-node-resolve": "3.0",
|
41 | "tape": "4",
|
42 | "tape-async": "2.3",
|
43 | "uglify-js": "3.3"
|
44 | },
|
45 | "scripts": {
|
46 | "test": "eslint index.js rollup.config.js src test && babel-tape-runner `find test -name '*-test.js'` | faucet",
|
47 | "rollup": "rollup -c --banner \"$(preamble)\"",
|
48 | "minify": "uglifyjs --preamble \"$(preamble)\" build/d3-let.js -c -m -o build/d3-let.min.js",
|
49 | "build": "npm run-script rollup && npm run-script minify",
|
50 | "prepublish": "npm run-script rollup && npm run-script minify",
|
51 | "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",
|
52 | "release": "publish"
|
53 | },
|
54 | "babel": {
|
55 | "presets": [
|
56 | "env"
|
57 | ],
|
58 | "plugins": [
|
59 | "transform-async-to-generator"
|
60 | ]
|
61 | }
|
62 | }
|