{
  "name": "@dfinity/oisy-wallet-signer",
  "version": "0.1.8",
  "description": "A library designed to facilitate communication between a dApp and the OISY Wallet on the Internet Computer. ",
  "license": "Apache-2.0",
  "type": "module",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/dfinity/oisy-wallet-signer.git"
  },
  "bugs": {
    "url": "https://github.com/dfinity/oisy-wallet-signer"
  },
  "files": [
    "README.md",
    "LICENSE",
    "**/*.js",
    "**/*.js.map",
    "**/*.d.ts",
    "**/*.d.ts.map"
  ],
  "keywords": [
    "internet computer",
    "internet-computer",
    "ic",
    "icp",
    "dfinity",
    "internet-identity",
    "wallet"
  ],
  "sideEffects": false,
  "main": "index.js",
  "module": "index.js",
  "types": "index.d.ts",
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "import": "./index.js",
      "require": "./index.mjs"
    },
    "./relying-party": {
      "types": "./relying-party.d.ts",
      "import": "./relying-party.js",
      "require": "./relying-party.mjs"
    },
    "./icp-wallet": {
      "types": "./icp-wallet.d.ts",
      "import": "./icp-wallet.js",
      "require": "./icp-wallet.mjs"
    },
    "./icrc-wallet": {
      "types": "./icrc-wallet.d.ts",
      "import": "./icrc-wallet.js",
      "require": "./icrc-wallet.mjs"
    },
    "./signer": {
      "types": "./signer.d.ts",
      "import": "./signer.js",
      "require": "./signer.mjs"
    }
  },
  "scripts": {
    "format": "prettier . --write",
    "format:check": "prettier --check .",
    "ts-declaration": "tsc --emitDeclarationOnly --outDir dist && ./scripts/copy-idl-ts",
    "build": "tsc --noEmit && node rmdir.mjs && node esbuild.mjs && npm run ts-declaration",
    "lint": "eslint --max-warnings 0 \"src/**/*\"",
    "test": "tsc --noEmit -p ./tsconfig.spec.json && vitest",
    "e2e": "NODE_ENV=development playwright test",
    "e2e:snapshots": "NODE_ENV=development playwright test --update-snapshots --reporter=list",
    "e2e:ci": "playwright test --reporter=html",
    "e2e:ci:snapshots": "playwright test --update-snapshots --reporter=html",
    "did": "./scripts/download-did && ./scripts/compile-idl-js",
    "prepublishOnly": "if [ $(basename $PWD) != 'dist' ]; then echo 'Publishing is only allowed from the dist directory.' && exit 1; fi",
    "i18n": "node scripts/i18n.mjs && prettier --write ./src/types/i18n.ts"
  },
  "devDependencies": {
    "@dfinity/eslint-config-oisy-wallet": "^0.1.2",
    "@dfinity/identity": "^2.4.0",
    "@dfinity/internet-identity-playwright": "^0.0.5",
    "@playwright/test": "^1.51.1",
    "@types/jest": "^29.5.14",
    "@types/node": "^22.13.13",
    "esbuild": "^0.25.1",
    "jsdom": "^26.0.0",
    "prettier": "^3.5.3",
    "prettier-plugin-organize-imports": "^4.1.0",
    "typescript": "^5.4.5",
    "vitest": "^3.0.9"
  },
  "engines": {
    "node": ">=22"
  },
  "peerDependencies": {
    "@dfinity/agent": "^2.4.0",
    "@dfinity/candid": "^2.4.0",
    "@dfinity/ledger-icp": "^2",
    "@dfinity/ledger-icrc": "^2",
    "@dfinity/principal": "^2.4.0",
    "@dfinity/utils": "^2",
    "@dfinity/zod-schemas": "*",
    "borc": "^2.1.1",
    "simple-cbor": "^0.4.1",
    "zod": "^3.23.8"
  }
}
