{
  "name": "stability-sim",
  "version": "0.2.0",
  "description": "A dependency-free discrete-event simulator for distributed system stability experiments",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./engine": {
      "types": "./dist/engine/index.d.ts",
      "import": "./dist/engine/index.js"
    },
    "./types": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/types/index.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "LICENSE",
    "README.md"
  ],
  "sideEffects": false,
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Chriscbr/stability-sim-lib.git"
  },
  "bugs": {
    "url": "https://github.com/Chriscbr/stability-sim-lib/issues"
  },
  "homepage": "https://github.com/Chriscbr/stability-sim-lib#readme",
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
    "build": "npm run clean && tsc -p tsconfig.build.json",
    "typecheck": "npm run build && tsc -p tsconfig.json && tsc -p tsconfig.examples.json",
    "check": "npm run typecheck",
    "test": "npm run build && tsx --test test/**/*.test.ts",
    "example:metastable-retry": "node examples/metastable-retry.ts",
    "example:gc-death-spiral": "node examples/gc-death-spiral.ts",
    "example:connection-pool-exhaustion": "node examples/connection-pool-exhaustion.ts",
    "example:cache-stampede": "node examples/cache-stampede.ts",
    "example:cache-flush": "node examples/cache-flush.ts",
    "example:timeout-cascade": "node examples/timeout-cascade.ts",
    "example:lb-sinkholing": "node examples/lb-sinkholing.ts",
    "example:goodput-collapse": "node examples/goodput-collapse.ts",
    "example:json": "node examples/from-json.ts",
    "prepack": "npm run build",
    "prepublishOnly": "npm run check && npm test"
  },
  "engines": {
    "node": ">=22.18"
  },
  "volta": {
    "node": "24.14.1"
  },
  "keywords": [
    "discrete-event-simulation",
    "distributed-systems",
    "reliability",
    "simulation"
  ],
  "license": "Apache-2.0",
  "devDependencies": {
    "@types/node": "^22.10.0",
    "tsx": "^4.20.0",
    "typescript": "~5.8.3"
  }
}
