forked from nprapps/lunchbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
22 lines (20 loc) · 1012 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": "app-template",
"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 Lunchbox.dmg",
"clean:win": "rm \"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.1 --icon=www/img/icon-lunchbox.icns --overwrite --out electron",
"build:win": "electron-packager www Lunchbox --platform=win32 --arch=ia32 --version=0.30.1 --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"
}
}