-
Notifications
You must be signed in to change notification settings - Fork 72
/
package.json
120 lines (120 loc) · 2.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
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
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "yiyin",
"version": "1.5.6",
"license": "MIT",
"type": "module",
"main": "dist-electron/main/index.js",
"description": "一款照片水印添加工具",
"scripts": {
"start": "vite",
"build": "vite build",
"tsc": "tsc --noEmit",
"package:dir": "yarn build && electron-builder -c electron-make.ts --dir",
"package": "yarn build && electron-builder",
"make": "yarn build && electron-builder -p never",
"push:release": "node release.js",
"push:dev": "node dev.js"
},
"author": {
"name": "ggchivalrous",
"email": "[email protected]",
"url": "https://github.com/ggchivalrous/yiyin"
},
"repository": "https://github.com/ggchivalrous/yiyin",
"devDependencies": {
"@ggchivalrous/db-ui": "^1.3.1",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@types/adm-zip": "^0.5.5",
"@types/fluent-ffmpeg": "^2.1.21",
"@types/tar": "^6.1.11",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"adm-zip": "^0.5.12",
"axios": "^1.6.5",
"electron": "24.2.0",
"electron-builder": "^24.6.3",
"eslint": "8.11.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-svelte": "^2.35.1",
"exif-parser": "^0.1.12",
"exifreader": "^4.13.0",
"mime": "^3.0.0",
"sass": "^1.64.2",
"svelte": "^4.2.8",
"tar": "^6.2.0",
"typescript": "^5.0.4",
"vite": "^5.0.10",
"vite-plugin-electron": "^0.11.2",
"vite-plugin-electron-renderer": "^0.14.2"
},
"dependencies": {
"@ffmpeg-installer/ffmpeg": "^1.1.0",
"fluent-ffmpeg": "^2.1.2",
"octokit": "^3.1.0",
"sharp": "0.32.6"
},
"build": {
"asar": false,
"appId": "com.ggchivalrous.yiyin",
"productName": "壹印",
"copyright": "Copyright © 2023 ${author}",
"directories": {},
"extends": [],
"extraMetadata": {
"main": "./main/index.js",
"type": "commonjs"
},
"artifactName": "yiyin-${version}-${platform}-${arch}.${ext}",
"files": [
{
"from": "dist-electron",
"to": ".",
"filter": [
"**/*",
"!package.json"
]
},
"package.json"
],
"mac": {
"icon": "./icon/icon.icns",
"category": "public.app-category.productivity"
},
"dmg": {
"icon": "./icon/icon.icns",
"iconSize": 100,
"contents": [
{
"x": 380,
"y": 280,
"type": "link",
"path": "/Applications"
},
{
"x": 110,
"y": 280,
"type": "file"
}
]
},
"win": {
"icon": "./icon/icon.ico",
"target": [
"nsis"
]
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"perMachine": false
},
"linux": {
"icon": "./icon/icon.ico",
"target": [
"deb",
"rpm"
]
}
}
}