{
  "name": "typephone",
  "version": "0.1.2",
  "description": "Typephone — turn your Mac into a BLE HID keyboard for iPhone/iPad",
  "author": "Vic Zhang",
  "license": "MIT",
  "keywords": [
    "macos",
    "bluetooth",
    "ble",
    "hid",
    "keyboard",
    "iphone",
    "ipad",
    "electron"
  ],
  "homepage": "https://github.com/VicZhang6/Typephone#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/VicZhang6/Typephone.git"
  },
  "bugs": {
    "url": "https://github.com/VicZhang6/Typephone/issues"
  },
  "main": "electron/main.js",
  "bin": {
    "typephone": "bin/typephone.js"
  },
  "files": [
    "bin/",
    "electron/",
    "vendor/MacInput.app/",
    "version.json",
    "LICENSE",
    "NOTICE",
    "README.md"
  ],
  "engines": {
    "node": ">=20"
  },
  "os": [
    "darwin"
  ],
  "cpu": [
    "arm64"
  ],
  "scripts": {
    "version:stamp": "node scripts/version.js stamp",
    "version:bump-build": "node scripts/version.js bump-build",
    "version:release": "node scripts/version.js release",
    "version:print": "node scripts/version.js print",
    "predev": "node scripts/version.js stamp",
    "prestart": "node scripts/version.js stamp",
    "predist:dir": "node scripts/version.js stamp",
    "build:native": "xcodegen generate && xcodebuild -project MacInput.xcodeproj -scheme MacInput -configuration Debug -sdk macosx -derivedDataPath /tmp/MacInputDerived CODE_SIGNING_ALLOWED=NO build",
    "build:native:release": "xcodegen generate && xcodebuild -project MacInput.xcodeproj -scheme MacInput -configuration Release -sdk macosx -derivedDataPath build/native CODE_SIGNING_ALLOWED=NO build",
    "test:native": "xcodegen generate && xcodebuild -project MacInput.xcodeproj -scheme MacInputTests -configuration Debug -sdk macosx -derivedDataPath /tmp/MacInputDerived CODE_SIGNING_ALLOWED=NO test",
    "check:js": "node --check electron/main.js && node --check electron/preload.js && node --check electron/renderer/app.js && node --check electron/shared/i18n.js && node --check electron/shared/connection-state.js && node --check electron/shared/control-protocol.js && node --check electron/shared/version.js && node --check scripts/version.js && node --check bin/typephone.js && node --check bin/install-macos-app.js && node --check bin/macos-codesign.js && node --check scripts/prepare-npm-package.js && node --test TestsJS/*.test.js",
    "postinstall": "node bin/install-macos-app.js install",
    "start:native": "open /tmp/MacInputDerived/Build/Products/Debug/MacInput.app",
    "start": "electron electron/main.js",
    "dev": "npm run build:native && electron electron/main.js",
    "dist:dir": "npm run build:native:release && CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --mac dir",
    "prepare:npm": "node scripts/prepare-npm-package.js",
    "prepublishOnly": "npm run prepare:npm && npm run check:js",
    "publish:npm": "npm publish --access public"
  },
  "dependencies": {
    "electron": "^43.1.1"
  },
  "devDependencies": {
    "electron-builder": "^26.0.12",
    "heroicons": "^2.2.0"
  },
  "build": {
    "appId": "com.viczhang.typephone.electron",
    "productName": "Typephone",
    "buildVersion": "3",
    "files": [
      "electron/**/*",
      "package.json",
      "version.json"
    ],
    "extraMetadata": {
      "name": "typephone"
    },
    "extraResources": [
      {
        "from": "build/native/Build/Products/Release/MacInput.app",
        "to": "native/MacInput.app"
      }
    ],
    "mac": {
      "category": "public.app-category.utilities",
      "minimumSystemVersion": "13.0",
      "target": [
        "dir"
      ],
      "icon": "electron/assets/app-icon.icns",
      "hardenedRuntime": false
    }
  }
}
