UNPKG

getstream

Version:

The official low-level GetStream.io client for Node.js and the browser.

150 lines (149 loc) 4.86 kB
{ "author": { "name": "Thierry Schellenbach", "company": "Stream.io Inc" }, "name": "getstream", "description": "The official low-level GetStream.io client for Node.js and the browser.", "main": "./lib/index.js", "module": "./lib/index.js", "types": "./lib/index.d.ts", "homepage": "https://getstream.io/docs/?language=js", "email": "support@getstream.io", "license": "BSD-3-Clause", "version": "8.8.0", "scripts": { "changelog": "standard-version --release-as $VERSION --skip.tag --skip.commit --tag-prefix=v", "commitlinter": "commitlint", "transpile": "babel src --out-dir lib --extensions '.ts'", "types": "tsc --emitDeclarationOnly", "build": "rm -rf lib && yarn run transpile && yarn run types", "dist": "webpack && webpack --env minify", "eslint": "eslint '**/*.{js,ts}' --max-warnings 0", "prettier": "prettier --list-different '**/*.{js,ts}'", "lint": "yarn run prettier && yarn run eslint", "lint-fix": "prettier --write '**/*.{js,ts}' && eslint --fix '**/*.{js,ts}'", "test": "yarn run test-unit-node", "test-types": "tsc --skipLibCheck --target es2020 --esModuleInterop true --noEmit true test/typescript/*.ts", "test-unit-node": "mocha --require ./babel-register.js test/unit/common test/unit/node", "test-integration-node": "mocha --require ./babel-register.js test/integration/common test/integration/node --exit", "test-cloud": "mocha --require ./babel-register.js test/integration/cloud --timeout 40000", "test-cloud-local": "LOCAL=true mocha --require ./babel-register.js test/integration/cloud --timeout 40000 --ignore 'test/integration/cloud/{personalized_feed,files,images}.js'", "test-browser": "karma start karma.config.js", "prepare": "yarn run build", "preversion": "yarn run test-unit-node", "version": "yarn run dist && yarn run build && git add dist", "postversion": "git push && git push --tags && npm publish" }, "husky": { "hooks": { "pre-commit": "yarn run lint" } }, "browser": { "crypto": false, "jsonwebtoken": false, "./lib/batch_operations.js": false, "./lib/redirect_url.js": false, "qs": false, "url": false, "http": false, "https": false }, "react-native": { "crypto": false, "jsonwebtoken": false, "./lib/batch_operations.js": false, "./lib/redirect_url.js": false, "qs": false, "url": false }, "devDependencies": { "@babel/cli": "^7.23.0", "@babel/core": "^7.23.3", "@babel/eslint-parser": "^7.23.3", "@babel/node": "^7.22.19", "@babel/plugin-proposal-class-properties": "^7.16.7", "@babel/plugin-proposal-object-rest-spread": "^7.16.7", "@babel/plugin-transform-object-assign": "^7.23.3", "@babel/plugin-transform-runtime": "^7.23.3", "@babel/preset-env": "^7.23.3", "@babel/preset-typescript": "^7.23.3", "@babel/register": "^7.22.15", "@commitlint/cli": "^18.4.1", "@commitlint/config-conventional": "^18.4.0", "@typescript-eslint/eslint-plugin": "^6.10.0", "@typescript-eslint/parser": "^6.10.0", "babel-loader": "^9.1.2", "chai": "^4.3.10", "dotenv": "^16.0.3", "eslint": "^8.53.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.29.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-sonarjs": "^0.23.0", "eslint-plugin-typescript-sort-keys": "^3.1.0", "expect.js": "^0.3.1", "husky": "^8.0.3", "json-loader": "~0.5.7", "karma": "^6.3.9", "karma-chrome-launcher": "^3.1.0", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "~2.2.5", "karma-sauce-launcher": "^4.3.6", "karma-sourcemap-loader": "~0.4.0", "karma-webpack": "^5.0.0", "mocha": "^10.2.0", "null-loader": "^4.0.1", "nyc": "^15.1.0", "prettier": "^3.1.0", "puppeteer": "^21.5.1", "puppeteer-core": "^21.5.1", "request": "^2.88.2", "standard-version": "^9.3.2", "testdouble": "3.20.0", "typescript": "^5.2.2", "webpack": "^5.89.0", "webpack-cli": "^5.1.1" }, "dependencies": { "@babel/runtime": "^7.23.2", "@types/jsonwebtoken": "^9.0.5", "@types/qs": "^6.9.10", "axios": "0.x", "faye": "^1.4.0", "follow-redirects": "1.15.6", "form-data": "^4.0.0", "jsonwebtoken": "^9.0.2", "jwt-decode": "^4.0.0", "qs": "^6.10.2" }, "peerDependencies": { "@types/node": ">=10" }, "repository": { "type": "git", "url": "git://github.com/GetStream/stream-js.git" }, "files": [ "src", "dist", "types", "lib" ], "engines": { "node": ">=16" }, "keywords": [ "stream", "get", "get-stream", "chat", "notification", "feed", "stream.io", "getstream" ] }