-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
72 lines (72 loc) · 2.18 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
{
"name": "@getalby/sdk",
"version": "3.9.0",
"description": "The SDK to integrate with Nostr Wallet Connect and the Alby API",
"repository": "https://github.com/getAlby/js-sdk.git",
"bugs": "https://github.com/getAlby/js-sdk/issues",
"funding": {
"type": "lightning",
"url": "lightning:[email protected]"
},
"type": "module",
"source": "src/index.ts",
"main": "./dist/index.umd.js",
"module": "./dist/index.module.js",
"unpkg": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*"
],
"exports": {
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"default": "./dist/index.modern.js"
},
"scripts": {
"prebuild": "yarn run clean",
"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|jsx)'",
"format:fix": "prettier --loglevel silent --write '**/*.(md|json)' 'src/**/*.(js|ts)' 'examples/**/*.(js|jsx)'",
"prepack": "yarn run build",
"test": "jest",
"clean": "rm -rf dist",
"build": "microbundle --no-sourcemap",
"dev": "microbundle watch",
"prepare": "husky install"
},
"dependencies": {
"emittery": "^1.0.3",
"nostr-tools": "2.9.4"
},
"devDependencies": {
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@getalby/lightning-tools": "^5.0.1",
"@types/jest": "^29.5.5",
"@types/node": "^20.8.6",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^6.3.0",
"@webbtc/webln-types": "^3.0.0",
"browserify": "^17.0.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.0.0",
"express": "^4.18.2",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.0.1",
"microbundle": "^0.15.1",
"prettier": "^3.0.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"websocket-polyfill": "^0.0.3"
},
"engines": {
"node": ">=14"
},
"author": "Alby contributors",
"license": "MIT"
}