UNPKG

react-native-tamara-sdk

Version:

Tamara React Native SDK

164 lines (163 loc) 4.15 kB
{ "name": "react-native-tamara-sdk", "version": "1.0.9", "description": "Tamara React Native SDK", "keywords": [ "react-native", "ios", "android", "tamara" ], "author": "Tamara", "license": "ISC", "homepage": "https://tamara.co", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "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", "*.podspec", "!lib/typescript/example", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepack": "bob build", "release": "release-it", "example": "yarn --cwd example", "build:android": "cd example/android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a", "build:ios": "cd example/ios && xcodebuild -workspace TamaraSdkExample.xcworkspace -scheme TamaraSdkExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO", "bootstrap": "yarn example && yarn install && yarn example pods", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.2.2", "@react-native/eslint-config": "0.74.83", "@react-native/babel-preset": "0.74.83", "@react-native/typescript-config": "0.74.83", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "29.5.12", "@types/react": "^18.2.6", "@types/react-native": "0.70.0", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^29.6.3", "pod-install": "^0.1.0", "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.74.1", "react-native-webview": "^13.6.2", "react-native-builder-bob": "^0.22.0", "release-it": "^15.0.0", "turbo": "^1.10.7", "typescript": "5.0.4" }, "resolutions": { "@types/react": "^18.2.6" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-webview": "*" }, "engines": { "node": ">= 18.0.0" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "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" } } }, "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" } ] ] } }