-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
107 lines (107 loc) · 3.21 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "electron-capture",
"version": "1.0.0",
"author": {
"name": "xudeming",
"email": "xudeming208@126.com"
},
"description": "利用electron开发的桌面截图工具,支持Windows、Mac、Linux,支持双屏幕",
"main": "./main/index.js",
"keywords": [
"electron-capture",
"capture",
"capture-electron",
"electron",
"screen-capture",
"截图工具",
"截图",
"网页截图",
"屏幕截图",
"electron截图",
"electron截屏"
],
"engines": {
"node": ">=8.5"
},
"scripts": {
"dev": "cross-env NODE_ENV=development electron .",
"pro": "cross-env NODE_ENV=production electron .",
"build:win": "rm -rf ./build/* && cross-env NODE_ENV=production electron-builder -w",
"build:mac": "rm -rf ./build/* && cross-env NODE_ENV=production electron-builder -m",
"build:linux": "rm -rf ./build/* && cross-env NODE_ENV=production electron-builder -l",
"build:all": "rm -rf ./build/* && cross-env NODE_ENV=production electron-builder -mwl",
"build:byCurrentOs": "rm -rf ./build/* && cross-env NODE_ENV=production electron-builder"
},
"build": {
"productName": "截图工具",
"appId": "com.xdm.app",
"copyright": "xudeming208@126.com",
"asar": true,
"compression": "maximum",
"directories": {
"output": "build"
},
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"installerIcon": "./static/icons/icon.ico",
"uninstallerIcon": "./static/icons/icon.ico",
"installerHeaderIcon": "./static/icons/icon.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "截图工具"
},
"dmg": {
"contents": [{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
}, {
"x": 130,
"y": 150,
"type": "file"
}]
},
"mac": {
"icon": "./static/icons/icon.icns"
},
"win": {
"icon": "./static/icons/icon.ico",
"target": [{
"target": "nsis",
"arch": [
"ia32"
]
}]
},
"linux": {
"icon": "./static/icons",
"target": [{
"target": "AppImage",
"arch": [
"x64"
]
}, "deb"]
}
},
"repository": {
"type": "git",
"url": "https://github.com/xudeming208/electron-capture"
},
"homepage": "https://github.com/xudeming208/electron-capture",
"bugs": {
"url": "https://github.com/xudeming208/electron-capture/issues"
},
"license": "MIT",
"dependencies": {
"auto-launch": "5.0.5",
"fe-logs": "1.0.13"
},
"devDependencies": {
"cross-env": "6.0.3",
"electron": "7.1.2",
"electron-builder": "22.2.0"
}
}