{
  "name": "@d-fischer/connection",
  "version": "10.0.1",
  "description": "Abstraction for packet-based connections.",
  "keywords": [],
  "main": "lib",
  "types": "lib",
  "exports": {
    ".": {
      "types": "./lib/index.d.ts",
      "browser": {
        "require": "./lib/browser.js",
        "import": "./es/browser.mjs"
      },
      "require": "./lib/index.js",
      "import": "./es/index.mjs"
    }
  },
  "sideEffects": false,
  "repository": {
    "type": "git",
    "url": "https://github.com/d-fischer/connection.git"
  },
  "author": "Daniel Fischer <daniel@d-fischer.dev>",
  "funding": "https://github.com/sponsors/d-fischer",
  "license": "MIT",
  "dependencies": {
    "@d-fischer/isomorphic-ws": "^7.0.0",
    "@d-fischer/logger": "^4.2.1",
    "@d-fischer/shared-utils": "^3.5.0",
    "@d-fischer/typed-event-emitter": "^3.3.0",
    "@types/node": "^20.19.37",
    "@types/ws": "^8.5.4",
    "tslib": "^2.4.1",
    "ws": "^8.11.0"
  },
  "devDependencies": {
    "@d-fischer/eslint-config": "^7.0.4",
    "eslint": "^9.39.4",
    "husky": "^4.3.6",
    "lint-staged": "^13.1.0",
    "prettier": "^2.8.1",
    "tsukuru": "^0.8.0-pre.11",
    "typescript": "~4.9.4"
  },
  "files": [
    "LICENSE",
    "README.md",
    "lib",
    "es"
  ],
  "scripts": {
    "lint": "eslint --ext ts src",
    "prettier:check": "prettier --check 'src/**'",
    "prettier:fix": "prettier --write 'src/**'",
    "build": "tsukuru",
    "rebuild": "tsukuru --clean"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{ts,json}": "prettier --write",
    "*.{ts}": "eslint --fix"
  }
}
