d3-svg-annotation
Version:
Full documentation: [http://d3-annotation.susielu.com](http://d3-annotation.susielu.com)
71 lines (70 loc) • 2.02 kB
JSON
{
"name": "d3-svg-annotation",
"version": "1.3.0",
"description": "",
"main": "indexRollup.js",
"jsnext:main": "indexRollup.mjs",
"files": [
"index.js",
"indexRollup.js",
"indexRollup.js.map",
"indexRollup.mjs",
"d3-annotation.*"
],
"keywords": [],
"directories": {},
"devDependencies": {
"babel-plugin-external-helpers": "6.18.0",
"babel-plugin-transform-object-rest-spread": "6.20.2",
"babel-preset-es2015": "6.18.0",
"babelify": "7.3.0",
"babelrc-rollup": "3.0.0",
"browserify": "13.1.1",
"http-server": "0.9.0",
"marked": "0.3.6",
"markedify": "0.0.2",
"npm-watch": "0.1.6",
"rollup": "0.34.7",
"rollup-plugin-babel": "2.6.1",
"uglify-js": "^2.8.1"
},
"scripts": {
"start": "npm run server & npm run watch",
"server": "http-server",
"browserify": "browserify web.js -o d3-annotation.js -t [ babelify --presets [ es2015 ] ]",
"docs": "node docs/browserify-docs.js && npm run docs-bundle",
"docs-bundle": "uglifyjs --source-map=docs/bundle.map --source-map-url=bundle.map -- docs/vendor/jquery2.1.1.min.js docs/vendor/materialize.min.js docs/vendor/d3-selection.js docs/vendor/d3-shape.js d3-annotation.js docs/docs-compiled.js > docs/bundle.js",
"watch": "npm-watch",
"uglify": "uglifyjs d3-annotation.js -o d3-annotation.min.js -c -m",
"prepublish": "npm run uglify & rollup -c"
},
"watch": {
"browserify": [
"src/*.js",
"src/**/*.js"
],
"docs": {
"patterns": [
"docs/docs.js",
"d3-annotation.js",
"docs/content/*.md"
],
"extensions": "js,md"
}
},
"repository": {
"type": "git",
"url": "https://github.com/susielu/d3-annotation.git"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/susielu/d3-annotation/issues"
},
"dependencies": {
"d3-dispatch": "1.0.2",
"d3-drag": "1.0.2",
"d3-selection": "1.0.2",
"d3-shape": "1.0.4",
"d3-transition": "1.0.3"
}
}