-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
98 lines (98 loc) · 2.54 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "Spritebot",
"version": "1.3.3",
"license": "GPL",
"description": "A SVG compression, minification, prettification & sprite generation application.",
"author": "Thomas J Bradley <[email protected]>",
"homepage": "https://github.com/thomasjbradley/spritebot",
"bugs": "https://github.com/thomasjbradley/spritebot/issues",
"private": true,
"main": "spritebot.js",
"dependencies": {
"electron-is": "^2.4.0",
"electron-store": "^1.2.0",
"handlebars": "^4.0.11",
"merge-objects": "^1.0.5",
"node-dir": "^0.1.17",
"svgo": "^0.7.2",
"xml-formatter": "^1.0.1",
"xml2js": "^0.4.19"
},
"devDependencies": {
"electron": "1.7.9",
"electron-builder": "^19.27.2"
},
"scripts": {
"debug": "NODE_ENV=development electron spritebot.js",
"start": "NODE_ENV=production electron spritebot.js",
"pack-mac": "build -m --dir",
"pack-win": "build -w --dir",
"pack": "build -mw --dir",
"pack-bg": "tiffutil -cathidpicheck ./build/background.png ./build/[email protected] -out ./build/background.tiff",
"build-mac": "npm run pack-bg && build -m",
"build-win": "build -w",
"build": "npm run build-mac && npm run build-win"
},
"repository": {
"type": "git",
"url": "https://github.com/thomasjbradley/spritebot.git"
},
"build": {
"appId": "ca.thomasjbradley.spritebot",
"copyright": "© Thomas J Bradley",
"productName": "Spritebot",
"compression": "maximum",
"fileAssociations": [
{
"ext": "svg",
"name": "Scalable Vector Graphic",
"description": "Minify and combine SVG graphics into spritesheets",
"role": "Editor"
}
],
"mac": {
"target": "dmg",
"category": "public.app-category.developer-tools",
"extendInfo": {
"CFBundleDocumentTypes": [
{
"CFBundleTypeRole": "Editor",
"LSHandlerRank": "Alternate",
"LSItemContentTypes": [
"public.directory",
"com.apple.bundle",
"com.apple.resolvable"
]
}
]
}
},
"win": {
"target": "nsis"
},
"nsis": {
"perMachine": true
},
"dmg": {
"title": "Install Spritebot",
"iconSize": 100,
"window": {
"x": 200,
"y": 200
},
"contents": [
{
"x": 494,
"y": 270,
"type": "link",
"path": "/Applications"
},
{
"x": 210,
"y": 270,
"type": "file"
}
]
}
}
}