forked from Hypercubed/svgsaver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.11 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "svgsaver",
"version": "0.9.0",
"description": "download an SVG element with css styles",
"main": "lib/svgsaver.js",
"jsnext:main": "src/svgsaver.js",
"scripts": {
"rollup": "rollup ./src/index.js -e copy-styles | babel -o ./lib/svgsaver.js",
"browserify": "browserify ./lib/svgsaver.js -o browser.js -s SvgSaver",
"uglify": "uglifyjs browser.js -o browser.min.js",
"test": "npm run check && npm run zuul:phantom",
"compile": "npm run rollup && npm run browserify && npm run uglify",
"build": "npm run compile && npm run jsdoc2md",
"lint": "semistandard test/*.js src/*.js",
"check": "npm run lint -s && dependency-check package.json --entry src",
"watch": "watch \"npm run build\" src/",
"watch:test": "watch \"npm test\" src/ test/",
"demo": "live-server --open=demo --ignore=src",
"start": "npm run demo & npm run watch",
"jsdoc2md": "jsdoc-parse ./src/svgsaver.js | dmd > API.md",
"version": "chg release -y && git add -A CHANGELOG.md",
"zuul:local": "zuul --local 9966 --ui tape -- test/svgsaver-spec.js",
"zuul:phantom": "zuul --phantom --ui tape -- test/svgsaver-spec.js | tap-spec",
"np": "npm run build && np"
},
"keywords": [
"svg",
"FileSaver",
"dom",
"css",
"png"
],
"author": "J. Harshbarger",
"license": "MIT",
"devDependencies": {
"babel": "^5.8.38",
"babelify": "6",
"browserify": "13.0.0",
"dependency-check": "^2.5.1",
"dmd": "^1.4.2",
"jsdoc-parse": "^1.2.7",
"live-server": "^1.1.0",
"np": "^2.14.1",
"phantomjs-prebuilt": "^2.1.14",
"rollup": "^0.36.3",
"semistandard": "^9.1.0",
"tap-spec": "^4.1.0",
"tape": "^4.6.3",
"uglifyjs": "^2.4.10",
"watch": "^1.0.1",
"zuul": "^3.11.1"
},
"dependencies": {
"computed-styles": "^1.1.2",
"file-saver": "^1.3.3"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "https://github.com/Hypercubed/svgsaver.git"
},
"bugs": {
"url": "https://github.com/Hypercubed/svgsaver/issues"
},
"homepage": "https://github.com/Hypercubed/svgsaver#readme"
}