{
  "name": "@kingstinct/react-native-healthkit",
  "version": "14.0.1",
  "description": "React Native bindings for HealthKit",
  "main": "lib/commonjs/index.js",
  "module": "lib/module/index.js",
  "types": "lib/typescript/index.d.ts",
  "react-native": "src/index.ts",
  "source": "src/index.ts",
  "exports": {
    ".": {
      "types": "./lib/typescript/index.d.ts",
      "import": "./lib/module/index.js",
      "require": "./lib/commonjs/index.js",
      "react-native": "./src/index.ts"
    },
    "./types": {
      "types": "./lib/typescript/types/index.d.ts",
      "import": "./lib/module/types/index.js",
      "require": "./lib/commonjs/types/index.js",
      "react-native": "./src/types/index.ts"
    },
    "./modules": {
      "types": "./lib/typescript/modules.d.ts",
      "import": "./lib/module/modules.js",
      "require": "./lib/commonjs/modules.js",
      "react-native": "./src/modules.ts"
    },
    "./app.plugin.js": "./app.plugin.js",
    "./package.json": "./package.json"
  },
  "files": [
    "src",
    "react-native.config.js",
    "lib/commonjs",
    "lib/module",
    "lib/typescript",
    "nitrogen/**/*",
    "android/build.gradle",
    "android/gradle.properties",
    "android/CMakeLists.txt",
    "android/src",
    "ios/**/*.h",
    "ios/**/*.m",
    "ios/**/*.mm",
    "ios/**/*.cpp",
    "ios/**/*.swift",
    "ios/**/*.modulemap",
    "app.plugin.ts",
    "app.plugin.js",
    "*.podspec",
    "README.md"
  ],
  "scripts": {
    "generate:healthkit": "bun ./scripts/generate-healthkit-cli.ts",
    "verify:healthkit-sdk": "bun ./scripts/verify-healthkit-sdk.ts",
    "clean": "rm -rf lib",
    "build:cjs": "tsc -p tsconfig.cjs.json",
    "build:esm": "tsc -p tsconfig.esm.json",
    "build:types": "tsc -p tsconfig.declarations.json",
    "build": "bun run clean && bun run build:cjs && bun run build:esm && bun run build:types",
    "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.type-tests.json",
    "lint": "bunx @biomejs/biome format --write",
    "check:generated": "bun run generate:healthkit && bun run verify:healthkit-sdk && git diff --exit-code -- src/generated/healthkit.generated.ts src/generated/healthkit-schema.json ../../apps/example/contracts/generated ios/generated",
    "codegen": "bun run build && nitrogen --logLevel=\"debug\" && perl -i -pe 's/Bool\\(fromCxx: cachedCxxPart\\)/cachedCxxPart.use_count() > 0/g' nitrogen/generated/ios/swift/*Spec_cxx.swift",
    "test": "bun test",
    "prepublishOnly": "bun run build && bun run codegen"
  },
  "keywords": [
    "react-native",
    "nitro",
    "healthkit",
    "ios",
    "typescript"
  ],
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/kingstinct"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/kingstinct/react-native-healthkit.git"
  },
  "author": "Robert Herber <robert@kingstinct.com> (https://github.com/robertherber)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/kingstinct/react-native-healthkit/issues"
  },
  "homepage": "https://github.com/kingstinct/react-native-healthkit#readme",
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public"
  },
  "devDependencies": {
    "@testing-library/react-native": "^13.3.3",
    "@types/react": "~19.1.17",
    "nitrogen": "^0.35.0",
    "react": "19.1.0",
    "react-native": "0.81.5",
    "react-native-nitro-modules": "^0.35.0",
    "typescript": "~5.9.3"
  },
  "peerDependencies": {
    "react": ">=19",
    "react-native": ">=0.79",
    "react-native-nitro-modules": ">=0.35"
  }
}
