{
  "name": "@deepstream/server",
  "version": "10.1.0",
  "description": "a scalable server for realtime webapps",
  "main": "./dist/src/deepstream.io.js",
  "bin": {
    "deepstream": "./dist/bin/deepstream"
  },
  "engines": {
    "node": ">=22.0.0"
  },
  "directories": {
    "test": "test"
  },
  "pkg": {
    "scripts": "./dist/src/config/*.js",
    "assets": "./dist/ascii-logo.txt"
  },
  "mocha": {
    "reporter": "dot",
    "require": [
      "ts-node/register/transpile-only",
      "./src/test/common.ts"
    ],
    "exit": true
  },
  "scripts": {
    "start:inspect": "npm run tsc && node --inspect dist/bin/deepstream",
    "start": "ts-node --transpile-only --project tsconfig.json --files ./bin/deepstream.ts start",
    "tsc": "sh scripts/tsc.sh",
    "license": "mkdir -p build && node scripts/license-aggregator > build/LICENSE && cat scripts/resources/missing-licenses.txt >> build/LICENSE",
    "lint": "tslint --project .",
    "lint:fix": "npm run lint -- --fix",
    "test": "mocha 'src/**/*.spec.ts'",
    "test:coverage": "nyc mocha 'src/**/*.spec.ts' && npm run test:coverage:combine",
    "test:http-server": "node test/test-helper/start-test-server.js",
    "e2e": "ts-node --transpile-only --project tsconfig.json --files ./node_modules/.bin/cucumber-js test-e2e --require './test-e2e/steps/**/*.ts' --exit",
    "e2e:v3": "V3=true npm run e2e -- --tags \"not @V4\"",
    "e2e:uws": "uws=true npm run e2e",
    "e2e:uws:v3": "uws=true V3=true npm run e2e -- --tags \"not @V4\"",
    "e2e:rpc": "npm run e2e -- --tags \"@rpcs\"",
    "e2e:event": "npm run e2e -- --tags \"@events\"",
    "e2e:record": "npm run e2e -- --tags \"@records\"",
    "e2e:login": "npm run e2e -- --tags \"@login\"",
    "e2e:presence": "npm run e2e -- --tags \"@presence\"",
    "e2e:http": "npm run e2e -- --tags \"@http\"",
    "e2e:coverage": "nyc cucumber-js test-e2e --require './test-e2e/steps/**/*.ts' --exit && npm run test:coverage:combine",
    "test:all:coverage": "rm -rf .nyc_combined_coverage .nyc_output && npm run test:coverage && npm run e2e:coverage && nyc report --reporter=lcov -t .nyc_combined_coverage",
    "test:coverage:combine": "rm -rf .nyc_output/processinfo && mkdir -p .nyc_combined_coverage && mv -f .nyc_output/* .nyc_combined_coverage/"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/deepstreamIO/deepstream.io.git"
  },
  "dependencies": {
    "@deepstream/protobuf": "^1.1.0",
    "@deepstream/types": "^2.3.3",
    "ajv": "^8.17.1",
    "ajv-formats": "^3.0.1",
    "better-ajv-errors": "^1.2.0",
    "body-parser": "^2.2.0",
    "chalk": "^4.1.2",
    "commander": "^14.0.3",
    "content-type": "^1.0.5",
    "glob": "^12.0.0",
    "http-shutdown": "^1.2.2",
    "http-status": "^1.7.0",
    "js-yaml": "^4.1.0",
    "mqtt-connection": "^4.1.0",
    "needle": "^3.2.0",
    "pino": "^9.6.0",
    "source-map-support": "^0.5.21",
    "uuid": "^14.0.0",
    "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.61.0",
    "ws": "^8.20.0"
  },
  "devDependencies": {
    "@deepstream/client": "^7.0.5",
    "@types/body-parser": "^1.19.3",
    "@types/content-type": "^1.1.6",
    "@types/cucumber": "^6.0.1",
    "@types/js-yaml": "^4.0.7",
    "@types/mkdirp": "^1.0.1",
    "@types/mocha": "^10.0.10",
    "@types/needle": "^3.2.1",
    "@types/node": "^22.19.17",
    "@types/sinon": "^10.0.19",
    "@types/sinon-chai": "^3.2.10",
    "@types/uuid": "^10.0.0",
    "@types/ws": "^8.18.1",
    "@yao-pkg/pkg": "^6.4.0",
    "async": "^3.2.4",
    "chai": "^4.3.10",
    "cucumber": "^6.0.7",
    "deepstream.io-client-js": "^2.3.4",
    "husky": "^4.3.8",
    "mocha": "^10.8.2",
    "n0p3": "^1.0.2",
    "nyc": "^18.0.0",
    "proxyquire": "^2.1.3",
    "sinon": "^16.1.0",
    "sinon-chai": "^3.7.0",
    "ts-essentials": "^10.0.4",
    "ts-node": "^10.9.1",
    "tslint": "^6.1.3",
    "typescript": "^5.8.3"
  },
  "author": "deepstreamHub GmbH",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/deepstreamIO/deepstream.io/issues"
  },
  "homepage": "https://deepstreamio.github.io/",
  "husky": {
    "hooks": {
      "pre-commit": "npm run lint && npm run tsc",
      "pre-push": "npm run tsc && npm t && npm run e2e -- --fail-fast && npm run e2e:uws -- --fail-fast && bash scripts/package.sh true true && node scripts/node-test.js && node scripts/executable-test.js",
      "pre-publish": "npm run tsc"
    }
  },
  "nyc": {
    "include": [
      "src/**/*.ts"
    ],
    "exclude": [
      "src/**/*.spec.ts",
      "src/connection-endpoint/json/*",
      "src/connection-endpoint/mqtt/*",
      "src/connection-endpoint/text/*"
    ],
    "extension": [
      ".ts"
    ],
    "require": [
      "ts-node/register/transpile-only"
    ],
    "reporter": [
      "lcov"
    ],
    "sourceMap": true,
    "instrument": true
  }
}
