{
  "name": "win-hello",
  "version": "1.1.1",
  "description": "Windows Hello authentication for Node.js",
  "main": "index.js",
  "module": "index.mjs",
  "types": "index.d.ts",
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "import": "./index.mjs",
      "require": "./index.js",
      "default": "./index.js"
    }
  },
  "type": "commonjs",
  "scripts": {
    "test": "node test.js",
    "test:electron": "electron electron-test.js",
    "build": "node-gyp rebuild && npm run copy-binary",
    "build:debug": "node-gyp rebuild --debug && npm run copy-binary",
    "clean": "node-gyp clean",
    "prebuild": "node-gyp rebuild && npm run copy-binary",
    "prebuild:ia32": "node-gyp rebuild --arch=ia32 && npm run copy-binary",
    "prebuild:x64": "node-gyp rebuild --arch=x64 && npm run copy-binary",
    "copy-binary": "node -e \"const fs=require('fs'); const path=require('path'); const source=path.join(__dirname,'build','Release','win_hello.node'); const dest=path.join(__dirname,'win_hello.node'); try{fs.copyFileSync(source,dest); console.log('Binary copied to root directory')}catch(e){console.error('Error copying binary:',e.message);}\"",
    "prepublishOnly": "npm run build",
    "release": "npm run build && npm version patch && git push && git push --tags && npm publish",
    "release:minor": "npm run build && npm version minor && git push && git push --tags && npm publish",
    "release:major": "npm run build && npm version major && git push && git push --tags && npm publish",
    "electron:pack": "electron-builder --dir",
    "electron:dist": "electron-builder",
    "electron:win": "electron-builder --win --x64",
    "electron:win32": "electron-builder --win --ia32",
    "electron:win-nsis": "electron-builder --win nsis",
    "sign-and-build": "node sign-and-build.js",
    "build:no-sign": "node build-without-sign.js",
    "build:simple": "node simple-build.js",
    "sign:self": "node create-and-sign.js"
  },
  "keywords": [
    "windows",
    "hello",
    "authentication",
    "biometric"
  ],
  "author": "",
  "license": "MIT",
  "dependencies": {
    "node-addon-api": "^5.0.0"
  },
  "devDependencies": {
    "electron": "^29.0.0",
    "electron-builder": "^24.9.0",
    "node-gyp": "^9.3.1"
  },
  "files": [
    "index.js",
    "index.mjs",
    "index.d.ts",
    "LICENSE",
    "win_hello.node"
  ],
  "build": {
    "appId": "com.winhello.app",
    "productName": "Windows Hello Demo",
    "directories": {
      "output": "dist"
    },
    "forceCodeSigning": false,
    "files": [
      "electron-test.js",
      "electron-preload.js",
      "electron-test.html",
      "index.js",
      "win_hello.node",
      "LICENSE",
      "custom-sign.js"
    ],
    "win": {
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64"
          ]
        }
      ],
      "signDlls": false,
      "signAndEditExecutable": false,
      "publisherName": "Windows Hello Demo Publisher"
    },
    "nsis": {
      "oneClick": false,
      "allowToChangeInstallationDirectory": true,
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "shortcutName": "Windows Hello Demo",
      "artifactName": "${productName}-Setup-${version}.${ext}"
    }
  }
}
