{
  "name": "zod-sockets",
  "version": "2.2.0",
  "description": "Socket.IO solution with I/O validation and the ability to generate AsyncAPI specification and a contract for consumers",
  "type": "module",
  "main": "dist/index.cjs",
  "types": "dist/index.d.ts",
  "module": "dist/index.js",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    }
  },
  "files": [
    "dist",
    "*.md"
  ],
  "engines": {
    "node": "^18.18.0 || ^20.9.0 || ^22.0.0"
  },
  "author": {
    "name": "Anna Bocharova",
    "url": "https://robintail.cz",
    "email": "me@robintail.cz"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/RobinTail/zod-sockets.git"
  },
  "license": "MIT",
  "scripts": {
    "lint": "eslint",
    "pretest": "tsc --noEmit",
    "test": "vitest run --coverage src",
    "posttest": "make-coverage-badge --output-path coverage.svg",
    "test:cjs": "yarn --cwd tests/cjs && vitest run -r tests/cjs",
    "test:esm": "yarn --cwd tests/esm && vitest run -r tests/esm",
    "test:compat": "yarn --cwd tests/compat && vitest run -r tests/compat",
    "test:952": "yarn --cwd tests/issue952 && yarn --cwd tests/issue952 test",
    "test:system": "yarn --cwd tests/system && vitest run -r tests/system",
    "mdfix": "prettier *.md --write",
    "start": "tsx example/index.ts",
    "build": "yarn build:compile && yarn build:tests && yarn build:client && yarn build:docs",
    "build:compile": "tsup && attw --pack",
    "build:client": "tsx example/generate-client.ts && prettier --write example/example*.ts",
    "build:docs": "tsx example/generate-documentation.ts",
    "build:tests": "tsx tools/make-tests.ts",
    "precommit": "yarn lint && yarn test && yarn build && git add example/example* coverage.svg",
    "postversion": "git push && git push --tags",
    "prepublishOnly": "yarn lint && yarn test && yarn build",
    "hooks": "husky"
  },
  "dependencies": {
    "ansis": "^3.1.0",
    "ramda": "^0.30.0",
    "yaml": "^2.4.1"
  },
  "peerDependencies": {
    "socket.io": "^4.7.4",
    "typescript": "^5.3.3",
    "zod": "^3.23.0"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.17.0",
    "@tsconfig/node18": "^18.2.4",
    "@types/node": "^22.0.0",
    "@types/ramda": "^0.30.0",
    "@types/semver": "^7.5.8",
    "@vitest/coverage-istanbul": "^2.1.5",
    "eslint": "^9.4.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-allowed-dependencies": "^1.0.0",
    "eslint-plugin-prettier": "^5.1.3",
    "eslint-plugin-unicorn": "^56.0.0",
    "husky": "^9.0.10",
    "make-coverage-badge": "^1.2.0",
    "prettier": "3.4.2",
    "semver": "^7.6.3",
    "socket.io": "^4.7.4",
    "socket.io-client": "^4.7.4",
    "tsup": "^8.0.1",
    "tsx": "^4.7.0",
    "typescript": "^5.3.3",
    "typescript-eslint": "^8.0.1",
    "vitest": "^2.1.5",
    "zod": "^3.22.4"
  },
  "resolutions": {
    "**/vite": "^6"
  },
  "keywords": [
    "nodejs",
    "socket",
    "validation",
    "server",
    "sockets",
    "websocket",
    "websockets",
    "socket-io",
    "zod",
    "typescript-library",
    "asyncapi",
    "async-api",
    "asyncapi-specification",
    "asyncapi-tools"
  ]
}
