UNPKG

stream-chat

Version:

JS SDK for the Stream Chat API

114 lines (113 loc) 3.51 kB
{ "name": "stream-chat", "version": "9.27.2", "description": "JS SDK for the Stream Chat API", "homepage": "https://getstream.io/chat/", "author": { "name": "GetStream.io, Inc.", "url": "https://getstream.io/team/" }, "repository": { "type": "git", "url": "https://github.com/GetStream/stream-chat-js.git" }, "types": "./dist/types/index.d.ts", "main": "./dist/esm/index.mjs", "exports": { ".": { "types": "./dist/types/index.d.ts", "browser": { "import": "./dist/esm/index.mjs", "require": "./dist/cjs/index.browser.js" }, "react-native": { "import": "./dist/esm/index.mjs", "require": "./dist/cjs/index.browser.js" }, "node": "./dist/cjs/index.node.js", "default": "./dist/esm/index.mjs" } }, "browser": { "https": false, "crypto": false, "jsonwebtoken": false, "ws": false }, "license": "SEE LICENSE IN LICENSE", "keywords": [ "chat", "messaging", "conversation", "react", "stream", "getstream", "getstream.io" ], "files": [ "/dist", "/src" ], "dependencies": { "@types/jsonwebtoken": "^9.0.8", "@types/ws": "^8.5.14", "axios": "^1.12.2", "base64-js": "^1.5.1", "form-data": "^4.0.4", "isomorphic-ws": "^5.0.0", "jsonwebtoken": "^9.0.3", "linkifyjs": "^4.3.2", "ws": "^8.18.1" }, "devDependencies": { "@commitlint/cli": "^19.7.1", "@commitlint/config-conventional": "^19.7.1", "@eslint/js": "^9.21.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@types/base64-js": "^1.3.0", "@types/node": "^22.15.21", "@types/sinon": "^10.0.6", "@vitest/coverage-v8": "3.1.4", "concurrently": "^9.1.2", "conventional-changelog-conventionalcommits": "^8.0.0", "dotenv": "^8.2.0", "esbuild": "^0.25.4", "eslint": "^9.27.0", "eslint-plugin-import": "^2.31.0", "globals": "^16.0.0", "husky": "^9.1.7", "lint-staged": "^15.2.2", "prettier": "^3.5.3", "semantic-release": "^25.0.2", "sinon": "^12.0.1", "typescript": "^5.8.3", "typescript-eslint": "^8.32.1", "vitest": "^3.1.4" }, "scripts": { "build": "rm -rf dist && concurrently 'tsc' './scripts/bundle.mjs'", "start": "concurrently 'tsc --watch' './scripts/bundle.mjs --watch'", "types": "tsc --noEmit", "lint": "yarn run prettier && yarn run eslint", "lint-fix": "yarn run prettier-fix && yarn run eslint-fix", "prettier": "prettier '**/*.{json,js,mjs,ts,yml,md}' --check", "prettier-fix": "yarn run prettier --write", "eslint": "eslint --max-warnings 0", "eslint-fix": "yarn run eslint --fix", "test": "yarn test-unit", "testwatch": "NODE_ENV=test nodemon ./node_modules/.bin/mocha --timeout 20000 --require test-entry.js test/test.js", "test-types": "yarn run-test-types && yarn run-types-gen", "run-test-types": "node test/typescript/index.js", "run-types-gen": "tsc --esModuleInterop true --noEmit true --strictNullChecks true --noImplicitAny true --strict true test/typescript/*.ts", "test-unit": "vitest", "test-coverage": "vitest run --coverage", "fix-staged": "lint-staged --config .lintstagedrc.fix.json --concurrent 1", "semantic-release": "semantic-release", "prepare": "husky; yarn run build" }, "engines": { "node": ">=18" }, "packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72" }