UNPKG

@getalby/lightning-wallet-connect

Version:

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

74 lines (73 loc) 2.2 kB
{ "name": "@getalby/lightning-wallet-connect", "version": "1.0.14", "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:browser": "esbuild dist/index.modern.js --bundle --outfile=dist/index.browser.js", "build": "microbundle && yarn build:browser", "clean": "rm -rf dist", "dev": "yarn --cwd dev/vite dev", "dev:build": "microbundle watch", "dev:build:browser": "concurrently \"yarn dev:build\" \"yarn build:browser --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", "dependencies": { "@getalby/sdk": "^2.2.3", "lit": "^2.2.4", "zustand": "^4.4.1" }, "devDependencies": { "@open-wc/testing": "^3.1.5", "@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.1", "@web/test-runner": "^0.15.0", "@web/test-runner-playwright": "^0.9.0", "@webbtc/webln-types": "^2.0.0", "@webcomponents/webcomponentsjs": "^2.6.0", "concurrently": "^8.2.0", "esbuild": "^0.18.17", "eslint": "^8.15.0", "lit-analyzer": "^1.2.1", "microbundle": "^0.15.1", "prettier": "^2.6.2", "typescript": "~4.7.4", "vite": "^4.4.9" } }