{
  "name": "agora-electron-sdk",
  "version": "4.6.2",
  "description": "agora-electron-sdk",
  "main": "js/AgoraSdk",
  "types": "types/AgoraSdk.d.ts",
  "source": "ts/AgoraSdk",
  "files": [
    "js",
    "ts",
    "types",
    "scripts",
    "!scripts/terra",
    "!scripts/publishCN",
    "!scripts/internal",
    "gulpfile.js",
    "CHANGELOG.md",
    "!**/__tests__"
  ],
  "scripts": {
    "postinstall": "npm run checkElectron",
    "totalBuild": "cross-env-shell gulp totalBuild \\\"--INIT_CWD=$INIT_CWD\\\"",
    "build": "cross-env-shell gulp build \\\"--INIT_CWD=$INIT_CWD\\\"",
    "clean": "cross-env-shell gulp clean \\\"--INIT_CWD=$INIT_CWD\\\"",
    "checkElectron": "cross-env-shell gulp checkElectron \\\"--INIT_CWD=$INIT_CWD\\\"",
    "syncLib": "cross-env-shell gulp syncLib \\\"--INIT_CWD=$INIT_CWD\\\"",
    "buildJS": "cross-env-shell gulp buildJS \\\"--INIT_CWD=$INIT_CWD\\\"",
    "zipBuild": "cross-env-shell gulp zipBuild \\\"--INIT_CWD=$INIT_CWD\\\"",
    "prepack": "cross-env-shell npm run buildJS \\\"--INIT_CWD=$INIT_CWD\\\"",
    "build_mac_debug": "cmake-js rebuild --CDCMAKE_BUILD_TYPE=Debug --CDCMAKE_OSX_ARCHITECTURES=\"arm64;x86_64\" -G Xcode",
    "build_mac_release": "cmake-js rebuild --CDCMAKE_BUILD_TYPE=Release --CDCMAKE_OSX_ARCHITECTURES=\"arm64;x86_64\" -G Xcode",
    "build_windows_win32_debug": "cmake-js rebuild --arch=ia32 --CDCMAKE_OSX_ARCHITECTURES=\"i386\" --CDCMAKE_BUILD_TYPE=Debug -G \"Visual Studio 16 2019\" ",
    "build_windows_win32_release": "cmake-js rebuild --arch=ia32 --CDCMAKE_OSX_ARCHITECTURES=\"i386\" --CDCMAKE_BUILD_TYPE=Release",
    "build_windows_x64_debug": "cmake-js rebuild --arch=x64 --CDCMAKE_OSX_ARCHITECTURES=\"x86_64\" --CDCMAKE_BUILD_TYPE=Debug -G \"Visual Studio 16 2019\"",
    "build_windows_x64_release": "cmake-js rebuild --arch=x64 --CDCMAKE_OSX_ARCHITECTURES=\"x86_64\" --CDCMAKE_BUILD_TYPE=Release",
    "build_linux_debug": "cmake-js rebuild --arch=x64 --CDCMAKE_BUILD_TYPE=Debug -G \"Unix Makefiles\"",
    "build_linux_release": "cmake-js rebuild --arch=x64 --CDCMAKE_BUILD_TYPE=Release -G \"Unix Makefiles\"",
    "test": "jest",
    "typecheck": "tsc --noEmit",
    "lint": "eslint \"**/*.{js,ts,tsx}\"",
    "install": "cross-env-shell gulp NPM_Install \\\"--INIT_CWD=$INIT_CWD\\\"",
    "release": "release-it",
    "example": "yarn --cwd example",
    "example:prepare": "yarn example && cross-env-shell gulp checkElectron \\\"--INIT_CWD=$INIT_CWD/example\\\" \"--electron_path=$INIT_CWD/example/node_modules/electron/dist\"",
    "bootstrap": "yarn config set agora-electron-sdk-pre-built 0 && yarn example && yarn install && yarn patch-package && yarn build:ts-interface && yarn totalBuild && yarn link && yarn example link agora-electron-sdk && yarn config delete agora-electron-sdk-pre-built && yarn example:prepare",
    "build:ts-interface": "ts-interface-builder ts/Private/*.ts -o ts/Private/ti/"
  },
  "keywords": [
    "electron",
    "windows",
    "mac"
  ],
  "repository": "https://github.com/AgoraIO-Extensions/Electron-SDK",
  "author": "Agora.io",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/AgoraIO-Extensions/Electron-SDK/issues"
  },
  "homepage": "https://github.com/AgoraIO-Extensions/Electron-SDK#readme",
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "devDependencies": {
    "@babel/preset-env": "^7.21.5",
    "@babel/preset-typescript": "^7.21.5",
    "@commitlint/config-conventional": "^17.0.2",
    "@evilmartians/lefthook": "^1.2.2",
    "@release-it/conventional-changelog": "^5.0.0",
    "@types/dom-webcodecs": "^0.1.11",
    "@types/node": "^22.8.2",
    "@types/jest": "^28.1.2",
    "@types/json-bigint": "^1.0.1",
    "@types/lodash.isequal": "^4.5.6",
    "@typescript-eslint/eslint-plugin": "^5.30.5",
    "@typescript-eslint/parser": "^5.30.5",
    "cmake-js": "6.3.2",
    "commitlint": "^17.0.2",
    "eslint": "^8.4.1",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-auto-import": "^0.1.1",
    "eslint-plugin-import": "^2.27.5",
    "eslint-plugin-jest": "^26.9.0",
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-react": "^7.30.1",
    "eslint-plugin-react-hooks": "^4.6.0",
    "gulp-zip": "^5.1.0",
    "jest": "^28.1.1",
    "patch-package": "^6.5.0",
    "prettier": "^2.0.5",
    "release-it": "^15.0.0",
    "ts-interface-builder": "^0.3.3",
    "typescript": "^4.5.2"
  },
  "engines": {
    "node": ">= 14.0.0"
  },
  "jest": {
    "setupFilesAfterEnv": [
      "<rootDir>/ts/__tests__/setup.ts"
    ],
    "modulePathIgnorePatterns": [
      "<rootDir>/ts/__tests__/setup.ts",
      "<rootDir>/example/node_modules",
      "<rootDir>/js/",
      "<rootDir>/types/"
    ]
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "release-it": {
    "git": {
      "commitMessage": "chore: release ${version}",
      "tagName": "v${version}"
    },
    "npm": {
      "publish": true,
      "skipChecks": true
    },
    "github": {
      "release": true
    },
    "plugins": {
      "@release-it/conventional-changelog": {
        "preset": "angular",
        "infile": "CHANGELOG.md"
      }
    }
  },
  "dependencies": {
    "buffer": "^6.0.3",
    "cross-env": "^7.0.3",
    "node-fetch": "^2.7.0",
    "extract-zip": "^2.0.1",
    "eventemitter3": "^5.0.1",
    "fs-extra": "^11.1.1",
    "gulp": "^5.0.0",
    "json-bigint": "^1.0.0",
    "jsonfile": "^6.1.0",
    "lodash.isequal": "^4.5.0",
    "minimist": "^1.2.8",
    "shelljs": "^0.8.5",
    "semver": "^7.6.0",
    "ts-interface-checker": "^1.0.2",
    "winston": "^3.11.0",
    "yuv-buffer": "1.0.0",
    "yuv-canvas": "1.2.6",
    "archive-type": "^4.0.0",
    "content-disposition": "^0.5.2",
    "decompress": "^4.2.1",
    "ext-name": "^5.0.0",
    "file-type": "^11.1.0",
    "filenamify": "^3.0.0",
    "get-stream": "^4.1.0",
    "got": "^11.8.5",
    "make-dir": "^4.0.0",
    "p-event": "^2.1.0",
    "pify": "^4.0.1"
  },
  "agora_electron": {
    "iris_sdk_win": "https://download.agora.io/sdk/release/iris_4.6.2-build.1_DCG_Windows_Video_Standalone_20260212_0947_31926.zip",
    "iris_sdk_mac": "https://download.agora.io/sdk/release/iris_4.6.2-build.1_DCG_Mac_Video_Standalone_20260212_0944_32863.zip",
    "native_sdk_win": "https://download.agora.io/sdk/release/Agora_Native_SDK_for_Windows_rel.v4.6.2.70_31618_FULL_20260211_1724_1009714.zip",
    "native_sdk_mac": "https://download.agora.io/sdk/release/Agora_Native_SDK_for_Mac_rel.v4.6.2.70_26928_FULL_20260211_1723_1009712.zip"
  }
}
