-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.38 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 3.38 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "@flashnet/sdk",
"version": "0.5.8",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./auth": {
"types": "./dist/esm/src/utils/auth.d.ts",
"import": "./dist/esm/src/utils/auth.js",
"require": "./dist/cjs/src/utils/auth.js"
},
"./utils": {
"types": "./dist/esm/src/utils/index.d.ts",
"import": "./dist/esm/src/utils/index.js",
"require": "./dist/cjs/src/utils/index.js"
},
"./api": {
"types": "./dist/esm/src/api/client.d.ts",
"import": "./dist/esm/src/api/client.js",
"require": "./dist/cjs/src/api/client.js"
},
"./types": {
"types": "./dist/esm/src/types/index.d.ts",
"import": "./dist/esm/src/types/index.js",
"require": "./dist/cjs/src/types/index.js"
},
"./config": {
"types": "./dist/esm/src/config/index.d.ts",
"import": "./dist/esm/src/config/index.js",
"require": "./dist/cjs/src/config/index.js"
},
"./client": {
"types": "./dist/esm/src/client/FlashnetClient.d.ts",
"import": "./dist/esm/src/client/FlashnetClient.js",
"require": "./dist/cjs/src/client/FlashnetClient.js"
}
},
"files": [
"dist"
],
"scripts": {
"prebuild": "rm -rf dist",
"build": "npm run type-check && rollup -c",
"dev": "rollup -c -w",
"test": "npx jest && npm run test:esm && npm run test:cjs && npm run test:bun && npm run test:modular",
"test:jest": "npx jest",
"test:esm": "node tests/test-esm.mjs",
"test:cjs": "node tests/test-cjs.cjs",
"test:bun": "bun tests/test-bun.js",
"test:modular": "node tests/test-modular.mjs",
"test:e2e": "npx tsx tests/e2e.ts",
"test:e2e:v3": "npx tsx tests/e2e-concentrated-liquidity-sdk.ts",
"test:e2e:all": "npm run test:e2e && npm run test:e2e:v3 && npm run test:e2e:lightning",
"test:e2e:lightning": "npx tsx tests/e2e-lightning-pools.ts",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"check": "biome check --write --unsafe .",
"type-check": "tsc --noEmit"
},
"devDependencies": {
"@biomejs/biome": "2.0.5",
"@buildonspark/issuer-sdk": "^0.1.32",
"@buildonspark/spark-sdk": "^0.7.14",
"@rollup/plugin-typescript": "^12.1.4",
"@types/bun": "latest",
"@types/jest": "^30.0.0",
"@types/node": "^20.19.7",
"bun": "^1.2.21",
"jest": "^30.1.2",
"rollup": "^4.45.0",
"ts-jest": "^29.4.1",
"tslib": "^2.8.1",
"typescript": "^5.8.3"
},
"peerDependencies": {
"@buildonspark/issuer-sdk": "latest",
"@buildonspark/spark-sdk": "latest",
"react-native-get-random-values": ">=1.11.0",
"typescript": "^5"
},
"peerDependenciesMeta": {
"@buildonspark/spark-sdk": {
"optional": true
},
"@buildonspark/issuer-sdk": {
"optional": true
},
"react-native-get-random-values": {
"optional": true
}
},
"dependencies": {
"bech32": "^2.0.0",
"fast-sha256": "1.3.0",
"light-bolt11-decoder": "^3.2.0"
},
"repository": {
"type": "git",
"url": "https://github.com/flashnetxyz/ts-sdk.git"
},
"author": "",
"license": "MIT",
"description": "Flashnet SDK for Spark wallet operations and AMM interactions"
}