{
  "name": "react-native-user-avatar",
  "version": "2.0.0",
  "description": "React Native component for a user avatar with fallback to colored initials",
  "main": "lib/commonjs/index.js",
  "module": "lib/module/index.js",
  "types": "lib/typescript/index.d.ts",
  "react-native": "src/index.tsx",
  "files": [
    "src",
    "lib",
    "!**/__tests__",
    "!**/__mocks__",
    "!**/__snapshots__"
  ],
  "keywords": [
    "react-native",
    "react-native-component",
    "avatar",
    "initials",
    "typescript"
  ],
  "author": "Avishay Bar <avishay.il@gmail.com> (https://github.com/avishayil)",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/avishayil/react-native-user-avatar.git"
  },
  "bugs": {
    "url": "https://github.com/avishayil/react-native-user-avatar/issues"
  },
  "homepage": "https://github.com/avishayil/react-native-user-avatar#readme",
  "engines": {
    "node": ">=18"
  },
  "scripts": {
    "test": "jest --coverage && jest-coverage-badges --output './badges'",
    "typescript": "tsc --noEmit",
    "lint": "eslint --ext .js,.jsx,.ts,.tsx .",
    "prepare": "bob build && husky",
    "prepack": "bob build",
    "release": "dotenv release-it",
    "example": "npm --prefix Example",
    "bootstrap": "npm install && npm --prefix Example install && cp .env.example .env",
    "clean": "rm -rf node_modules coverage .env lib Example/node_modules"
  },
  "dependencies": {
    "initials": "^3.0.1"
  },
  "peerDependencies": {
    "react": "*",
    "react-native": "*"
  },
  "devDependencies": {
    "@commitlint/config-conventional": "^19.6.0",
    "@react-native/babel-preset": "0.76.9",
    "@react-native/eslint-config": "0.76.9",
    "@release-it/conventional-changelog": "^8.0.2",
    "@types/jest": "^29.5.14",
    "@types/react": "^18.3.12",
    "@types/react-test-renderer": "^18.3.0",
    "commitlint": "^19.6.0",
    "dotenv-cli": "^7.4.4",
    "eslint": "^8.57.1",
    "husky": "^9.1.7",
    "jest": "^29.7.0",
    "jest-coverage-badges": "^1.1.2",
    "prettier": "^3.4.2",
    "react": "18.3.1",
    "react-native": "0.76.9",
    "react-native-builder-bob": "^0.43.0",
    "react-test-renderer": "18.3.1",
    "release-it": "^17.10.0",
    "typescript": "^5.6.3"
  },
  "overrides": {
    "minimist": "^1.2.8",
    "lodash": "^4.17.21",
    "tmp": "^0.2.7",
    "@octokit/plugin-paginate-rest": ">=11.6.0"
  },
  "publishConfig": {
    "provenance": true,
    "access": "public"
  },
  "jest": {
    "preset": "react-native",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json"
    ],
    "transform": {
      "^.+\\.(js|jsx|ts|tsx)$": "babel-jest"
    },
    "testMatch": [
      "**/**/*.test.?(j|t)s?(x)"
    ],
    "modulePathIgnorePatterns": [
      "<rootDir>/Example/",
      "<rootDir>/lib/"
    ],
    "setupFilesAfterEnv": [
      "<rootDir>/src/__tests__/setup.ts"
    ],
    "coverageReporters": [
      "json-summary",
      "text",
      "lcov"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 70,
        "functions": 80,
        "lines": 80,
        "statements": 80
      }
    }
  },
  "prettier": {
    "singleQuote": true,
    "tabWidth": 2,
    "trailingComma": "es5",
    "useTabs": false
  },
  "react-native-builder-bob": {
    "source": "src",
    "output": "lib",
    "targets": [
      "commonjs",
      "module",
      "typescript"
    ]
  },
  "eslintIgnore": [
    "node_modules/",
    "lib/",
    "coverage/",
    "Example/"
  ]
}
