-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·61 lines (61 loc) · 2.04 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
{
"name": "sbg-xml-merge",
"productName": "SBG XML Merge",
"description": "An application to merge XML files into a single file that conforms with SBG XSD v5.0 (sbggz.nl)",
"author": "Fajar van Megen <fajarvm@gmail.com>",
"license": "(MIT OR GPL-3.0)",
"repository": {
"type": "git",
"url": "git+https://fajarvm@github.com/fajarvm/sbg-xml-merge.git"
},
"scripts": {
"postinstall": "install-app-deps",
"start": "electron ./app",
"dev": "electron ./app --enable-logging",
"dist": "npm run dist:mac",
"dist:mac": "build --x64",
"dist:linux": "build --ia32",
"dist:win": "build -mwl",
"prerelease:osx": "rimraf release/osx && mkdirp release/osx",
"release:osx": "copyfiles -f dist/mac/*.{dmg,zip} release/osx && PACKAGE_VERSION=$(cat app/package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && echo $PACKAGE_VERSION >> ./release/osx/VERSION",
"prerelease:win32": "rimraf release/win32 && mkdirp release/win32",
"release:win32": "copyfiles -f dist/win-ia32/{RELEASES,*.nupkg,*.exe} release/win32",
"prerelease:win64": "rimraf release/win64 && mkdirp release/win64",
"release:win64": "copyfiles -f dist/win/{RELEASES,*.nupkg,*.exe} release/win64"
},
"build": {
"appId": "com.fajarvanmegen.sbgxmlmerge",
"app-category-type": "public.app-category.developer-tools",
"dmg": {
"title": "SBG XML Merge Tool",
"background": "build/background.png",
"icon": "build/icon.icns",
"icon-size": 128,
"contents": [
{
"x": 370,
"y": 170,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 170,
"type": "file"
}
]
},
"win": {
"title": "SBG XML Merge Tool",
"iconUrl": "build/logo.ico"
}
},
"devDependencies": {
"copyfiles": "~1.0.0",
"mkdirp": "~0.5.1",
"bootstrap": "^3.3.7",
"electron-builder": "^5.22.2",
"electron-prebuilt": "^1.3.2",
"rimraf": "latest"
}
}