Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
44 lines (44 sloc) 1.52 KB
{
"name": "d3-svg",
"version": "0.2.3",
"description": "Micromodule to return a svg that is selected by d3",
"keywords": [
"d3",
"plugin"
],
"license": "MIT",
"main": "build/d3-svg.js",
"jsnext:main": "index",
"homepage": "https://github.com/53seven/d3-svg",
"repository": {
"type": "git",
"url": "https://github.com/53seven/d3-svg.git"
},
"scripts": {
"build": "mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -c rollup.config.js -f umd --amd.id d3-svg -n d3_svg -o build/d3-svg.js -- build/bundle.js",
"minify": "uglifyjs build/d3-svg.js -c -m -o build/d3-svg.min.js",
"archive": "rm -f build/d3-svg.zip && zip -j build/d3-svg.zip -- LICENSE README.md build/d3-svg.js build/d3-svg.min.js",
"pretest": "npm run build",
"test": "faucet `find test -name '*-test.js'`",
"version": "npm run build && npm run minify && git add build/d3-svg.js build/d3-svg.min.js",
"prepublish": "npm run test && npm run minify && npm run archive"
},
"author": {
"name": "kiernan",
"email": "kiernan@537.io",
"url": "537.io"
},
"devDependencies": {
"faucet": "0.0",
"jsdom": "^11.0.0",
"rollup-plugin-commonjs": "^9.0.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup": "0.56.2",
"tape": "4",
"tape-catch": "^1.0.4",
"uglify-js": "^3.0.0"
},
"dependencies": {
"d3-selection": "^1.0.5"
}
}