UNPKG

react-native-agora-chat

Version:
215 lines (214 loc) 5.36 kB
{ "name": "react-native-agora-chat", "version": "1.3.4", "description": "react native chat sdk", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "native_src/cpp", "native_src/java", "native_src/objc", "native_src/cpp/CMakeLists.txt", "react-native-chat-sdk.podspec", "CHANGELOG.md", "tsconfig.json", "!lib/typescript/example", "!lib/typescript/examples", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "typecheck": "tsc --noEmit", "lint": "yarn lint_sdk && yarn lint_example", "lint_sdk": "eslint \"src/**/*.ts\"", "lint_example": "eslint \"example/src/**/*.{js,ts,tsx}\"", "bb": "bob build", "release": "release-it", "example": "yarn --cwd example", "env": "cd scripts && node generate-env.js", "version": "cd scripts && node generate-version.js", "pods": "cd example && pod-install --quiet", "cpp": "cd native_src/cpp && sh generate.sh --type rn && cd ../..", "cpp_win": "cd native_src/cpp && generate.ps1 --type rn && cd ../..", "bootstrap": "yarn example && yarn install && yarn example pods", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build", "typedoc": "npx typedoc --out ./docs/typedoc --json ./docs/typedoc/typedoc.json --tsconfig ./tsconfig.json --readme ./docs/rn_api_overview.md ./src/index.ts" }, "keywords": [ "react-native", "ios", "android", "chat", "im", "agora", "sdk" ], "repository": "https://github.com/AgoraIO/Agora-Chat-API-Examples", "author": "Asterisk <zuoyu@agora.io> (https://github.com/asteriskzuo)", "license": "MIT", "bugs": { "url": "https://github.com/AgoraIO/Agora-Chat-API-Examples" }, "homepage": "https://github.com/AgoraIO/Agora-Chat-API-Examples", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.2.2", "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^28.1.2", "@types/react": "~18.0.27", "@types/react-native": "~0.71.0", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "eslint": "^8.4.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-simple-import-sort": "^10.0.0", "jest": "^28.1.1", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "18.2.0", "react-native": "0.71.11", "react-native-builder-bob": "^0.20.4", "release-it": "^15.0.0", "typescript": "^4.5.2" }, "resolutions": { "@types/react": "~18.0.27", "@types/react-native": "~0.71.0" }, "peerDependencies": { "react": "*", "react-native": ">=0.63.5" }, "engines": { "node": ">= 16.0.0" }, "packageManager": "yarn@1.22.19", "jest": { "preset": "react-native", "testRegex": "/__tests__/.*\\.(test|spec)\\.(js|jsx|ts|tsx?)$", "modulePathIgnorePatterns": [ "<rootDir>/node_modules", "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ], "rules": { "type-enum": [ 2, "always", [ "build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test", "tag", "api", "example", "tag" ] ] } }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native-community", "prettier" ], "plugins": [ "simple-import-sort" ], "rules": { "jest/*": 0, "simple-import-sort/imports": "error", "simple-import-sort/exports": "error", "react-native/no-inline-styles": 0, "@typescript-eslint/no-shadow": "off", "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }