forked from Moebits/Waifu2x-GUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
138 lines (138 loc) · 4.27 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
{
"name": "waifu2x-gui",
"version": "0.4.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",
"clean": "del-cli ./dist",
"build": "npm run clean ./build && webpack && electron-builder -p never",
"rebuild": "npm rebuild --runtime=electron --target=14.0.0 --disturl=https://atom.io/download/atom-shell --abi=83",
"release": "npm run release:win && npm run release:linux && npm run release:mac",
"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/Tenpi/Waifu2x-GUI"
},
"build": {
"appId": "com.tenpi.waifu2x",
"productName": "Waifu2x GUI",
"icon": "./assets/icon.png",
"directories": {
"buildResources": "assets",
"output": "build"
},
"buildDependenciesFromSource": true,
"mac": {
"target": {
"target": "dmg",
"arch": "x64"
},
"category": "public.app-category.utilities",
"extraFiles": [
"ffmpeg/ffmpeg.app"
]
},
"dmg": {
"title": "${productName}",
"background": "./assets/background.png",
"window": {
"width": 540,
"height": 380
}
},
"win": {
"target": {
"target": "nsis",
"arch": "x64"
},
"extraFiles": [
"ffmpeg/ffmpeg.exe"
]
},
"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"
]
},
"files": [
"dist/**/*",
"package.json"
],
"publish": {
"provider": "github",
"repo": "Waifu2x-GUI",
"owner": "Tenpi",
"releaseType": "draft"
},
"asarUnpack": "node_modules/waifu2x"
},
"author": "Tenpi",
"license": "MIT",
"devDependencies": {
"@tenpi/tslint": "^1.1.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/sharp": "^0.31.1",
"cross-env": "^7.0.3",
"css-loader": "^5.0.1",
"del-cli": "^3.0.1",
"electron": "^14.0.0",
"electron-builder": "^23.0.2",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^6.1.0",
"html-loader": "^1.3.2",
"html-webpack-plugin": "^4.5.1",
"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.0.1",
"bootstrap": "^4.6.0",
"electron-store": "^7.0.1",
"electron-updater": "^4.3.5",
"image-size": "^0.9.3",
"images-meta": "github:Tenpi/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.30.7",
"waifu2x": "^1.1.5"
}
}