forked from floxxih/ChainBridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.79 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 1.79 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
{
"name": "@chainbridge/sdk",
"version": "0.1.0",
"description": "Official TypeScript/JavaScript SDK for ChainBridge cross-chain atomic swaps",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./wallets": {
"types": "./dist/wallets/index.d.ts",
"import": "./dist/wallets/index.mjs",
"require": "./dist/wallets/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup src/index.ts src/wallets/index.ts --format esm,cjs --dts --clean",
"test": "jest",
"lint": "eslint src --ext .ts",
"format": "prettier --write src",
"prepublishOnly": "npm run build"
},
"keywords": [
"chainbridge",
"atomic-swap",
"htlc",
"stellar",
"bitcoin",
"ethereum",
"cross-chain"
],
"author": "ChainBridge Contributors",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/floxxih/ChainBridge.git",
"directory": "sdks/typescript"
},
"homepage": "https://github.com/floxxih/ChainBridge/tree/master/sdks/typescript#readme",
"bugs": "https://github.com/floxxih/ChainBridge/issues",
"engines": {
"node": ">=18"
},
"dependencies": {
"cross-fetch": "^4.0.0",
"isomorphic-ws": "^5.0.0",
"ws": "^8.16.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.10.0",
"@types/ws": "^8.5.10",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"tsup": "^8.0.1",
"typescript": "^5.3.3"
},
"peerDependenciesMeta": {
"@stellar/stellar-sdk": { "optional": true },
"ethers": { "optional": true },
"bitcoinjs-lib": { "optional": true }
}
}