{
  "name": "connectycube",
  "description": "ConnectyCube chat and video chat JavaScript SDK",
  "version": "6.3.0",
  "homepage": "https://developers.connectycube.com/js",
  "sideEffects": false,
  "types": "./dist/types/index.d.ts",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "unpkg": "./dist/connectycube.min.js",
  "react-native": "./dist/react-native/index.js",
  "browser": "./dist/connectycube.min.js",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "browser": {
        "import": "./dist/index.js",
        "require": "./dist/index.cjs"
      },
      "react-native": {
        "types": "./dist/react-native/types/index.d.ts",
        "import": "./dist/react-native/index.js",
        "require": "./dist/react-native/index.cjs"
      },
      "node": {
        "types": "./dist/node/types/index.d.ts",
        "import": "./dist/node/index.mjs",
        "require": "./dist/node/index.cjs"
      },
      "import": "./dist/index.js",
      "require": "./dist/index.cjs",
      "default": "./dist/index.js"
    },
    "./types": {
      "types": "./dist/types/index.d.ts",
      "default": "./dist/types/index.d.ts"
    },
    "./esm": {
      "types": "./dist/types/index.d.ts",
      "default": "./dist/index.js"
    },
    "./cjs": {
      "types": "./dist/types/index.d.ts",
      "default": "./dist/index.cjs"
    },
    "./umd": {
      "types": "./dist/types/index.umd.d.ts",
      "default": "./dist/connectycube.min.js"
    },
    "./nodejs": {
      "types": "./dist/node/types/index.d.ts",
      "import": "./dist/node/index.mjs",
      "require": "./dist/node/index.cjs"
    },
    "./react-native": {
      "types": "./dist/react-native/types/index.d.ts",
      "import": "./dist/react-native/index.js",
      "require": "./dist/react-native/index.cjs"
    },
    "./package.json": "./package.json"
  },
  "license": "Apache-2.0",
  "directories": {
    "lib": "dist"
  },
  "files": [
    "bin",
    "dist"
  ],
  "scripts": {
    "clean": "rm -rf dist",
    "build": "npm run clean && rollup -c",
    "dev": "npm run clean && rollup -c -w",
    "test:browser": "node scripts/build-browser-specs.mjs && jasmine-browser-runner serve --config=__tests__/support/jasmine-browser.json --tlsCert=__tests__/support/localhost+1.pem --tlsKey=__tests__/support/localhost+1-key.pem",
    "test:browser:spec": "f() { node scripts/build-browser-specs.mjs \"$@\" && jasmine-browser-runner serve --config=__tests__/support/jasmine-browser.json --tlsCert=__tests__/support/localhost+1.pem --tlsKey=__tests__/support/localhost+1-key.pem; }; f",
    "test:node:chat:ws": "NODE_OPTIONS='--import tsx' jasmine --config=__tests__/support/jasmine-node-chat-ws.json",
    "test:node:chat:tcp": "NODE_OPTIONS='--import tsx' jasmine --config=__tests__/support/jasmine-node-chat-tcp.json",
    "test:node:chat:tls": "NODE_OPTIONS='--import tsx' jasmine --config=__tests__/support/jasmine-node-chat-tls.json",
    "test:node:rest": "NODE_OPTIONS='--import tsx' jasmine --config=__tests__/support/jasmine-node-rest.json",
    "test:node:spec": "f() { NODE_OPTIONS='--import tsx' jasmine --config=__tests__/support/jasmine-node-chat-ws.json $(printf '__tests__/specs/%s.spec.ts ' \"$@\"); }; f",
    "test:node:all": "./__tests__/node-test-run.sh",
    "test:node:cjs": "npm run build && node __tests__/cjs-smoke.cjs",
    "coverage:node": "nyc --reporter=lcov npm run test:node && open-cli ./coverage/lcov-report/index.html"
  },
  "bin": {
    "connectycube": "./bin/connectycube.mjs"
  },
  "dependencies": {
    "@sama-communications/sdk": "0.17.1",
    "@xmpp/client": "^0.14.0",
    "eventemitter3": "^5.0.4",
    "js-base64": "^3.8.0",
    "ws": "^8.21.0"
  },
  "devDependencies": {
    "@rollup/plugin-alias": "^6.0.0",
    "@rollup/plugin-commonjs": "^29.0.3",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-replace": "^6.0.3",
    "@rollup/plugin-terser": "^1.0.0",
    "@rollup/plugin-typescript": "^12.3.0",
    "@types/jasmine": "^6.0.0",
    "@types/node": "^26.1.0",
    "@types/ws": "^8.18.1",
    "@types/xmpp__client": "^0.14.1",
    "@types/xmpp__resolve": "^0.14.0",
    "@types/xmpp__sasl-anonymous": "^0.14.0",
    "@types/xmpp__sasl-ht-sha-256-none": "^0.14.0",
    "@types/xmpp__sasl-plain": "^0.14.0",
    "@types/xmpp__sasl-scram-sha-1": "^0.14.0",
    "@types/xmpp__starttls": "^0.14.0",
    "@types/xmpp__tcp": "^0.14.0",
    "@types/xmpp__tls": "^0.14.0",
    "@types/xmpp__websocket": "^0.14.0",
    "esbuild": "^0.28.1",
    "jasmine": "^6.3.0",
    "jasmine-browser-runner": "^4.0.0",
    "jasmine-core": "^6.3.0",
    "jasmine-spec-reporter": "^7.0.0",
    "nyc": "^18.0.0",
    "open-cli": "^9.0.0",
    "patch-package": "^8.0.1",
    "rollup": "^4.62.2",
    "tslib": "^2.8.1",
    "tsx": "^4.23.0",
    "typescript": "^6.0.3",
    "uuid": "^14.0.1"
  },
  "optionalDependencies": {
    "@rollup/rollup-darwin-x64": "^4.62.2",
    "@rollup/rollup-linux-x64-gnu": "^4.62.2"
  },
  "engines": {
    "node": ">=18"
  }
}
