stream-chat
Version:
JS SDK for the Stream Chat API
138 lines (137 loc) • 5.11 kB
JSON
{
"name": "stream-chat",
"version": "8.58.0",
"description": "JS SDK for the Stream Chat API",
"author": "GetStream",
"homepage": "https://getstream.io/chat/",
"repository": "https://github.com/GetStream/stream-chat-js.git",
"main": "./dist/index.js",
"module": "./dist/index.es.js",
"jsnext:main": "./dist/index.es.js",
"types": "./dist/types/index.d.ts",
"browser": {
"./dist/index.es.js": "./dist/browser.es.js",
"./dist/index.js": "./dist/browser.js"
},
"react-native": {
"./dist/index.es.js": "./dist/browser.es.js",
"./dist/index.js": "./dist/browser.js"
},
"jsdelivr": "./dist/browser.full-bundle.min.js",
"license": "SEE LICENSE IN LICENSE",
"keywords": [
"chat",
"messaging",
"conversation",
"react",
"stream",
"getstream",
"getstream.io"
],
"files": [
"/dist",
"/src",
"readme.md",
"license"
],
"dependencies": {
"@babel/runtime": "^7.16.3",
"@types/jsonwebtoken": "~9.0.0",
"@types/ws": "^7.4.0",
"axios": "^1.6.0",
"base64-js": "^1.5.1",
"form-data": "^4.0.0",
"isomorphic-ws": "^4.0.1",
"jsonwebtoken": "~9.0.0",
"ws": "^7.5.10"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/node": "^7.16.0",
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@babel/plugin-proposal-object-rest-spread": "^7.16.0",
"@babel/plugin-transform-async-to-generator": "^7.16.0",
"@babel/plugin-transform-object-assign": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0",
"@babel/register": "^7.16.0",
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-replace": "^3.0.1",
"@types/babel__core": "^7.1.16",
"@types/base64-js": "^1.3.0",
"@types/chai": "^4.2.15",
"@types/chai-arrays": "^2.0.0",
"@types/chai-as-promised": "^7.1.4",
"@types/chai-like": "^1.1.1",
"@types/eslint": "7.2.7",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.11",
"@types/prettier": "^2.2.2",
"@types/rollup-plugin-json": "^3.0.2",
"@types/rollup-plugin-peer-deps-external": "^2.2.0",
"@types/rollup-plugin-url": "^2.2.0",
"@types/sinon": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"chai": "^4.3.4",
"chai-arrays": "^2.2.0",
"chai-as-promised": "^7.1.1",
"chai-like": "^1.1.1",
"chai-sorted": "^0.2.0",
"dotenv": "^8.2.0",
"eslint": "7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-markdown": "^2.0.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-sonarjs": "^0.6.0",
"eslint-plugin-typescript-sort-keys": "1.5.0",
"husky": "^4.3.8",
"lint-staged": "^15.2.2",
"mocha": "^10.7.0",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"rollup": "^2.41.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"sinon": "^12.0.1",
"standard-version": "^9.3.2",
"typescript": "4.2.3",
"uuid": "^8.3.2"
},
"scripts": {
"start": "yarn run compile -w",
"compile": "rollup -c",
"changelog": "standard-version --release-as $VERSION --skip.tag --skip.commit --tag-prefix=v",
"commitlinter": "commitlint",
"build": "rm -rf dist && yarn run types && yarn run compile",
"types": "tsc --emitDeclarationOnly true",
"prettier": "prettier --check '**/*.{js,ts,md,css,scss,json}' .eslintrc.json .prettierrc .babelrc",
"prettier-fix": "npx prettier --write '**/*.{js,ts,md,css,scss,json}' .eslintrc.json .prettierrc .babelrc",
"test-types": "node test/typescript/index.js && tsc --esModuleInterop true --noEmit true --strictNullChecks true --noImplicitAny true --strict true test/typescript/*.ts",
"eslint": "eslint '**/*.{js,md,ts}' --max-warnings 0 --ignore-path ./.eslintignore",
"eslint-fix": "npx eslint --fix '**/*.{js,md,ts}' --max-warnings 0 --ignore-path ./.eslintignore",
"test-unit": "NODE_ENV=test mocha --exit --bail --timeout 20000 --require ./babel-register test/unit/*.{js,test.ts}",
"test-coverage": "nyc yarn test-unit",
"test": "yarn test-unit",
"testwatch": "NODE_ENV=test nodemon ./node_modules/.bin/mocha --timeout 20000 --require test-entry.js test/test.js",
"lint": "yarn run prettier && yarn run eslint",
"lint-fix": "yarn run prettier-fix && yarn run eslint-fix",
"fix-staged": "lint-staged --config .lintstagedrc.fix.json --concurrent 1",
"prepare": "yarn run build",
"preversion": "yarn && yarn lint && yarn test-unit",
"version": "git add yarn.lock",
"postversion": "git push && git push --tags && npm publish"
},
"engines": {
"node": ">=16"
},
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
}