UNPKG

stream-chat-react-native-core

Version:

The official React Native and Expo components for Stream Chat, a service for building chat applications

159 lines (158 loc) 5.59 kB
{ "name": "stream-chat-react-native-core", "description": "The official React Native and Expo components for Stream Chat, a service for building chat applications", "version": "9.7.3", "author": { "company": "Stream.io Inc", "name": "Stream.io Inc" }, "repository": { "type": "git", "url": "https://github.com/GetStream/stream-chat-react-native.git", "directory": "package" }, "license": "SEE LICENSE IN LICENSE", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "react-native": "src/index.ts", "types": "lib/typescript/index.d.ts", "files": [ "src", "lib", "package.json", "README.md" ], "scripts": { "shared-native:sync": "bash ./scripts/sync-shared-native.sh all", "shared-native:clean-copies": "bash ./scripts/clean-shared-native-copies.sh all", "build": "rimraf lib && yarn run --silent build-translations && bob build && yarn run --silent copy-translations", "build-translations": "i18next-cli sync", "copy-translations": "echo '\u001b[34mℹ\u001b[0m Copying translation files to \u001b[34mlib/typescript/i18n\u001b[0m' && cp -R -f ./src/i18n ./lib/typescript/i18n && echo '\u001b[32m✓\u001b[0m Done Copying Translations'", "prepare": "yarn run build", "prepare-distribution": "cd examples/SampleApp && npm version patch && react-native-version && git add ./ && git commit -m 'Bump build version' --no-verify", "test:coverage": "yarn test:unit --coverage", "test:typecheck": "tsc --noEmit -p tsconfig.test.json", "test:unit": "TZ=UTC jest", "typecheck": "tsc --noEmit -p tsconfig.test.json", "validate-translations": "node bin/validate-translations.js", "get-version": "echo $npm_package_version", "version": "bash ./bin/before-tag.sh", "bootstrap": "yarn install", "extract-changelog": "FILTER_PATH='package' TAG_FORMAT='v${version}' node ../release/extract-changelog.js", "release": "FILTER_PATH='package' TAG_FORMAT='v${version}' node ../release/prod", "release-next": "FILTER_PATH='package' TAG_FORMAT='v${version}' node ../release/next", "prepublishOnly": "echo 'running prepublishOnly for core package' && bash ./bin/before-tag.sh && bash ./bin/release.sh && echo 'finished running prepublishOnly for core package'", "prepack": " cp ../README.md .", "postpack": "rm README.md", "update-emoji": "node src/emoji-data/compile.js" }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "configFile": "./babel.config.js" } ], [ "module", { "configFile": "./babel.config.js" } ], "typescript" ] }, "dependencies": { "@gorhom/bottom-sheet": "5.2.9", "@ungap/structured-clone": "^1.3.0", "dayjs": "1.11.13", "emoji-regex": "^10.4.0", "i18next": "^25.2.1", "intl-pluralrules": "^2.0.1", "linkifyjs": "^4.3.2", "lodash-es": "4.18.1", "mime-types": "^2.1.35", "path": "0.12.7", "react-native-markdown-package": "1.8.2", "react-native-url-polyfill": "^2.0.0", "stream-chat": "^9.50.1", "use-sync-external-store": "^1.5.0" }, "peerDependencies": { "@emoji-mart/data": ">=1.1.0", "@op-engineering/op-sqlite": ">=14.0.0", "@react-native-community/netinfo": ">=11.3.1", "@shopify/flash-list": ">=2.1.0", "emoji-mart": ">=5.4.0", "react-native": ">=0.76.0", "react-native-gesture-handler": ">=2.18.0", "react-native-reanimated": ">=3.16.0", "react-native-safe-area-context": ">=5.4.1", "react-native-svg": ">=15.8.0", "react-native-teleport": ">=0.5.4" }, "peerDependenciesMeta": { "@emoji-mart/data": { "optional": true }, "@op-engineering/op-sqlite": { "optional": true }, "@shopify/flash-list": { "optional": true }, "emoji-mart": { "optional": true } }, "devDependencies": { "@babel/core": "^7.29.0", "@babel/runtime": "^7.29.2", "@op-engineering/op-sqlite": "^17.1.2", "@react-native-community/netinfo": "^12.0.1", "@react-native/babel-preset": "0.86.0", "@react-native/jest-preset": "0.86.0", "@shopify/flash-list": "^2.3.2", "@stream-io/typescript-config": "workspace:^", "@testing-library/jest-native": "^5.4.3", "@testing-library/react-native": "13.2.0", "@total-typescript/shoehorn": "^0.1.2", "@types/better-sqlite3": "^7.6.13", "@types/eslint": "9.6.1", "@types/jest": "^30.0.0", "@types/linkify-it": "5.0.0", "@types/lodash": "4.17.16", "@types/mime-types": "2.1.4", "@types/react": "^19.2.0", "@types/react-test-renderer": "19.1.0", "@types/ungap__structured-clone": "^1.2.0", "@types/use-sync-external-store": "^1.5.0", "@types/uuid": "^10.0.0", "babel-jest": "30.0.0", "babel-loader": "10.1.1", "babel-plugin-module-resolver": "5.0.3", "better-sqlite3": "12.11.1", "i18next-cli": "^1.31.0", "jest": "^30.4.2", "moment-timezone": "^0.6.0", "react": "19.2.3", "react-native": "0.86.0", "react-native-builder-bob": "0.40.11", "react-native-gesture-handler": "^3.1.0", "react-native-reanimated": "^4.5.2", "react-native-safe-area-context": "^5.8.0", "react-native-svg": "15.15.5", "react-native-teleport": "^1.1.12", "react-native-worklets": "^0.11.1", "react-test-renderer": "19.2.3", "rimraf": "^6.0.1", "typescript": "6.0.3", "uuid": "^11.1.0" }, "resolutions": { "@types/react": "^19.2.0" } }