forked from getAlby/js-lightning-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.36 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@getalby/lightning-tools",
"version": "4.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:[email protected]"
},
"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'",
"build:browser": "cp src/window.js dist && browserify dist/window.js > dist/index.browser.js",
"test": "jest",
"clean": "rm -rf dist",
"build": "microbundle && yarn build:browser",
"dev": "microbundle watch",
"prepare": "husky install"
},
"dependencies": {
"crypto-js": "^4.1.1",
"light-bolt11-decoder": "^3.0.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": "^20.8.2",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"@webbtc/webln-types": "^2.1.0",
"browserify": "^17.0.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^14.0.0",
"microbundle": "^0.15.1",
"nostr-tools": "^1.17.0",
"prettier": "^3.0.2",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"engines": {
"node": ">=14"
},
"author": "Alby contributors",
"license": "MIT"
}