{
  "name": "apns2",
  "version": "12.2.0",
  "description": "Node client for connecting to Apple's Push Notification Service using the new HTTP/2 protocol with JSON web tokens.",
  "author": "Andrew Barba <barba@hey.com>",
  "license": "MIT",
  "type": "module",
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.js",
      "types": "./dist/index.d.ts"
    }
  },
  "engines": {
    "node": ">=20"
  },
  "repository": {
    "url": "https://github.com/AndrewBarba/apns2"
  },
  "files": ["dist", "dist/cjs", "dist/esm"],
  "keywords": [
    "apn",
    "apns",
    "apns2",
    "push",
    "notification",
    "http2",
    "jwt",
    "apple",
    "ios",
    "macos",
    "tvos",
    "watchos"
  ],
  "dependencies": {
    "fast-jwt": "^6.0.1",
    "undici": "^7.9.0"
  },
  "devDependencies": {
    "@biomejs/biome": "^1.9.4",
    "@tsconfig/node20": "^20.1.5",
    "@types/node": "^22.15.19",
    "chai": "^5.2.0",
    "dotenv": "^16.5.0",
    "typescript": "^5.8.3",
    "vitest": "^3.1.4"
  },
  "scripts": {
    "clean": "rm -rf dist",
    "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:package-files",
    "build:cjs": "tsc -p tsconfig.cjs.json",
    "build:esm": "tsc -p tsconfig.esm.json",
    "build:package-files": "npm run build:package-files:cjs && npm run build:package-files:esm",
    "build:package-files:cjs": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
    "build:package-files:esm": "echo '{\"type\":\"module\"}' > dist/esm/package.json",
    "lint": "biome ci src test",
    "lint:format": "biome format --write src test",
    "lint:check": "biome check --write --unsafe src test",
    "test": "vitest --run --dir test"
  }
}
