{
  "name": "@serenity-js/local-server",
  "version": "3.45.9",
  "description": "Serenity/JS Screenplay Pattern library for managing local Node.js test servers, including Express, Koa, Hapi, and Restify, to support comprehensive integration testing",
  "author": {
    "name": "Jan Molak",
    "email": "jan.molak@smartcodeltd.co.uk",
    "url": "https://janmolak.com"
  },
  "funding": {
    "url": "https://github.com/sponsors/serenity-js"
  },
  "homepage": "https://serenity-js.org",
  "license": "Apache-2.0",
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "main": "./lib/index.js",
  "types": "./lib/index.d.ts",
  "type": "module",
  "module": "./esm/index.js",
  "exports": {
    ".": {
      "import": {
        "types": "./esm/index.d.ts",
        "default": "./esm/index.js"
      },
      "require": {
        "types": "./lib/index.d.ts",
        "default": "./lib/index.js"
      }
    },
    "./lib/*": "./lib/*",
    "./esm/*": "./esm/*.js",
    "./package.json": "./package.json"
  },
  "keywords": [
    "automation",
    "e2e",
    "end-to-end",
    "integration",
    "serenity",
    "serenity-js",
    "screenplay",
    "screenplay-pattern",
    "http",
    "rest",
    "axios",
    "tdd",
    "bdd",
    "test",
    "testing",
    "express",
    "hapi",
    "koa",
    "restify"
  ],
  "scripts": {
    "clean": "rimraf target",
    "test": "c8 npm run test:no-coverage",
    "test:no-coverage": "mocha --config .mocharc.yml --spec='spec/**/*.spec.*'",
    "compile": "npm run compile:clean && npm run compile:esm && npm run compile:cjs-package && npm run compile:cjs",
    "compile:clean": "rimraf lib esm",
    "compile:esm": "tsc --project tsconfig-esm.build.json",
    "compile:cjs-package": "node -e \"require('fs').mkdirSync('lib', { recursive: true }); require('fs').writeFileSync('lib/package.json', '{ \\\"type\\\": \\\"commonjs\\\" }')\"",
    "compile:cjs": "tsc --project tsconfig-cjs.build.json"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/serenity-js/serenity-js.git",
    "directory": "packages/local-server"
  },
  "bugs": {
    "url": "https://github.com/serenity-js/serenity-js/issues"
  },
  "engines": {
    "node": "^22.22.2 || ^24.15.0"
  },
  "dependencies": {
    "@serenity-js/core": "3.45.9",
    "http-shutdown": "1.2.2",
    "portfinder": "1.0.38"
  },
  "peerDependencies": {
    "@hapi/hapi": "^21.4.10",
    "express": "^5.2.1",
    "koa": "^3.2.1",
    "restify": "^11.1.0"
  },
  "peerDependenciesMeta": {
    "@hapi/hapi": {
      "optional": true
    },
    "express": {
      "optional": true
    },
    "koa": {
      "optional": true
    },
    "restify": {
      "optional": true
    }
  },
  "devDependencies": {
    "@hapi/hapi": "21.4.10",
    "@integration/testing-tools": "3.0.0",
    "@serenity-js/assertions": "3.45.9",
    "@serenity-js/rest": "3.45.9",
    "@types/chai": "4.3.20",
    "@types/express": "5.0.6",
    "@types/hapi": "18.0.15",
    "@types/mocha": "10.0.10",
    "@types/restify": "8.5.12",
    "axios": "1.19.0",
    "c8": "12.0.0",
    "express": "5.2.1",
    "koa": "3.2.1",
    "mocha": "11.8.0",
    "mocha-multi": "1.1.7",
    "restify": "11.1.0",
    "semver": "7.8.5",
    "ts-node": "10.9.2",
    "tsx": "4.23.12",
    "typescript": "5.9.3"
  },
  "gitHead": "76688da579e1faef6779a7a13869e70b8a624193"
}
