-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 1.92 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
61
62
63
64
65
66
67
{
"name": "Speedsters",
"version": "0.2.0",
"main": "dist/index.js",
"scripts": {
"start": "concurrently \"yarn start:dev-server\" \"npm run wait:localhost && npm run start:electron\" \"npm run watch:electron\"",
"wait:localhost": "wait-on http://localhost:1337",
"start:dev-server": "cd renderer && npm start",
"start:electron": "electron .",
"watch:electron": "tsc -w",
"build": "yarn run pre-build && electron-builder -mwl",
"build:mac": "yarn run pre-build && electron-builder -m",
"build:windows": "yarn run pre-build && electron-builder -w",
"build:renderer": "cd renderer && yarn run build",
"build:electron-main": "tsc",
"pre-build": "yarn run clean && yarn run copy-assets && yarn run copy-icons && yarn run build:electron-main && yarn run build:renderer",
"copy-assets": "../../node_modules/.bin/copyfiles -f main/assets/* ./dist/assets",
"copy-icons": "../../node_modules/.bin/copyfiles -f main/icons/* ./dist/icons",
"clean": "rimraf dist && rimraf release"
},
"author": "Diego Oliveira <[email protected]>",
"license": "ISC",
"homepage": "./",
"build": {
"appId": "com.speedsters.app",
"productName": "Speedsters",
"electronDownload": {
"cache": ".electron.cache"
},
"directories": {
"buildResources": "dist/",
"output": "release"
},
"mac": {
"category": "public.app-category.developer-tools"
},
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 400,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": "nsis"
},
"files": [
"dist/**/*"
]
},
"dependencies": {
"electron-about-window": "^1.12.1",
"electron-window-state": "^5.0.1",
"ws": "^6.0.0"
},
"devDependencies": {
"electron": "3.0.8",
"electron-builder": "^20.28.3"
}
}