mirror of
https://github.com/zhigang1992/agora-react-native-rtm.git
synced 2026-01-13 08:59:43 +08:00
154 lines
3.5 KiB
JSON
154 lines
3.5 KiB
JSON
{
|
|
"name": "agora-react-native-rtm",
|
|
"version": "1.4.8",
|
|
"description": "React Native around the Agora RTM SDKs for Android and iOS agora",
|
|
"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",
|
|
"agora-react-native-rtm.podspec",
|
|
"!lib/typescript/example",
|
|
"!**/__tests__",
|
|
"!**/__fixtures__",
|
|
"!**/__mocks__"
|
|
],
|
|
"scripts": {
|
|
"test": "jest",
|
|
"typescript": "tsc --noEmit",
|
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
"prepare": "bob build",
|
|
"release": "release-it",
|
|
"example": "yarn --cwd example",
|
|
"pods": "cd example && pod-install --quiet",
|
|
"bootstrap": "yarn example && yarn && yarn pods"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"agora",
|
|
"rtm",
|
|
"realtime",
|
|
"realtime",
|
|
"message",
|
|
"im"
|
|
],
|
|
"repository": "https://github.com/AgoraIO/agora-react-native-rtm",
|
|
"author": "HUI <luxuhui@agora.io> (https://github.com/LichKing-2234)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/AgoraIO/agora-react-native-rtm/issues"
|
|
},
|
|
"homepage": "https://github.com/AgoraIO/agora-react-native-rtm#readme",
|
|
"devDependencies": {
|
|
"@commitlint/config-conventional": "^8.3.4",
|
|
"@react-native-community/bob": "^0.16.2",
|
|
"@react-native-community/eslint-config": "^2.0.0",
|
|
"@release-it/conventional-changelog": "^1.1.4",
|
|
"@types/jest": "^26.0.0",
|
|
"@types/react": "^16.9.19",
|
|
"@types/react-native": "0.62.13",
|
|
"commitlint": "^8.3.5",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"eslint": "^7.2.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"husky": "^4.2.5",
|
|
"jest": "^26.0.1",
|
|
"pod-install": "^0.1.0",
|
|
"prettier": "^2.0.5",
|
|
"react": "16.11.0",
|
|
"react-native": "0.62.2",
|
|
"release-it": "^13.5.8",
|
|
"typescript": "^3.8.3"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-native": "*"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/example/node_modules",
|
|
"<rootDir>/lib/"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
"pre-commit": "yarn lint && yarn typescript"
|
|
}
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"release-it": {
|
|
"git": {
|
|
"commitMessage": "chore: release ${version}",
|
|
"tagName": "v${version}"
|
|
},
|
|
"npm": {
|
|
"publish": true
|
|
},
|
|
"github": {
|
|
"release": true
|
|
},
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": "angular",
|
|
"infile": "CHANGELOG.md"
|
|
}
|
|
}
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"@react-native-community",
|
|
"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-community/bob": {
|
|
"source": "src",
|
|
"output": "lib",
|
|
"targets": [
|
|
"commonjs",
|
|
"module",
|
|
"typescript"
|
|
]
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
}
|
|
}
|