{
  "name": "@getalby/sdk",
  "version": "2.4.0",
  "description": "The SDK to integrate with Nostr Wallet Connect and the Alby API",
  "repository": "https://github.com/getAlby/js-sdk.git",
  "bugs": "https://github.com/getAlby/js-sdk/issues",
  "funding": {
    "type": "lightning",
    "url": "lightning:hello@getalby.com"
  },
  "type": "module",
  "source": "src/index.ts",
  "main": "./dist/index.umd.js",
  "module": "./dist/index.module.js",
  "unpkg": "./dist/index.umd.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist/**/*"
  ],
  "exports": {
    "require": "./dist/index.cjs",
    "types": "./dist/index.d.ts",
    "default": "./dist/index.modern.js"
  },
  "scripts": {
    "prebuild": "yarn run clean",
    "lint": "yarn lint:js && yarn tsc:compile && yarn format:fix",
    "lint:js": "eslint src --ext .js,.ts --max-warnings 0",
    "lint:js:fix": "eslint src --ext .js,.ts --fix",
    "tsc:compile": "tsc --noEmit",
    "format": "prettier --check '**/*.(md|json)' 'src/**/*.(js|ts)' 'examples/**/*.(js|jsx)'",
    "format:fix": "prettier --loglevel silent --write '**/*.(md|json)' 'src/**/*.(js|ts)' 'examples/**/*.(js|jsx)'",
    "prepack": "yarn run build",
    "test": "jest",
    "clean": "rm -rf dist",
    "build:browser": "cp src/window.js dist && browserify dist/window.js > dist/index.browser.js",
    "build": "microbundle && yarn build:browser",
    "dev": "microbundle watch",
    "prepare": "husky install"
  },
  "dependencies": {
    "crypto-js": "^4.1.1",
    "nostr-tools": "1.13.1",
    "events": "^3.3.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^17.7.1",
    "@commitlint/config-conventional": "^17.7.0",
    "@types/crypto-js": "^4.1.1",
    "@types/jest": "^29.4.0",
    "@types/node": "^18.11.0",
    "@typescript-eslint/eslint-plugin": "^6.3.0",
    "@typescript-eslint/parser": "^6.3.0",
    "@webbtc/webln-types": "^2.0.1",
    "browserify": "^17.0.0",
    "eslint": "^8.46.0",
    "eslint-config-prettier": "^9.0.0",
    "express": "^4.18.2",
    "husky": "^8.0.3",
    "jest": "^29.5.0",
    "lint-staged": "^13.2.3",
    "microbundle": "^0.15.1",
    "prettier": "^3.0.1",
    "ts-jest": "^29.0.5",
    "ts-node": "^10.9.1",
    "typescript": "^5.1.6",
    "websocket-polyfill": "^0.0.3"
  },
  "engines": {
    "node": ">=14"
  },
  "author": "Alby contributors",
  "license": "MIT"
}
