stream-chat
Version:
JS SDK for the Stream Chat API
144 lines (143 loc) • 5.07 kB
JSON
{
"name": "stream-chat",
"version": "2.0.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.3.1",
"@types/babel__core": "^7.1.3",
"@types/base64-js": "^1.3.0",
"@types/bluebird": "^3.5.29",
"@types/chai": "^4.2.5",
"@types/chai-arrays": "^1.0.3",
"@types/chai-as-promised": "^7.1.2",
"@types/chai-like": "^1.1.0",
"@types/eslint": "7.2.0",
"@types/faker": "^4.1.7",
"@types/jsonwebtoken": "^8.3.5",
"@types/mocha": "^5.2.7",
"@types/node": "^13.13.0",
"@types/prettier": "^1.18.4",
"@types/rollup-plugin-json": "^3.0.2",
"@types/rollup-plugin-peer-deps-external": "^2.2.0",
"@types/rollup-plugin-url": "^2.2.0",
"@types/seamless-immutable": "7.1.13",
"@types/sinon": "^7.5.1",
"@types/uuid": "^3.4.5",
"@types/ws": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"axios": "^0.18.1",
"base64-js": "^1.3.1",
"form-data": "^2.3.3",
"isomorphic-ws": "^4.0.1",
"ws": "^6.1.3",
"jsonwebtoken": "^8.3.0",
"seamless-immutable": "^7.1.4",
"uuid": "^3.3.2"
},
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/node": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-transform-async-to-generator": "^7.2.0",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.1.6",
"@babel/preset-typescript": "^7.10.4",
"@babel/register": "^7.0.0",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"babel-eslint": "^10.0.1",
"bluebird": "^3.5.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-like": "^1.1.1",
"chai-arrays": "^2.0.0",
"chai-sorted": "^0.2.0",
"dotenv": "^8.2.0",
"eslint": "7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-sonarjs": "^0.5.0",
"eslint-plugin-typescript-sort-keys": "1.3.0",
"faker": "^4.1.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"longjohn": "^0.2.12",
"mocha": "^5.2.0",
"mockttp": "^0.19.0",
"prettier": "^1.15.2",
"rollup": "^2.23.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^4.0.4",
"sinon": "^7.2.3",
"typescript": "^3.9.6"
},
"scripts": {
"start": "yarn run compile -w",
"compile": "rollup -c",
"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 ts-test/index.js && tsc --esModuleInterop true --noEmit true ts-test/*.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": "NODE_ENV=test mocha --exit --bail --timeout 15000 --require ./babel-register test/*.js --async-stack-traces",
"test-local": "STREAM_LOCAL_TEST_RUN=true yarn test",
"testall": "NODE_ENV=test mocha --exit --timeout 3000 --require ./babel-register test/*.js --async-stack-traces",
"testwatch": "NODE_ENV=test nodemon ./node_modules/.bin/mocha --timeout 15000 --require test-entry.js test/test.js",
"lint": "yarn run prettier && yarn run eslint",
"lint-fix": "yarn run prettier-fix && yarn run eslint-fix",
"prepare": "yarn run build",
"preversion": "yarn && yarn lint",
"version": "git add yarn.lock",
"postversion": "git push && git push --tags"
},
"husky": {
"hooks": {
"pre-commit": "./dotgit/hooks/pre-commit-format.sh && dotgit/hooks/pre-commit-reject-binaries.py"
}
},
"engines": {
"node": "10 || 12 || >=14"
}
}