-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
33 lines (33 loc) · 1.22 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"name": "d3-save-pdf",
"version": "0.0.2",
"description": "D3 plugin for exporting SVGs. Based on svg-crowbar by Shan Carter",
"keywords": [
"d3",
"svg",
"pdf",
"svg-crowbar"
],
"license": "BSD-3-Clause",
"main": "build/d3-save-svg.js",
"jsnext:main": "index",
"homepage": "https://github.com/kalimuthu123/d3-save-pdf",
"repository": {
"type": "git",
"url": "https://github.com/kalimuthu123/d3-save-pdf"
},
"scripts": {
"pretest": "mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -u d3-save-svg -n d3_save_svg -o build/d3-save-svg.js -- build/bundle.js",
"test": "faucet `find test -name '*-test.js'`",
"prepublish": "npm run test && uglifyjs build/d3-save-svg.js -c -m -o build/d3-save-svg.min.js && rm -f build/d3-save-svg.zip && zip -j build/d3-save-svg.zip -- LICENSE README.md build/d3-save-svg.js build/d3-save-svg.min.js"
},
"devDependencies": {
"faucet": "0.0",
"jsdom": "^7.1.0",
"rollup": "0.20.5",
"tape": "4",
"uglify-js": "2",
"w3c-blob": "0.0.1",
"xmlserializer": "^0.3.3"
}
}