-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
33 lines (33 loc) · 1.94 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
{
"name": "mediumdesk",
"productName": "MediumDesk",
"version": "0.2.1",
"description": "Minimal Desktop App for Medium developed by Medium enthusiasts",
"main": "src/index.js",
"license": "MIT",
"repository": "sivragav/mediumdesk",
"author": {
"name": "Sivaprakash Ragavan",
"email": "[email protected]",
"url": "medium.com/desktop-apps"
},
"scripts": {
"start": "electron src/index.js",
"build": "npm run build:osx && npm run build:linux && npm run build:windows",
"build:osx": "electron-packager . --overwrite --asar --out=dist --ignore='^media$' --prune --platform=darwin --arch=x64 --icon=static/Icon.icns --app-bundle-id=com.sivragav.mediumdesk --sign='Developer ID Application: Sivaprakash Ragavan (7S2WW76HXL)' --app-version=$npm_package_version && cd dist/MediumDesk-darwin-x64 && codesign --deep --force --verbose --sign 'Developer ID Application: Sivaprakash Ragavan (7S2WW76HXL)' MediumDesk.app && zip -ryXq9 ../MediumDesk-osx-${npm_package_version}.zip MediumDesk.app",
"build:linux": "electron-packager . --overwrite --out=dist --ignore='^media$' --prune --platform=linux --arch=x64 --app-bundle-id=com.sivragav.mediumdesk --app-version=$npm_package_version && cd dist/MediumDesk-linux-x64/ && zip -ryq9 ../MediumDesk-linux-${npm_package_version}.zip *",
"build:windows": "electron-packager . --overwrite --asar --out=dist --ignore='^media$' --prune --platform=win32 --arch=ia32 --icon=static/Icon.ico --version-string.ProductName=$npm_package_productName --app-version=$npm_package_version && cd dist/MediumDesk-win32-ia32 && zip -ryq9 ../MediumDesk-windows-${npm_package_version}.zip *"
},
"dependencies": {
"document-ready": "^2.0.1",
"electron-debug": "^1.0.0",
"electron-dl": "^1.0.0",
"electron-osx-appearance": "^0.1.1",
"electron-prompt": "^1.1.0-1",
"electron-store": "^1.2.0"
},
"devDependencies": {
"electron-packager": "^7.0.0",
"electron-prebuilt": "^1.0.2"
}
}