{
  "name": "activitypub-adapter",
  "display_name": "ActivityPub",
  "version": "0.0.23",
  "description": "ActivityPub/Mastodon adapter for Mozilla IoT Gateway",
  "author": "Philippe Coval",
  "main": "index.js",
  "scripts": {
    "lint": "eslint --no-ignore *.js"
  },
  "keywords": [
    "mozilla",
    "iot",
    "adapter"
  ],
  "license": "MPL-2.0",
  "homepage": "https://github.com/rzr/mastodon-lite",
  "repository": {
    "type": "git",
    "url": "https://github.com/rzr/mastodon-lite.git"
  },
  "bugs": {
    "url": "https://github.com/rzr/mastodon-lite/issues"
  },
  "files": [
    "LICENSE",
    "README.md",
    "SHA256SUMS",
    "activitypub-adapter.js",
    "activitypub-notifier.js",
    "index.js",
    "manifest.json",
    "node_modules"
  ],
  "dependencies": {
    "html-to-text": "^5.1.1",
    "mastodon-lite": "0.0.22"
  },
  "bundledDependencies": [
    "mastodon-lite"
  ],
  "moziot": {
    "api": {
      "min": 2,
      "max": 2
    },
    "plugin": true,
    "exec": "{nodeLoader} {path}",
    "config": {
      "access_token": "TODO: replace with token from ${instance}/settings/applications",
      "hostname": "mastodon.social",
      "port": 443,
      "api": "/api/v1",
      "rejectUnauthorized": false
    },
    "schema": {
      "type": "object",
      "description": "Configuration of ActivityPub account",
      "properties": {
        "access_token": {
          "type": "string",
          "description": "App token to user server API (private)"
        },
        "hostname": {
          "type": "string",
          "description": "hostname of ActivityPub server (eg: mastodon.social)"
        },
        "port": {
          "type": "number",
          "description": "instance's port (eg: 443)"
        },
        "api": {
          "type": "string",
          "description": "API of instance (eg: /api/v1)"
        },
        "rejectUnauthorized": {
          "type": "boolean",
          "description": "Reject if not verified by Cerfificate Authority (eg: false)"
        }
      }
    }
  },
  "devDependencies": {
    "eslint": "^7.9.0"
  }
}
