-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 1.81 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
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "GFTool-Electron",
"version": "0.2.0",
"description": "GFTool Electron version",
"main": "src/index.js",
"repository": "https://github.com/Kreedzt/GFTool-Electron",
"author": "Kreedzt",
"license": "MIT",
"private": false,
"scripts": {
"start": "electron .",
"initialize-config": "node autoCreateConfigFile.js",
"lint:fix": "eslint --fix src/**/*.js",
"tag-version": "npm run lint:fix && node setVersion.js",
"build:win": "npm run tag-version && electron-builder -w",
"build:mac": "npm run tag-version && electron-builder -m"
},
"build": {
"appId": "com.gftool.electron.app",
"productName": "GFTool-Electron",
"files": [
"src/**/*"
],
"directories": {
"output": "dist"
},
"extraFiles": [
{
"from": "web",
"to": "web",
"filter": [
"**/*"
]
},
{
"from": "config",
"to": "config",
"filter": [
"**/*"
]
}
],
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true
},
"win": {
"icon": "assets/app-icon/win/app.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
]
},
"mac": {
"category": "public.gftool-electron",
"target": "dmg",
"icon": "assets/app-icon/mac/app.icns"
}
},
"dependencies": {
"electron-log": "^4.1.2",
"superagent": "^5.2.2",
"superagent-proxy": "^2.0.0",
"v8-compile-cache": "^2.1.0"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"electron": "^8.2.5",
"electron-builder": "^22.6.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-plugin-import": "^2.20.2"
}
}