1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-24 07:30:19 +01:00
upscayl/package.json
Nayam Amarshe fad4560c12 Fix lens
2024-01-23 14:14:32 +05:30

248 lines
7.7 KiB
JSON

{
"name": "upscayl",
"private": true,
"version": "2.9.8",
"productName": "Upscayl",
"author": {
"name": "Nayam Amarshe",
"email": "nayam.emikx@aleeas.com",
"url": "https://github.com/NayamAmarshe"
},
"homepage": "https://github.com/TGS963/upscayl",
"contributors": [
{
"name": "Nayam Amarshe",
"email": "nayam.emikx@aleeas.com",
"url": "https://github.com/NayamAmarshe"
},
{
"name": "TGS963",
"email": "tgs@963.com",
"url": "https://github.com/TGS963"
}
],
"email": "nayam.emikx@aleeas.com",
"license": "AGPL-3.0",
"description": "Upscayl - Free and Open Source AI Image Upscaler",
"keywords": [
"AI",
"Upscaler",
"Image Upscale",
"Linux image upscale",
"Topaz Gigapixel",
"Linux",
"KDE",
"Gnome"
],
"main": "export/electron/index.js",
"scripts": {
"clean": "rimraf dist renderer/.next renderer/out",
"start": "tsc && electron .",
"dev": "tsc && electron .",
"build": "tsc && next build renderer && next export renderer",
"tsc": "tsc",
"pack-app": "tsc && npm run build && electron-builder --dir",
"dist": "tsc && npm run build && cross-env DEBUG=* electron-builder",
"dist:appimage": "tsc && npm run build && cross-env DEBUG=* electron-builder build -l AppImage",
"dist:flatpak": "tsc && npm run build && cross-env DEBUG=* electron-builder build -l flatpak",
"dist:deb": "tsc && npm run build && cross-env DEBUG=* electron-builder build -l deb",
"dist:rpm": "tsc && npm run build && cross-env DEBUG=* electron-builder build -l rpm",
"dist:zip": "tsc && npm run build && cross-env DEBUG=* electron-builder build -l zip",
"dist:mac-zip": "tsc && npm run build && cross-env DEBUG=* electron-builder build -l zip",
"dist:dmg": "tsc && npm run build && electron-builder build -m dmg",
"dist:msi": "tsc && npm run build && cross-env DEBUG=* electron-builder build -w nsis",
"dist:pkg": "tsc && npm run build && cross-env DEBUG=* electron-builder build -m pkg",
"dist:mac": "tsc && npm run build && electron-builder --mac --universal",
"dist:mac-arm64": "tsc && npm run build && electron-builder --mac --arm64",
"dist:mas": "npm run enable-store && tsc && npm run build && electron-builder --mac mas --universal -c mas.json && npm run disable-store",
"dist:mas-dev": "tsc && npm run build && electron-builder --mac mas-dev --universal -c mas-dev.json",
"dist:win": "tsc && npm run build && electron-builder --win",
"dist:linux": "tsc && npm run build && electron-builder --linux",
"publish-app": "tsc && npm run build && electron-builder -wlm --publish always",
"publish-linux-app": "tsc && npm run build && electron-builder -l --publish always",
"publish-win-app": "tsc && npm run build && electron-builder -w --publish always",
"publish-mac-universal-app": "tsc && npm run build && electron-builder --mac --universal --publish always",
"publish-mac-app": "tsc && npm run build && electron-builder --mac --x64 --publish always",
"publish-mac-arm-app": "tsc && npm run build && electron-builder --mac --arm64 --publish always",
"dist:appstore": "CSC_KEY_PASSWORD=$PASSWORD CSC_LINK=$(openssl base64 -in $CERTIFICATE_PATH) npm run dist:mac-mas",
"enable-store": "sed -i '' -e 's/APP_STORE_BUILD: false,/APP_STORE_BUILD: true,/' common/feature-flags.ts",
"disable-store": "sed -i '' -e 's/APP_STORE_BUILD: true,/APP_STORE_BUILD: false,/' common/feature-flags.ts"
},
"build": {
"productName": "Upscayl",
"appId": "org.upscayl.Upscayl",
"artifactName": "${name}-${version}-${os}.${ext}",
"afterSign": "./notarize.js",
"asar": true,
"buildVersion": "23.11.4",
"asarUnpack": [
"**/node_modules/sharp/**/*"
],
"extraFiles": [
{
"from": "resources/${os}/bin",
"to": "resources/bin",
"filter": [
"**/*"
]
},
{
"from": "resources/models",
"to": "resources/models",
"filter": [
"**/*"
]
},
{
"from": "org.upscayl.Upscayl.desktop",
"to": "resources/org.upscayl.Upscayl.desktop"
},
{
"from": "resources/icons/128x128.png",
"to": "resources/128x128.png"
},
{
"from": "resources/icons/512x512.png",
"to": "resources/512x512.png"
}
],
"mas": {
"hardenedRuntime": false,
"electronLanguages": [
"en"
],
"category": "public.app-category.photography",
"entitlements": "resources/entitlements.mas.plist",
"entitlementsInherit": "resources/entitlements.mas.inherit.plist",
"provisioningProfile": "embedded.provisionprofile",
"mergeASARs": false,
"gatekeeperAssess": false,
"icon": "build/icon.icns",
"x64ArchFiles": "*",
"target": [
{
"target": "mas",
"arch": [
"universal"
]
}
]
},
"mac": {
"hardenedRuntime": true,
"gatekeeperAssess": false,
"mergeASARs": false,
"x64ArchFiles": "*",
"category": "public.app-category.photography",
"entitlements": "resources/entitlements.mac.plist",
"entitlementsInherit": "resources/entitlements.mac.plist",
"provisioningProfile": "embedded.provisionprofile",
"target": [
{
"target": "dmg",
"arch": [
"universal"
]
},
{
"target": "zip",
"arch": [
"universal"
]
}
]
},
"dmg": {
"sign": "false",
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"target": [
"AppImage",
"zip",
"deb",
"rpm"
],
"maintainer": "Nayam Amarshe <simplelogin-newsletter.j1zez@aleeas.com>",
"category": "Graphics;2DGraphics;RasterGraphics;ImageProcessing;",
"synopsis": "AI Image Upscaler",
"description": "Free and Open Source AI Image Upscaler",
"icon": "resources/icons/512x512.png"
},
"win": {
"publisherName": "Upscayl Team",
"target": [
"nsis",
"zip"
],
"icon": "build/icon.png"
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"allowElevation": true,
"perMachine": true
},
"files": [
"export",
"renderer/out"
],
"publish": {
"provider": "github"
}
},
"devDependencies": {
"@electron/notarize": "^2.1.0",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^18.15.12",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"autoprefixer": "^10.4.16",
"cross-env": "^7.0.3",
"daisyui": "^3.9.4",
"electron": "^27.2.4",
"electron-builder": "^24.9.1",
"next": "^13.5.6",
"postcss": "^8.4.31",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "^3.3.5",
"typescript": "^4.8.4"
},
"dependencies": {
"dotenv": "^16.3.1",
"electron-is-dev": "^2.0.0",
"electron-log": "^5.0.0-beta.16",
"electron-next": "^3.1.5",
"electron-settings": "^4.0.2",
"electron-updater": "^6.1.4",
"firebase": "^10.3.0",
"gray-matter": "^4.0.3",
"jotai": "^2.2.2",
"react-compare-slider": "^3.0.1",
"react-markdown": "^9.0.1",
"react-select": "^5.7.4",
"react-tooltip": "^5.18.1",
"remark-gfm": "^4.0.0",
"sharp": "^0.32.6",
"tailwind-scrollbar": "^3.0.4",
"theme-change": "^2.5.0"
},
"volta": {
"node": "18.17.0"
}
}