@iterable/react-native-sdk
Version:
Iterable SDK for React Native.
193 lines (192 loc) • 5.04 kB
JSON
{
"name": "@iterable/react-native-sdk",
"version": "2.0.2",
"description": "Iterable SDK for React Native.",
"source": "./src/index.tsx",
"main": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"exports": {
".": {
"types": "./lib/typescript/src/index.d.ts",
"default": "./lib/module/index.js"
},
"./package.json": "./package.json"
},
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"*.podspec",
"scripts/autoCreatePackageInfo.js",
"scripts/createPackageInfoFile.js",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"add_build_info": "node scripts/autoCreatePackageInfo.js",
"example": "yarn workspace @iterable/react-native-sdk-example",
"test": "jest",
"test:coverage": "jest --coverage",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"docs": "typedoc",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
"prepare": "yarn add_build_info; yarn bob build",
"release": "release-it"
},
"keywords": [
"react-native",
"ios",
"android",
"Iterable"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Iterable/react-native-sdk.git"
},
"author": "Iterable <docs@iterable.com> (https://support.iterable.com/hc/en-us/articles/360045714072-Overview-of-Iterable-s-React-Native-SDK)",
"license": "MIT",
"bugs": {
"url": "https://github.com/Iterable/react-native-sdk/issues"
},
"homepage": "https://github.com/Iterable/react-native-sdk#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.6.0",
"@evilmartians/lefthook": "^1.5.0",
"@react-native/babel-preset": "0.79.3",
"@react-native/eslint-config": "0.79.3",
"@react-native/metro-config": "0.79.3",
"@react-native/typescript-config": "0.79.3",
"@react-navigation/native": "^6.1.18",
"@release-it/conventional-changelog": "^9.0.2",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react-native": "^12.7.2",
"@types/jest": "^29.5.5",
"@types/react": "^19.0.0",
"@types/react-native-vector-icons": "^6.4.18",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"commitlint": "^19.6.1",
"del-cli": "^5.1.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-tsdoc": "^0.3.0",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"react": "19.0.0",
"react-native": "0.79.3",
"react-native-builder-bob": "^0.40.4",
"react-native-gesture-handler": "^2.24.0",
"react-native-safe-area-context": "^5.1.0",
"react-native-screens": "^4.9.1",
"react-native-vector-icons": "^10.2.0",
"react-native-webview": "^13.13.1",
"react-test-renderer": "19.0.0",
"release-it": "^17.10.0",
"turbo": "^1.10.7",
"typedoc": "^0.26.11",
"typedoc-plugin-coverage": "^3.3.0",
"typedoc-plugin-mermaid": "^1.12.0",
"typescript": "^5.2.2"
},
"resolutions": {
"@types/react": "^19.0.0"
},
"peerDependencies": {
"@react-navigation/native": "*",
"react": "*",
"react-native": "*",
"react-native-safe-area-context": "*",
"react-native-vector-icons": "*",
"react-native-webview": "*"
},
"peerDependenciesMeta": {
"expo": {
"optional": true
}
},
"sideEffects": false,
"workspaces": [
"example"
],
"packageManager": "yarn@3.6.1",
"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",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{}
]
}
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "RNIterableSpec",
"type": "modules",
"jsSrcsDir": "src",
"android": {
"javaPackageName": "com.iterable.reactnative"
}
},
"create-react-native-library": {
"type": "module-legacy",
"languages": "kotlin-swift",
"version": "0.41.2"
}
}