stream-chat
Version:
JS SDK for the Stream Chat API
112 lines (111 loc) • 3.42 kB
JSON
{
"name": "stream-chat",
"version": "9.14.0",
"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.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"browser": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.browser.cjs"
},
"react-native": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.browser.cjs"
},
"node": "./dist/cjs/index.node.cjs",
"default": "./dist/esm/index.js"
}
},
"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.6.0",
"base64-js": "^1.5.1",
"form-data": "^4.0.4",
"isomorphic-ws": "^5.0.0",
"jsonwebtoken": "^9.0.2",
"linkifyjs": "^4.2.0",
"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": "^24.2.3",
"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": "node test/typescript/index.js && 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"
}