-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.55 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
{
"name": "polar-desktop",
"version": "1.0.1",
"main": "main.js",
"license": "MIT",
"scripts": {
"react-build": "rm -rf polar-web && git clone https://github.com/polar-write/polar-web.git && cd polar-web && yarn && yarn build && cd ..",
"react-build-update": "cd polar-web && git pull && yarn && yarn build && cd ..",
"build": "yarn react-build && yarn dist:mac && yarn dist:win",
"build-update": "yarn react-build-update && yarn dist:mac && yarn dist:win",
"dist:mac": "electron-builder --mac",
"dist:win": "electron-builder --win --x64 --ia32",
"prebuild": "rm -rf ./polar-web/build && rm -rf ./dist",
"postinstall": "electron-builder install-app-deps"
},
"homepage": "./",
"build": {
"appId": "com.quocs.polar",
"productName": "Polar",
"copyright": "Copyright © 2021 Quocs Studio",
"mac": {
"category": "public.app-category.productivity",
"target": "dmg",
"icon": "assets/images/logo.png"
},
"win": {
"target": "nsis",
"icon": "assets/images/logo.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"extends": null,
"files": [
"./polar-web/build/**/*",
"./polar-web/node_modules/**/*",
"./polar-web/src/**/*",
"./polar-web/public/*",
"./assets/images/*",
"./main.js"
],
"directories": {
"buildResources": "public"
}
},
"devDependencies": {
"concurrently": "^5.3.0",
"electron": "^11.2.3",
"electron-builder": "^22.9.1",
"wait-on": "^5.2.1"
}
}