{
  "name": "@potluri/discourse-on-ghost",
  "version": "0.3.0",
  "main": "build/index.js",
  "repository": "https://github.com/vikaspotluri123/discourse-on-ghost",
  "authors": [
    "Vikas Potluri <vikaspotluri123.github@gmail.com>"
  ],
  "license": "MIT",
  "type": "module",
  "module": "build/index.js",
  "files": [
    "build"
  ],
  "scripts": {
    "dev": "node scripts/dev.js",
    "lint": "xo && tsc",
    "pretest": "NO_WATCH= node scripts/dev.js",
    "test": "mocha -r dist/targets/test.js --recursive test/unit",
    "prepublish": "yarn build",
    "build": "esbuild `find src -name '*.ts'` --outdir=build --platform=node --target=node16  --format=esm"
  },
  "dependencies": {
    "@tryghost/admin-api": "^1.13.12",
    "@tryghost/errors": "^1.3.6",
    "@tryghost/logging": "^2.4.19",
    "dotenv": "^16.4.5",
    "express": "^4.21.1",
    "node-fetch": "^3.3.2",
    "yoctocolors": "^2.1.1"
  },
  "devDependencies": {
    "@gradebook/release-utils": "^0.8.0",
    "@types/chai": "^5.0.1",
    "@types/express": "^5.0.0",
    "@types/jsonwebtoken": "^9.0.7",
    "@types/mocha": "^10.0.9",
    "@types/node": "^22.9.0",
    "@types/sinon": "^17.0.3",
    "chai": "^5.1.2",
    "esbuild": "^0.24.0",
    "mocha": "^10.8.2",
    "nodemon": "^3.1.7",
    "sinon": "^19.0.2",
    "typescript": "^5.6.3",
    "xo": "0.59.3"
  },
  "gradebook": {
    "cli:addSkipCIToCommit": false,
    "cli:releaseTemplate": ".github/release_template.txt"
  },
  "xo": {
    "rules": {
      "@typescript-eslint/consistent-type-definitions": [
        "error",
        "interface"
      ],
      "@typescript-eslint/naming-convention": "off",
      "func-names": [
        "error",
        "as-needed"
      ],
      "no-use-extend-native/no-use-extend-native": "off",
      "func-name-matching": "off",
      "no-console": "error",
      "n/file-extension-in-import": "off"
    },
    "overrides": [
      {
        "files": "**/*.js",
        "rules": {
          "@typescript-eslint/consistent-type-definitions": "off"
        }
      },
      {
        "files": "test/**/*.js",
        "envs": [
          "node",
          "mocha"
        ],
        "rules": {
          "func-names": "off",
          "prefer-arrow-callback": "off",
          "no-unused-expressions": "off"
        }
      }
    ]
  }
}
