UNPKG

@iterable/react-native-sdk

Version:
175 lines (174 loc) 4.56 kB
{ "name": "@iterable/react-native-sdk", "version": "2.0.0-beta", "description": "Iterable SDK for React Native.", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "exports": { ".": { "import": { "types": "./lib/typescript/module/src/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/commonjs/src/index.d.ts", "default": "./lib/commonjs/index.js" } } }, "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", "preinstall": "yarn add_build_info", "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": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@react-native/eslint-config": "^0.73.1", "@react-navigation/native": "^6.1.18", "@release-it/conventional-changelog": "^5.0.0", "@testing-library/jest-native": "^5.4.3", "@testing-library/react-native": "^12.7.2", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "@types/react-native-vector-icons": "^6.4.18", "@typescript-eslint/eslint-plugin": "^8.13.0", "@typescript-eslint/parser": "^8.13.0", "commitlint": "^17.0.2", "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": "18.3.1", "react-native": "0.75.3", "react-native-builder-bob": "^0.30.2", "react-native-safe-area-context": "^4.11.1", "react-native-vector-icons": "^10.2.0", "react-native-webview": "^13.12.3", "release-it": "^15.0.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": "^18.2.44" }, "peerDependencies": { "@react-navigation/native": "*", "react": "*", "react-native": "*", "react-native-safe-area-context": "*", "react-native-vector-icons": "*", "react-native-webview": "*" }, "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" } } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json", "esm": true } ] ] }, "create-react-native-library": { "type": "module-legacy", "languages": "kotlin-swift", "version": "0.41.2" } }