forked from G07cha/pomodoro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
39 lines (39 loc) · 1.79 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
{
"name": "pomodoro",
"productName": "Pomodoro",
"version": "0.0.1",
"description": "Pomodoro timer build with electron",
"license": "MIT",
"repository": "https://github.com/G07cha/pomodoro.git",
"author": "g07cha",
"engines": {
"node": ">=4"
},
"electronVersion": "0.34.3",
"scripts": {
"test": "xo",
"start": "electron .",
"production": "npm run clean && npm run build && npm run package",
"clean": "rm -rf ./dist",
"build": "npm run build-osx && npm run build-win",
"build-osx": "electron-packager . $npm_package_productName --out=dist --ignore='^/dist$' --overwrite --prune --asar --arch=all --platform=darwin --icon=./icon.icns --version=$npm_package_electronVersion",
"build-win": "electron-packager . $npm_package_productName --out=dist --arch=all --platform=win32 --ignore='^/dist$' --prune --asar --overwrite --icon=./icon.ico --version=$npm_package_electronVersion",
"package": "npm run package-win32 && npm run package-win64 && npm run package-osx",
"package-win64": "electron-builder dist/pomodoro-win32-x64/ --platform=win --out=dist --config=config.json && mv 'dist/Pomodoro Setup.exe' dist/Pomodoro_Windows64.exe",
"package-win32": "electron-builder dist/pomodoro-win32-ia32 --platform=win --out=dist --config=config.json && mv 'dist/Pomodoro Setup.exe' dist/Pomodoro_Windows32.exe",
"package-osx": "electron-builder dist/pomodoro-darwin-x64/pomodoro.app --platform=osx --out=dist --config=config.json"
},
"dependencies": {
"auto-launch": "^0.1.19",
"human-readable-time": "^0.2.0",
"jquery": "^2.1.4",
"menubar": "^2.2.1",
"timer-stopwatch": "^0.1.6"
},
"devDependencies": {
"electron-builder": "^2.1.1",
"electron-debug": "^0.4.0",
"electron-packager": "^5.0.0",
"electron-prebuilt": "^0.34.3"
}
}