{
  "name": "react-native-chat-sdk",
  "version": "1.15.0",
  "description": "An instant messaging SDK product is a software development kit that provides interfaces and functionalities for building and integrating real-time messaging features, enabling developers to implement instant messaging services within their applications.",
  "main": "lib/commonjs/index",
  "module": "lib/module/index",
  "types": "lib/typescript/src/index.d.ts",
  "react-native": "src/index",
  "source": "src/index",
  "files": [
    "src",
    "lib",
    "android",
    "ios",
    "cpp",
    "modules/cpp/**",
    "modules/java/**",
    "modules/objc/**",
    "modules/cpp/CMakeLists.txt",
    "scripts/generate-cmake.js",
    "scripts/generate-version.js",
    "*.podspec",
    "!build",
    "!ios/build",
    "!android/build",
    "!android/gradle",
    "!android/gradlew",
    "!android/gradlew.bat",
    "!android/local.properties",
    "!CHANGELOG.md",
    "!CHANGELOG.zh.md",
    "!**/__tests__",
    "!**/__fixtures__",
    "!**/__mocks__",
    "!**/.*"
  ],
  "scripts": {
    "example": "yarn workspace rn-cs-example",
    "test": "jest",
    "typecheck": "tsc --noEmit",
    "lint": "yarn run lint:sdk && yarn run lint:example",
    "lint:sdk": "eslint \"src/**/*.{js,ts,tsx}\"",
    "lint:example": "eslint \"example/src/**/*.{js,ts,tsx}\"",
    "clean": "yarn run clean:generated && yarn run clean:docs && yarn run clean:node_modules",
    "clean:generated": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
    "clean:node_modules": "rm -rf example/node_modules && rm -rf node_modules/",
    "clean:docs": "del-cli docs/build",
    "prepare": "yarn run gen:version_file && yarn run gen:cmake_file && yarn run gen:env_file && yarn run build:exports && yarn run check:circular:dpdm",
    "gen:env_file": "cd scripts && node generate-env.js",
    "gen:version_file": "cd scripts && node generate-version.js",
    "gen:cmake_file": "cd scripts && node generate-cmake.js",
    "gen:xcode:env": "echo export NODE_BINARY=$(command -v node) > example/ios/.xcode.env.local",
    "build:exports": "bob build",
    "yarn_pack": "mkdir build && yarn run prepare && yarn pack --out build/react-native-chat-sdk.tgz",
    "doc:en": "mkdir -p ./docs/build/en && yarn exec typedoc --out ./docs/build/en --json ./docs/build/typedoc.json --tsconfig ./tsconfig.json --readme ./docs/rn_api_overview.md ./src/index.ts",
    "doc:cn": "mkdir -p ./docs/build/cn && yarn exec typedoc --out ./docs/build/cn --json ./docs/build/typedoc.json --tsconfig ./tsconfig.json --readme ./docs/rn_api_overview.zh.md ./src/index.ts",
    "doc:md": "mkdir -p ./docs/build/md && yarn exec typedoc --plugin typedoc-plugin-markdown --out ./docs/build/md --tsconfig ./tsconfig.json --readme ./docs/rn_api_overview.md ./src/index.ts",
    "doc:cn:update": "node ./scripts/update_api_docs.js 1.15.0 undefined easemob cn",
    "doc:agora:update": "node ./scripts/update_api_docs.js 1.4.0 undefined agora en",
    "doc:shengwang:update": "node ./scripts/update_api_docs.js 1.4.0 undefined shengwang en",
    "check:circular:dpdm": "dpdm --circular --transform --include ts src/",
    "check:circular:madge": "madge --circular --extensions ts src/",
    "release": "release-it"
  },
  "keywords": [
    "react-native",
    "ios",
    "android"
  ],
  "repository": "https://github.com/easemob/react-native-chat-sdk",
  "author": "asteriskzuo <zuoyuhsywn@hotmail.com> (https://github.com/asteriskzuo)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/easemob/react-native-chat-sdk/issues"
  },
  "homepage": "https://github.com/easemob/react-native-chat-sdk#readme",
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "devDependencies": {
    "@commitlint/config-conventional": "^17.0.2",
    "@evilmartians/lefthook": "^1.5.0",
    "@react-native/eslint-config": "^0.72.2",
    "@release-it/conventional-changelog": "^5.0.0",
    "@types/jest": "^28.1.2",
    "@types/react": "~17.0.21",
    "@types/react-native": "0.70.0",
    "commitlint": "^17.0.2",
    "del-cli": "^5.0.0",
    "dpdm": "^3.14.0",
    "eslint": "^8.4.1",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-prettier": "^4.0.0",
    "jest": "^28.1.1",
    "madge": "^8.0.0",
    "pod-install": "^0.1.0",
    "prettier": "^2.0.5",
    "react": "18.2.0",
    "react-native": "0.72.17",
    "react-native-builder-bob": "^0.20.0",
    "release-it": "^15.0.0",
    "turbo": "^1.10.7",
    "typedoc": "^0.28.16",
    "typedoc-plugin-markdown": "^4.9.0",
    "typescript": "^5.0.2"
  },
  "resolutions": {
    "@types/react": "17.0.21"
  },
  "peerDependencies": {
    "react": "*",
    "react-native": "*"
  },
  "workspaces": [
    "example"
  ],
  "packageManager": "yarn@3.6.1",
  "engines": {
    "node": ">= 16.16.1"
  },
  "jest": {
    "preset": "react-native",
    "modulePathIgnorePatterns": [
      "<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",
      "prettier"
    ],
    "rules": {
      "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"
        }
      ]
    ]
  },
  "codegenConfig": {
    "name": "RNChatSdkSpec",
    "type": "modules",
    "jsSrcsDir": "src/__specs__",
    "android": {
      "javaPackageName": "com.chatsdk"
    }
  }
}
