UNPKG

stream-chat

Version:

JS SDK for the Stream Chat API

122 lines (121 loc) 3.48 kB
{ "name": "stream-chat", "version": "9.47.1", "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": { "crypto": false, "https": false, "jsonwebtoken": false, "ws": false, "zlib": 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.18.1", "axios": "^1.16.1", "base64-js": "^1.5.1", "form-data": "^4.0.5", "isomorphic-ws": "^5.0.0", "jsonwebtoken": "^9.0.3", "linkifyjs": "^4.3.3", "ws": "^8.20.1" }, "devDependencies": { "@commitlint/cli": "^21.0.1", "@commitlint/config-conventional": "^21.0.1", "@eslint/js": "^9.39.4", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@types/node": "^22.19.19", "@types/sinon": "^10.0.6", "@vitest/coverage-v8": "^4.1.7", "concurrently": "^9.2.1", "conventional-changelog-conventionalcommits": "^9.3.1", "dotenv": "^17.4.2", "esbuild": "^0.28.0", "eslint": "^9.39.4", "eslint-plugin-import": "^2.32.0", "globals": "^17.6.0", "husky": "^9.1.7", "lint-staged": "^17.0.5", "prettier": "^3.8.3", "semantic-release": "^25.0.3", "sinon": "^12.0.1", "typescript": "^6.0.3", "typescript-eslint": "^8.59.4", "vitest": "^4.1.7" }, "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", "test-types": "yarn run-test-types && yarn run-types-gen", "run-test-types": "node test/typescript/index.js", "run-types-gen": "tsc -p test/typescript/tsconfig.json", "test-unit": "vitest", "test-coverage": "vitest run --coverage", "fix-staged": "lint-staged --config .lintstagedrc.fix.json --concurrent 1", "semantic-release": "semantic-release", "postinstall": "node -e \"require('fs').existsSync('scripts/install-husky.mjs') && import('./scripts/install-husky.mjs')\"", "prepare": "yarn run build" }, "engines": { "node": ">=18" }, "packageManager": "yarn@4.15.0", "dependenciesMeta": { "esbuild": { "built": true }, "husky": { "built": true } } }