-
Notifications
You must be signed in to change notification settings - Fork 144
/
package.json
22 lines (20 loc) · 1014 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "lunchbox",
"version": "1.0.0",
"dependencies": {
"electron-packager": "~5.0.1",
"electron-builder": "~2.0.0",
"less": "~1.7.0"
},
"scripts": {
"clean": "npm run clean:osx && npm run clean:win",
"clean:osx": "rm -f Lunchbox.dmg",
"clean:win": "rm -f \"Lunchbox Setup.exe\"",
"build": "npm run clean && npm run build:osx && npm run build:win",
"build:osx": "electron-packager www Lunchbox --platform=darwin --arch=x64 --version=0.30.3 --icon=www/img/icon-lunchbox.icns --overwrite --out electron",
"build:win": "electron-packager www Lunchbox --platform=win32 --arch=ia32 --version=0.30.3 --icon=www/img/icon-lunchbox.ico --overwrite --out electron",
"pack": "npm run build && npm run pack:osx && npm run pack:win",
"pack:osx": "electron-builder electron/Lunchbox-darwin-x64/Lunchbox.app --platform=osx --config=packager-config.json",
"pack:win": "electron-builder electron/Lunchbox-win32-ia32 --platform=win --config=packager-config.json"
}
}