{
  "name": "@getalby/lightning-tools",
  "version": "5.2.0",
  "description": "Collection of helpful building blocks and tools to develop Bitcoin Lightning web apps",
  "type": "module",
  "source": "src/index.ts",
  "main": "./dist/index.cjs",
  "module": "./dist/index.module.js",
  "unpkg": "./dist/index.umd.js",
  "types": "./dist/index.d.ts",
  "repository": "https://github.com/getAlby/js-lightning-tools.git",
  "bugs": "https://github.com/getAlby/js-lightning-tools/issues",
  "funding": {
    "type": "lightning",
    "url": "lightning:hello@getalby.com"
  },
  "files": [
    "dist/**/*"
  ],
  "keywords": [
    "lightning",
    "bitcoin",
    "alby"
  ],
  "exports": {
    "require": "./dist/index.cjs",
    "types": "./dist/index.d.ts",
    "default": "./dist/index.modern.js"
  },
  "scripts": {
    "prebuild": "yarn run clean",
    "prepack": "yarn run build",
    "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'",
    "format:fix": "prettier --loglevel silent --write '**/*.(md|json)' 'src/**/*.(js|ts)' 'examples/**/*.js'",
    "test": "jest",
    "clean": "rm -rf dist",
    "build": "microbundle --no-sourcemap",
    "dev": "microbundle watch",
    "prepare": "husky"
  },
  "dependencies": {},
  "devDependencies": {
    "@commitlint/cli": "^19.8.1",
    "@commitlint/config-conventional": "^19.8.1",
    "@types/jest": "^29.5.14",
    "@types/node": "^22.15.21",
    "@typescript-eslint/eslint-plugin": "^6.21.0",
    "@typescript-eslint/parser": "^6.21.0",
    "@webbtc/webln-types": "^3.0.0",
    "eslint": "^8.47.0",
    "eslint-config-prettier": "^10.1.5",
    "husky": "^9.1.7",
    "jest": "^29.7.0",
    "jest-fetch-mock": "^3.0.3",
    "light-bolt11-decoder": "^3.2.0",
    "lint-staged": "^16.0.0",
    "microbundle": "^0.15.1",
    "nostr-tools": "^2.13.0",
    "prettier": "^3.5.3",
    "ts-jest": "^29.3.4",
    "ts-node": "^10.9.2",
    "typescript": "^5.8.3"
  },
  "engines": {
    "node": ">=14"
  },
  "author": "Alby contributors",
  "license": "MIT"
}
