{
  "name": "spalla-react-native",
  "version": "2.2.2",
  "description": "Spalla SDK for RN",
  "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"
      }
    },
    "./app.plugin.js": "./app.plugin.js"
  },
  "bin": {
    "spalla-apply-patches": "scripts/apply-patches.mjs",
    "spalla-doctor": "scripts/doctor.mjs"
  },
  "files": [
    "src",
    "lib",
    "plugin",
    "patches",
    "scripts/apply-patches.mjs",
    "scripts/doctor.mjs",
    "scripts/patch-roots.js",
    "app.plugin.js",
    "android",
    "ios",
    "cpp",
    "native",
    "*.podspec",
    "react-native.config.js",
    "!ios/build",
    "!android/build",
    "!**/__tests__",
    "!**/__fixtures__",
    "!**/__mocks__",
    "!**/.*"
  ],
  "scripts": {
    "example": "yarn workspace spalla-react-native-example",
    "metro": "yarn workspace spalla-react-native-example start",
    "test": "jest",
    "e2e": "node scripts/e2e/run.mjs",
    "e2e:android": "node scripts/e2e/run.mjs --target=android-emu",
    "e2e:ios": "node scripts/e2e/run.mjs --target=ios-sim",
    "e2e:devices": "node scripts/e2e/run.mjs --target=android-device,ios-device",
    "e2e:cast": "node scripts/e2e/run.mjs --target=ios-device --cast",
    "e2e:quick": "node scripts/e2e/run.mjs --depth=smoke --no-video",
    "typecheck": "tsc",
    "lint": "eslint \"**/*.{js,ts,tsx}\"",
    "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
    "codegen": "bob build --target codegen",
    "fetch-core": "node scripts/fetch-core.mjs",
    "verify-pack": "node scripts/verify-pack.mjs",
    "apply-patches": "node scripts/apply-patches.mjs",
    "doctor": "node scripts/doctor.mjs",
    "postinstall": "node scripts/apply-patches.mjs",
    "prepack": "yarn fetch-core",
    "prepare": "bob build",
    "release": "release-it"
  },
  "keywords": [
    "react-native",
    "ios",
    "android"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/taghos/spalla-react-native-examples.git"
  },
  "author": "Zé <dev@spalla.io> (https://github.com/taghos)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/taghos/spalla-react-native-examples/issues"
  },
  "homepage": "https://github.com/taghos/spalla-react-native-examples#readme",
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "devDependencies": {
    "@commitlint/config-conventional": "^17.0.2",
    "@evilmartians/lefthook": "^1.5.0",
    "@react-native-async-storage/async-storage": "^2.1.0",
    "@react-native-community/cli": "20.0.0",
    "@react-native/eslint-config": "^0.73.1",
    "@release-it/conventional-changelog": "^5.0.0",
    "@types/jest": "^29.5.5",
    "@types/react": "^19.2.0",
    "commitlint": "^17.0.2",
    "del-cli": "^5.1.0",
    "eslint": "^8.51.0",
    "eslint-config-prettier": "^9.0.0",
    "eslint-plugin-prettier": "^5.0.1",
    "jest": "^29.7.0",
    "prettier": "^3.0.3",
    "react": "19.2.3",
    "react-native": "0.83.0",
    "react-native-builder-bob": "^0.43.0",
    "react-native-google-cast": "^4.9.1",
    "react-native-uuid": "^2.0.4",
    "react-native-video": "6.19.2",
    "release-it": "^15.0.0",
    "turbo": "^1.10.7",
    "typescript": "^5.2.2"
  },
  "resolutions": {
    "@types/react": "^19.2.0"
  },
  "dependencies": {
    "@expo/config-plugins": "^54.0.4",
    "patch-package": "^8.0.1"
  },
  "peerDependencies": {
    "@react-native-async-storage/async-storage": ">=1.21.0",
    "react": "*",
    "react-native": "*",
    "react-native-google-cast": ">=4.6.0",
    "react-native-uuid": ">=2.0.0",
    "react-native-video": ">=6.19.2 <7"
  },
  "workspaces": [
    "example",
    "example-expo"
  ],
  "packageManager": "yarn@3.6.1",
  "codegenConfig": {
    "name": "SpallaCoreSpec",
    "type": "modules",
    "jsSrcsDir": "src/specs",
    "outputDir": {
      "ios": "ios/generated",
      "android": "android/generated"
    },
    "android": {
      "javaPackageName": "com.spallareactnative"
    },
    "includesGeneratedCode": true
  },
  "jest": {
    "preset": "react-native",
    "modulePathIgnorePatterns": [
      "<rootDir>/example/node_modules",
      "<rootDir>/lib/"
    ],
    "collectCoverageFrom": [
      "src/**/*.{ts,tsx}",
      "!src/**/__tests__/**",
      "!src/specs/**"
    ],
    "coverageThreshold": {
      "global": {
        "statements": 55,
        "branches": 45,
        "functions": 55,
        "lines": 55
      }
    }
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "release-it": {
    "git": {
      "commitMessage": "chore: release ${version}",
      "tagName": "v${version}"
    },
    "npm": {
      "publish": true
    },
    "github": {
      "release": true
    },
    "hooks": {
      "before:init": [
        "yarn typecheck",
        "yarn lint",
        "yarn test"
      ],
      "after:bump": [
        "yarn fetch-core",
        "yarn verify-pack"
      ]
    },
    "plugins": {
      "@release-it/conventional-changelog": {
        "preset": "angular"
      }
    }
  },
  "eslintConfig": {
    "root": true,
    "extends": [
      "@react-native",
      "prettier"
    ],
    "rules": {
      "react/react-in-jsx-scope": "off",
      "prettier/prettier": [
        "error",
        {
          "quoteProps": "consistent",
          "singleQuote": true,
          "tabWidth": 2,
          "trailingComma": "es5",
          "useTabs": false
        }
      ]
    }
  },
  "eslintIgnore": [
    "node_modules/",
    "lib/",
    "coverage/",
    "example/ios/Pods/",
    "example/android/app/build/"
  ],
  "prettier": {
    "quoteProps": "consistent",
    "singleQuote": true,
    "tabWidth": 2,
    "trailingComma": "es5",
    "useTabs": false
  },
  "react-native-builder-bob": {
    "source": "src",
    "output": "lib",
    "targets": [
      [
        "commonjs",
        {
          "esm": true
        }
      ],
      [
        "module",
        {
          "esm": true
        }
      ],
      [
        "typescript",
        {
          "project": "tsconfig.build.json"
        }
      ],
      "codegen"
    ]
  },
  "create-react-native-library": {
    "type": "view-legacy",
    "languages": "kotlin-swift",
    "version": "0.41.2"
  },
  "expo": {
    "plugin": "./app.plugin.js"
  }
}
