-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathpackage.json
83 lines (83 loc) · 2 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
{
"name": "tinyimage",
"version": "1.2.8",
"description": "一款压缩效率极高的图片压缩工具",
"main": "main.js",
"scripts": {
"start": "electron .",
"mac": "export CSC_IDENTITY_AUTO_DISCOVERY=false",
"build": "electron-builder --x64 --publish never",
"release": "electron-builder --x64 --publish always"
},
"build": {
"appId": "com.focusbe.tinyimage",
"asar": false,
"publish": [
{
"provider": "github"
}
],
"asarUnpack": [
"node_modules/mozjpeg/",
"node_modules/tinypngjs/",
"node_modules/execa/",
"node_modules/imagemin/",
"renderer"
],
"mac": {
"category": "your.app.category.type",
"icon": "assets/tinypng",
"target": [
"zip",
"dmg"
]
},
"win": {
"target": "nsis",
"icon": "assets/tinypng"
},
"nsis": {
"oneClick": true,
"allowToChangeInstallationDirectory": false
},
"files": {
"filter": [
"**/*",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts}",
"!**/node_modules/.bin",
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
"!**/._*",
"!.editorconfig",
"!package.json",
"!README.md",
"!yarn.lock",
"!package-lock.json"
]
},
"directories": {
"output": "output"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/focusbe/tinyImage.git"
},
"author": "刘鹏",
"license": "ISC",
"bugs": {
"url": "https://github.com/focusbe/tinyImage/issues"
},
"homepage": "https://github.com/focusbe/tinyImage#readme",
"devDependencies": {
"cross-env": "^7.0.3",
"electron": "^24.1.2",
"electron-builder": "^23.6.0"
},
"dependencies": {
"@electron/remote": "^2.0.9",
"electron-updater": "^5.3.0",
"fs-extra": "^8.1.0",
"imagemin": "^8.0.1",
"tinypngjs": "^1.2.10"
}
}