aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop/package.json
diff options
context:
space:
mode:
authorDevine Lu Linvega <[email protected]>2018-02-15 09:41:02 +1300
committerDevine Lu Linvega <[email protected]>2018-02-15 09:41:02 +1300
commitd1a94697196083e00f59805fa2ba4f5a71407f35 (patch)
tree5c63432aae5bb237372a0b2ca5a55b2f306a9a42 /desktop/package.json
parentfc3b4955398cd7622a636fc0e15db2f7e8f5b891 (diff)
downloadOrca-d1a94697196083e00f59805fa2ba4f5a71407f35.tar.gz
Orca-d1a94697196083e00f59805fa2ba4f5a71407f35.zip
Init
Diffstat (limited to 'desktop/package.json')
-rw-r--r--desktop/package.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/desktop/package.json b/desktop/package.json
new file mode 100644
index 0000000..0dd2a76
--- /dev/null
+++ b/desktop/package.json
@@ -0,0 +1,20 @@
+{
+ "name": "Clock",
+ "version": "0.1.0",
+ "main": "main.js",
+ "scripts": {
+ "start": "electron .",
+ "time":"node time.js",
+ "clean" : "rm -r ~/Desktop/Clock-darwin-x64/ ; rm -r ~/Desktop/Clock-linux-x64/ ; rm -r ~/Desktop/Clock-win32-x64/ ; echo 'cleaned build location'",
+ "build_osx" : "electron-packager . Clock --platform=darwin --arch=x64 --out ~/Desktop/ --overwrite --icon=icon.icns ; echo 'Built for OSX'",
+ "build_linux" : "electron-packager . Clock --platform=linux --arch=x64 --out ~/Desktop/ --overwrite --icon=icon.ico ; echo 'Built for LINUX'",
+ "build_win" : "electron-packager . Clock --platform=win32 --arch=x64 --out ~/Desktop/ --overwrite --icon=icon.ico ; echo 'Built for WIN'",
+ "build" : "npm run clean ; npm run build_osx ; npm run build_linux ; npm run build_win"
+ },
+ "devDependencies": {
+ "electron": "^1.8.1"
+ },
+ "dependencies": {
+ "electron-packager": "^8.4.0"
+ }
+}