{
  "name": "replaywebpage",
  "productName": "ReplayWeb.page",
  "version": "1.5.7",
  "description": "Serverless Web Archive Replay",
  "repository": "https://github.com/webrecorder/replayweb.page",
  "homepage": "https://replayweb.page/",
  "author": "Webrecorder Software",
  "license": "AGPL-3.0-or-later",
  "dependencies": {
    "@fortawesome/fontawesome-free": "^5.15.4",
    "@webrecorder/wabac": "^2.10.0",
    "bulma": "^0.9.3",
    "electron-log": "^4.4.1",
    "electron-updater": "^4.3.9",
    "fetch-ndjson": "^1.1.6",
    "flexsearch": "^0.7.21",
    "ipfs-core": "^0.10.8",
    "keyword-mark-element": "^0.2.0",
    "lit": "^2.1.1",
    "marked": "^3.0.3",
    "mime-types": "^2.1.32",
    "minimist": "^1.2.5",
    "pretty-bytes": "^5.6.0",
    "process": "^0.11.10",
    "querystring-es3": "^0.2.1",
    "register-service-worker": "^1.7.2",
    "split.js": "^1.6.4",
    "stream-browserify": "^3.0.0"
  },
  "devDependencies": {
    "copy-webpack-plugin": "^9.0.1",
    "css-loader": "^6.2.0",
    "electron": "^16.0.6",
    "electron-builder": "^22.14.2",
    "electron-notarize": "^1.1.1",
    "http-server": "^13.0.2",
    "mini-css-extract-plugin": "^2.3.0",
    "node-sass": "^7.0.1",
    "raw-loader": "^4.0.2",
    "sass-loader": "^12.1.0",
    "style-loader": "^3.2.1",
    "svg-inline-loader": "^0.8.2",
    "webpack": "^5.53.0",
    "webpack-cli": "^4.8.0",
    "webpack-dev-server": "^4.2.1"
  },
  "files": [
    "/assets",
    "/src",
    "/ruffle",
    "sw.js",
    "ui.js",
    "index.js"
  ],
  "scripts": {
    "build": "webpack --mode production",
    "build-dev": "webpack --mode development",
    "build-docs": "bundle install; bundle exec jekyll build",
    "start-dev": "webpack serve --mode development",
    "start-prod": "http-server -p 9990",
    "pack": "CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --publish never",
    "pack-signed": "electron-builder",
    "start-electron": "NODE_ENV=development electron ./dist/electron.js $1",
    "start-jekyll": "yarn run build-docs && bundle exec jekyll serve",
    "dist": "yarn run build && yarn run pack",
    "dist-dev": "yarn run build-dev && yarn run pack",
    "release": "yarn run build && electron-builder",
    "lint": "eslint ./src/ webpack.config.js"
  },
  "build": {
    "afterSign": "build/notarize.js",
    "productName": "ReplayWeb.page",
    "asar": true,
    "appId": "net.webrecorder.replaywebpage",
    "artifactName": "${productName}-${version}.${ext}",
    "extraMetadata": {
      "main": "dist/electron.js"
    },
    "files": [
      "!**/node_modules/**/*",
      "dist/*.js",
      "dist/prebuilds/${platform}-${arch}/*",
      "dist/build/*",
      "*.js",
      "*.html",
      "ruffle",
      "webmanifest.json",
      {
        "from": "_site/assets",
        "to": "assets"
      }
    ],
    "dmg": {
      "title": "ReplayWeb.page"
    },
    "mac": {
      "category": "public.app-category.utilities",
      "target": [
        {
          "target": "dmg",
          "arch": "universal"
        },
        {
          "target": "zip",
          "arch": "universal"
        }
      ],
      "hardenedRuntime": true,
      "gatekeeperAssess": false,
      "entitlements": "build/entitlements.mac.plist",
      "entitlementsInherit": "build/entitlements.mac.plist",
      "electronLanguages": [
        "en"
      ],
      "extraResources": [
        "plugins-mac"
      ]
    },
    "linux": {
      "category": "Archiving;Utility;",
      "target": [
        "AppImage"
      ],
      "extraResources": [
        "plugins-linux"
      ]
    },
    "win": {
      "target": "nsis",
      "extraResources": [
        "plugins-win"
      ]
    },
    "directories": {
      "buildResources": "build",
      "output": "dist"
    },
    "fileAssociations": [
      {
        "ext": "warc",
        "name": "WARC File",
        "description": "WARC File",
        "role": "Viewer"
      },
      {
        "ext": "warc.gz",
        "name": "WARC File",
        "description": "WARC File",
        "role": "Viewer"
      },
      {
        "ext": "har",
        "name": "HAR File",
        "description": "HAR File",
        "role": "Viewer"
      },
      {
        "ext": "wacz",
        "name": "WACZ File",
        "description": "Web Archive Collection Zipped (WACZ)",
        "role": "Viewer"
      }
    ]
  }
}
