UNPKG

@getalby/bitcoin-connect

Version:

Web components to connect to a lightning wallet and power a website with WebLN

81 lines (80 loc) 2.46 kB
{ "name": "@getalby/bitcoin-connect", "version": "3.12.3", "description": "Web components to connect to a lightning wallet and power a website with WebLN", "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", "exports": { "require": "./dist/index.cjs", "types": "./dist/index.d.ts", "default": "./dist/index.modern.js" }, "files": [ "dist/**/*" ], "scripts": { "prebuild": "yarn run clean", "prepack": "yarn run build", "build": "microbundle --no-sourcemap", "clean": "rm -rf dist", "dev": "yarn --cwd dev/vite dev --force", "dev:build": "microbundle watch", "lint": "npm run lint:lit-analyzer && npm run lint:eslint", "lint:eslint": "eslint 'src/**/*.ts'", "lint:lit-analyzer": "lit-analyzer", "format": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write", "test": "wtr", "dts": "dts-bundle-generator dist/index.d.ts -o dist/bundle.d.ts --external-imports=\"qrcode-generator @types/node @getalby/sdk\" --external-inlines=\"@webbtc/webln-types\" --no-check" }, "keywords": [ "lightning", "bitcoin", "alby", "wallet", "connect", "web-components", "lit-element", "typescript", "lit" ], "author": "Alby", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/getAlby/bitcoin-connect.git" }, "dependencies": { "@getalby/lightning-tools": "^8.1.1", "@getalby/sdk": "^8.0.3", "@lightninglabs/lnc-web": "^0.3.6-alpha", "qrcode-generator": "1.4.4", "zustand": "^5.0.13" }, "devDependencies": { "@open-wc/testing": "^3.2.2", "@twind/core": "^1.1.3", "@twind/preset-tailwind": "^1.1.4", "@twind/with-web-components": "^1.1.3", "@typescript-eslint/eslint-plugin": "^5.25.0", "@typescript-eslint/parser": "^5.25.0", "@web/dev-server-esbuild": "^0.4.4", "@web/test-runner": "^0.15.0", "@web/test-runner-playwright": "^0.9.0", "@webbtc/webln-types": "^2.1.0", "@webcomponents/webcomponentsjs": "^2.6.0", "concurrently": "^8.2.2", "dts-bundle-generator": "^9.5.1", "esbuild": "^0.25.12", "eslint": "^9.39.4", "lit": "^3.3.2", "lit-analyzer": "^1.2.1", "microbundle": "^0.15.1", "prettier": "^2.6.2", "typescript": "~4.7.4", "vite": "^7.3.3" } }