-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
148 lines (148 loc) · 4.52 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "waifu2x-gui",
"version": "0.5.1",
"description": "A gui app that upscales anime-styled images with waifu2x",
"main": "dist/main.js",
"scripts": {
"start": "npm run clean && webpack && cross-env DEVELOPMENT=true electron dist/main.js",
"start-fast": "electron dist/main.js",
"clean": "del-cli ./dist",
"build": "npm run clean ./build && webpack && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -p never",
"build-fast": "webpack && electron-builder -p never",
"rebuild": "electron-rebuild -f -w @napi-rs/canvas",
"release": "npm run release:mac && npm run release:linux && npm run release:win",
"release:mac": "npm run clean ./build && webpack && npm run sharp:mac && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -m -p always",
"release:win": "npm run clean ./build && webpack && npm run sharp:win && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -w -p always",
"release:linux": "npm run clean ./build && webpack && npm run sharp:linux && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder -l -p always",
"sharp:mac": "del-cli ./node_modules/sharp && npm install --platform=darwin --arch=arm64 sharp",
"sharp:win": "del-cli ./node_modules/sharp && npm install --platform=win32 --arch=x64 sharp",
"sharp:linux": "del-cli ./node_modules/sharp && npm install --platform=linux --arch=x64 sharp"
},
"keywords": [
"waifu2x",
"GUI",
"anime",
"upscaling"
],
"repository": {
"type": "git",
"url": "https://github.com/Moebits/Waifu2x-GUI"
},
"build": {
"appId": "com.moebits.waifu2x",
"productName": "Waifu2x GUI",
"icon": "./assets/icon.png",
"directories": {
"buildResources": "assets",
"output": "build"
},
"buildDependenciesFromSource": true,
"mac": {
"target": {
"target": "dmg",
"arch": "arm64"
},
"category": "public.app-category.utilities",
"extraFiles": [
"ffmpeg/ffmpeg.app",
"models"
]
},
"dmg": {
"title": "${productName}",
"background": "./assets/background.png",
"window": {
"width": 540,
"height": 380
}
},
"win": {
"target": {
"target": "nsis",
"arch": "x64"
},
"extraFiles": [
"ffmpeg/ffmpeg.exe",
"models"
]
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"uninstallDisplayName": "Waifu2x GUI",
"createDesktopShortcut": "always",
"installerSidebar": "./assets/installer.bmp",
"uninstallerSidebar": "./assets/installer.bmp"
},
"linux": {
"target": {
"target": "appImage",
"arch": "x64"
},
"category": "Utility",
"extraFiles": [
"ffmpeg/ffmpeg",
"models"
]
},
"files": [
"dist/**/*",
"**/*.dll",
"package.json"
],
"publish": {
"provider": "github",
"repo": "Waifu2x-GUI",
"owner": "Moebits",
"releaseType": "draft"
},
"asar": true,
"asarUnpack": [
"node_modules/waifu2x",
"node_modules/**/*.node"
]
},
"author": "Moebits",
"license": "MIT",
"devDependencies": {
"@electron/rebuild": "^3.6.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/sharp": "^0.31.1",
"copy-webpack-plugin": "^9.1.0",
"cross-env": "^7.0.3",
"css-loader": "^5.0.1",
"del-cli": "^3.0.1",
"electron": "^22.3.27",
"electron-builder": "^24.9.1",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^6.1.0",
"html-loader": "^1.3.2",
"html-webpack-plugin": "^5.6.0",
"less": "^4.1.0",
"less-loader": "^7.3.0",
"mini-css-extract-plugin": "^1.3.5",
"node-loader": "^1.0.3",
"terser-webpack-plugin": "^5.1.1",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3",
"webpack": "^5.18.0",
"webpack-cli": "^4.4.0"
},
"dependencies": {
"@electron/remote": "^2.1.2",
"bootstrap": "^4.6.0",
"electron-store": "^7.0.1",
"electron-updater": "^4.3.5",
"images-meta": "github:Moebits/images-meta",
"react": "^17.0.1",
"react-bootstrap": "^1.4.3",
"react-dom": "^17.0.1",
"react-dropzone": "^11.3.0",
"react-reorder": "^3.0.0-alpha.7",
"shade-blend-color": "^1.0.0",
"sharp": "^0.33.5",
"waifu2x": "^1.4.6"
}
}