{
  "name": "@ascendeum_ads/react-native-aps",
  "version": "0.0.1",
  "author": "Ascendeum Team <jitendra@ascendeum.com> (https://github.com/Prebid-bydata/)",
  "contributors": [
    "ascendeum"
  ],
  "description": "Amazon Publisher Services SDK for React Native",
  "license": "MIT",
  "keywords": [
    "react",
    "react-native",
    "aps",
    "ad",
    "ads",
    "header bidding",
    "Amazon Publisher Services",
    "Transparent Ad Marketplace"
  ],
  "repository": "https://github.com/Prebid-bydata/react-native-aps",
  "bugs": {
    "url": "https://github.com/Prebid-bydata/react-native-aps/issues"
  },
  "homepage": "https://github.com/Prebid-bydata/react-native-aps#readme",
  "main": "lib/commonjs/index",
  "module": "lib/module/index",
  "types": "lib/typescript/index.d.ts",
  "react-native": "src/index",
  "source": "src/index",
  "files": [
    "/android/",
    "/ios/",
    "/lib/",
    "/src/",
    "/babel.config.js",
    "/jest.setup.ts",
    "/RNAmazonPublisherServices.podspec",
    "!android/build",
    "!ios/build"
  ],
  "scripts": {
    "prepare": "yarn build",
    "build": "bob build",
    "build:clean": "rimraf android/build && rimraf ios/build && rimraf lib",
    "lint:code": "yarn lint:js:check && yarn lint:android:check && yarn lint:ios:check",
    "lint:js:check": "eslint src/ --ext .js,.jsx,.ts,.tsx --max-warnings=0",
    "lint:js:fix": "eslint src/ --ext .js,.jsx,.ts,.tsx --fix",
    "lint:android:check": "google-java-format --set-exit-if-changed --replace --glob=\"android/**/*.java\"",
    "lint:android:fix": "google-java-format --replace --glob=\"android/**/*.java\"",
    "lint:ios:check": "clang-format --glob=\"ios/**/*.{h,cpp,m,mm}\" --style=Google -n -Werror",
    "lint:ios:fix": "clang-format -i --glob=\"ios/**/*.{h,cpp,m,mm}\" --style=Google",
    "lint:fix": "yarn lint:js:fix && yarn lint:android:fix && yarn lint:ios:fix",
    "lint:report": "eslint --output-file=eslint-report.json --format=json src/ --ext .js,.jsx,.ts,.tsx",
    "lint:spellcheck": "spellchecker --quiet --files=\"docs/**/*.md\" --dictionaries=\"./.spellcheck.dict.txt\" --reports=\"spelling.json\" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter",
    "tsc:compile": "tsc --noEmit",
    "lint": "yarn lint:code && yarn tsc:compile",
    "test:jest": "jest",
    "test:jest-watch": "jest --watch",
    "test:jest-coverage": "jest --coverage",
    "test:android:build": "yarn detox build --configuration android",
    "test:android": "detox test -c android",
    "test:android:local": "detox test -c android.local",
    "test:ios:build": "yarn detox build --configuration ios",
    "test:ios": "detox test -c ios",
    "test:ios:pod:install": "cd Example && cd ios && rm -rf ApsExample.xcworkspace && rm -f Podfile.lock && pod install --repo-update && cd ..",
    "test:packager:ci": "cd Example && cross-env TMPDIR=$HOME/.metro REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start --no-interactive",
    "test": "yarn test:jest",
    "release": "release-it",
    "example": "yarn --cwd Example",
    "pods": "cd Example && pod-install --quiet",
    "bootstrap": "yarn example && yarn && yarn pods"
  },
  "devDependencies": {
    "@babel/core": "^7.18.2",
    "@babel/preset-env": "^7.18.2",
    "@commitlint/config-conventional": "^17.0.0",
    "@react-native-community/eslint-config": "^3.0.2",
    "@release-it/conventional-changelog": "^5.0.0",
    "@types/jest": "^27.5.1",
    "@types/react": "^18.0.9",
    "@types/react-native": "0.67.7",
    "clang-format": "^1.8.0",
    "codecov": "^3.8.3",
    "commitlint": "^17.0.1",
    "cross-env": "^7.0.3",
    "detox": "^19.7.0",
    "eslint": "^8.16.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-detox": "^1.0.0",
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-tsdoc": "^0.2.16",
    "google-java-format": "^1.0.1",
    "husky": "^8.0.1",
    "jest": "^28.1.0",
    "jest-circus": "^28.1.0",
    "jest-environment-node": "^28.1.0",
    "pod-install": "^0.1.36",
    "prettier": "^2.6.2",
    "react": "18.0.0",
    "react-native": "0.69.0-rc.3",
    "react-native-builder-bob": "^0.18.2",
    "react-native-test-app": "^1.3.8",
    "release-it": "^15.0.0",
    "rimraf": "^3.0.2",
    "ts-jest": "^28.0.3",
    "typescript": "^4.7.2"
  },
  "peerDependencies": {
    "react": "*",
    "react-native": "*"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "jest": {
    "preset": "react-native",
    "modulePathIgnorePatterns": [
      "<rootDir>/Example/node_modules",
      "<rootDir>/lib/"
    ],
    "setupFiles": [
      "./jest.setup.ts"
    ]
  },
  "detox": {
    "testRunner": "jest",
    "runnerConfig": "e2e/config.json",
    "behavior": {
      "init": {
        "exposeGlobals": false
      }
    },
    "apps": {
      "ios": {
        "type": "ios.app",
        "binaryPath": "Example/ios/build/Build/Products/Debug-iphonesimulator/RNAPSExample.app",
        "build": "set -o pipefail && xcodebuild VALID_ARCHS=\"`uname -m`\" CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace Example/ios/RNAPSExample.xcworkspace -scheme RNAPSExample -configuration Debug -sdk iphonesimulator -derivedDataPath Example/ios/build | xcbeautify"
      },
      "android": {
        "type": "android.apk",
        "binaryPath": "Example/android/app/build/outputs/apk/debug/app-debug.apk",
        "build": "cd Example/android && ./gradlew assembleDebug assembleAndroidTest lintDebug -DtestBuildType=debug && cd ../.."
      }
    },
    "devices": {
      "simulator": {
        "type": "ios.simulator",
        "device": {
          "type": "iPhone 13"
        }
      },
      "emulator": {
        "type": "android.emulator",
        "device": {
          "avdName": "TestingAVD"
        }
      },
      "emulator.local": {
        "type": "android.emulator",
        "device": {
          "avdName": "Pixel_4_API_Tiramisu"
        }
      }
    },
    "configurations": {
      "ios": {
        "device": "simulator",
        "app": "ios"
      },
      "android": {
        "device": "emulator",
        "app": "android"
      },
      "android.local": {
        "device": "emulator.local",
        "app": "android"
      }
    }
  },
  "eslintConfig": {
    "root": true,
    "extends": [
      "@react-native-community",
      "prettier"
    ],
    "plugins": [
      "detox",
      "jest",
      "eslint-plugin-tsdoc"
    ],
    "env": {
      "jest/globals": true
    },
    "globals": {
      "JSX": true
    },
    "rules": {
      "prettier/prettier": [
        "error",
        {
          "quoteProps": "consistent",
          "singleQuote": true,
          "tabWidth": 2,
          "trailingComma": "es5",
          "useTabs": false
        }
      ],
      "tsdoc/syntax": "error"
    }
  },
  "eslintIgnore": [
    "node_modules/",
    "lib/",
    "website/"
  ],
  "prettier": {
    "quoteProps": "consistent",
    "singleQuote": true,
    "tabWidth": 2,
    "trailingComma": "es5",
    "useTabs": false
  },
  "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",
      "module",
      [
        "typescript",
        {
          "project": "tsconfig.build.json"
        }
      ]
    ]
  },
  "codegenConfig": {
    "libraries": [
      {
        "name": "rnaps",
        "type": "modules",
        "jsSrcsDir": "./src/turbomodules"
      }
    ]
  }
}
