{
  "name": "@appmetrica/react-native-analytics",
  "version": "4.2.0",
  "description": "React Native plugin for AppMetrica analytics tool",
  "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",
    "!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}\"",
    "format": "prettier --write \"src/**/*.{ts,tsx}\"",
    "format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
    "clean": "del-cli android/build lib",
    "prepack": "bob build"
  },
  "keywords": [
    "appmetrica",
    "metrica",
    "analytics",
    "tracking",
    "react-native",
    "ios",
    "android"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/appmetrica/appmetrica-react-native-plugin.git"
  },
  "author": "AppMetrica <admin@appmetrica.io> (https://appmetrica.io)",
  "license": "See LICENSE.md file",
  "bugs": {
    "url": "https://github.com/appmetrica/appmetrica-react-native-plugin/issues"
  },
  "homepage": "https://appmetrica.io/docs/en/sdk/react-native/analytics/quick-start/",
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "devDependencies": {
    "@react-native/eslint-config": "^0.76.0",
    "@types/jest": "^29.5.12",
    "@types/jsdom": "^21.1.7",
    "@types/node": "^22.10.0",
    "@types/react": "^18.2.6",
    "del-cli": "^5.1.0",
    "eslint": "^8.51.0",
    "eslint-config-prettier": "^9.0.0",
    "jest": "^29.7.0",
    "prettier": "^3.0.3",
    "react": "18.3.1",
    "react-native": "0.76.0",
    "react-native-builder-bob": "^0.40.17",
    "typescript": "^5.2.2"
  },
  "resolutions": {
    "@types/react": "^18.2.44"
  },
  "peerDependencies": {
    "react": "*",
    "react-native": ">=0.76.0 <1.0.0"
  },
  "jest": {
    "preset": "react-native",
    "modulePathIgnorePatterns": [
      "<rootDir>/example/node_modules",
      "<rootDir>/lib/"
    ]
  },
  "eslintConfig": {
    "root": true,
    "extends": [
      "@react-native",
      "prettier"
    ],
    "rules": {
      "@typescript-eslint/consistent-type-imports": [
        "error",
        {
          "prefer": "type-imports",
          "fixStyle": "separate-type-imports"
        }
      ],
      "no-restricted-syntax": [
        "error",
        {
          "selector": "ImportDeclaration[importKind='value'] > ImportSpecifier[importKind='type']",
          "message": "Use a separate 'import type' declaration instead of inline 'type' specifiers."
        }
      ]
    }
  },
  "eslintIgnore": [
    "node_modules/",
    "lib/",
    "babel.config.js"
  ],
  "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"
        }
      ]
    ]
  },
  "codegenConfig": {
    "name": "AppMetricaNativeSpec",
    "type": "modules",
    "jsSrcsDir": "src/specs",
    "android": {
      "javaPackageName": "io.appmetrica.analytics.reactnative"
    },
    "ios": {
      "modulesProvider": {
        "AppMetrica": "AMARNAppMetrica",
        "AppMetricaReporter": "AMARNReporter"
      }
    }
  }
}
