1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-27 17:00:52 +01:00
upscayl/package.json
2024-10-06 12:45:44 +05:30

260 lines
8.1 KiB
JSON

{
"name": "upscayl",
"private": true,
"version": "2.11.5",
"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",
"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": "npm run enable-store && tsc && npm run build && electron-builder --mac mas-dev --universal -c mas-dev.json && npm run disable-store",
"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,
"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": "*",
"minimumSystemVersion": "12.0.0",
"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/"
},
"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": "^4.10.2",
"electron": "^27.3.10",
"electron-builder": "^24.13.3",
"next": "^14.2.10",
"postcss": "^8.4.31",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.3.5",
"typescript": "^4.8.4"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-scroll-area": "^1.2.0",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.5",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"cmdk": "^1.0.0",
"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.3",
"electron-updater": "^6.3.0",
"eslint-config-next": "^14.2.7",
"firebase": "^10.11.0",
"gray-matter": "^4.0.3",
"jotai": "^2.2.2",
"lucide-react": "^0.366.0",
"react-compare-slider": "^3.0.1",
"react-markdown": "^9.0.1",
"react-resizable-panels": "^2.0.16",
"react-select": "^5.7.4",
"react-tooltip": "^5.18.1",
"remark-gfm": "^4.0.0",
"tailwind-merge": "^2.2.2",
"tailwind-scrollbar": "^3.0.4",
"tailwindcss-animate": "^1.0.7",
"theme-change": "^2.5.0"
},
"volta": {
"node": "18.17.0"
}
}