Skip to content

Image Pipeline Playground

1.7 KB
Raw Blame
{
  "name": "image-pipes-desktop",
  "version": "0.1.0",
  "private": true,
  "description": "Electron shell for Image Pipes",
  "main": "src/main.cjs",
  "author": "Image Pipes",
  "license": "MIT",
  "scripts": {
    "start": "electron .",
    "dev": "electron . --dev",
    "pack": "electron-builder --dir --publish never",
    "dist": "electron-builder --publish never"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/mrajaeim/image-pipes.git"
  },
  "build": {
    "appId": "com.imagepipes.app",
    "productName": "Image Pipes",
    "copyright": "Copyright © Image Pipes contributors",
    "publish": null,
    "directories": {
      "output": "release",
      "buildResources": "build"
    },
    "files": [
      "src/**/*",
      "package.json"
    ],
    "extraResources": [
      {
        "from": "resources/server",
        "to": "server",
        "filter": ["**/*"]
      },
      {
        "from": "../backend/examples",
        "to": "server/examples",
        "filter": ["**/*"]
      }
    ],
    "win": {
      "target": [
        {
          "target": "nsis",
          "arch": ["x64"]
        }
      ],
      "artifactName": "ImagePipes-Setup-${version}.${ext}"
    },
    "mac": {
      "target": ["dmg"],
      "artifactName": "ImagePipes-${version}.${ext}"
    },
    "linux": {
      "target": ["AppImage"],
      "artifactName": "ImagePipes-${version}.${ext}",
      "category": "Graphics"
    },
    "nsis": {
      "oneClick": false,
      "allowToChangeInstallationDirectory": true,
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "shortcutName": "Image Pipes"
    }
  },
  "devDependencies": {
    "electron": "^44.9.2",
    "electron-builder": "^26.0.12"
  }
}