UNPKG

@getalby/bitcoin-connect

Version:

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

79 lines (78 loc) 2.23 kB
{ "name": "@getalby/bitcoin-connect", "version": "3.8.0", "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" }, "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": "^5.1.2", "@getalby/sdk": "^4.1.1", "@lightninglabs/lnc-web": "^0.3.2-alpha", "qrcode-generator": "^1.4.4", "zustand": "^4.5.6" }, "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", "esbuild": "^0.25.2", "eslint": "^8.57.1", "lit": "^3.3.0", "lit-analyzer": "^1.2.1", "microbundle": "^0.15.1", "prettier": "^2.6.2", "typescript": "~4.7.4", "vite": "^4.5.14" } }