-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 1.91 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "metronome",
"productName": "Focus Metronome",
"version": "1.0.2",
"private": true,
"main": "build/electron/index.js",
"homepage": "./",
"author": {
"name": "Tolga Erdonmez",
"email": "[email protected]"
},
"dependencies": {
"electron-is-dev": "^1.2.0"
},
"devDependencies": {
"@types/node": "^15.0.2",
"asar": "^3.0.3",
"concurrently": "^5.2.0",
"electron": "^12.0.5",
"electron-builder": "^22.10.5",
"electron-notarize": "^1.0.0",
"electron-notarize-dmg": "^1.0.0",
"electron-packager": "^14.2.1",
"electron-reload": "^1.5.0",
"npm-run-all": "^4.1.5",
"typescript": "^4.2.4",
"wait-on": "^4.0.2"
},
"scripts": {
"build:app": "yarn --cwd src/app build",
"build:shared": "yarn tsc -p ./tsconfig.shared.json",
"dev:app": "yarn --cwd src/app dev",
"dev": "ELECTRON_IS_DEV=1 concurrently 'yarn dev:app' 'yarn dev:electron'",
"predev": "yarn build:shared",
"dev:electron": "ELECTRON_IS_DEV=1 electron src/electron/index.js",
"package-mac": "CSC_LINK=./build/all-certs.p12 electron-builder build --mac && bash build/resignAndPackage.sh",
"package-linux": "electron-builder build --linux appImage -c.extraMetadata.main=build/electron/index.js",
"package-win": "electron-builder build --win portable -c.extraMetadata.main=build/electron/index.js",
"prepackage": "yarn build:shared && yarn build:app && cp -r src/electron build/ && cp -r src/lib build/ && cp -r macOS/* build/",
"prepackage-linux": "yarn prepackage",
"prepackage-mac": "yarn prepackage",
"prepackage-win": "yarn prepackage",
"clean": "rm -rf build dist"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}