-
Notifications
You must be signed in to change notification settings - Fork 80
/
package.json
138 lines (138 loc) · 4.33 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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "@lifi/sdk",
"version": "3.4.4",
"description": "LI.FI Any-to-Any Cross-Chain-Swap SDK",
"keywords": [
"bridge",
"bridge-aggregation",
"cross-chain",
"cross-chain-applications",
"cross-chain-bridge",
"dapp",
"defi",
"ethereum",
"ethers",
"lifi",
"metamask",
"multi-chain",
"sdk",
"swap",
"viem",
"wagmi",
"web3",
"web3-react"
],
"homepage": "https://github.com/lifinance/sdk",
"bugs": {
"url": "https://github.com/lifinance/sdk/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/lifinance/sdk.git"
},
"license": "Apache-2.0",
"author": "LI.FI <[email protected]>",
"type": "module",
"exports": {
".": {
"types": "./src/_types/index.d.ts",
"import": "./src/_esm/index.js",
"default": "./src/_cjs/index.js"
},
"./package.json": "./package.json"
},
"main": "./src/_cjs/index.js",
"module": "./src/_esm/index.js",
"types": "./src/_types/index.d.ts",
"typings": "./src/_types/index.d.ts",
"sideEffects": false,
"directories": {
"test": "tests"
},
"files": [
"src",
"!src/**/*.test.ts",
"!src/**/*.mock.ts",
"!src/**/*.spec.ts",
"!src/**/*.handlers.ts",
"!src/**/*.tsbuildinfo"
],
"scripts": {
"build": "pnpm clean && pnpm build:cjs && pnpm build:esm && pnpm build:types",
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./src/_cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./src/_cjs/package.json",
"build:esm": "tsc --project ./tsconfig.build.json --module es2015 --outDir ./src/_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./src/_esm/package.json",
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./src/_types --emitDeclarationOnly --declaration --declarationMap",
"clean": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo src/tsconfig.build.tsbuildinfo src/_esm src/_cjs src/_types",
"coverage": "vitest run --coverage",
"postinstall": "husky",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"package": "npm run build && npm pack",
"pre-commit": "lint-staged",
"pre-push": "pnpm check:types && pnpm check:circular-deps && pnpm test:unit",
"prepublishOnly": "pnpm node scripts/prepublishOnly.js",
"release": "standard-version -a",
"release:alpha": "standard-version -a --prerelease alpha --skip.changelog",
"release:beta": "standard-version -a --prerelease beta --skip.changelog",
"test": "vitest --run --dangerouslyIgnoreUnhandledErrors",
"test:cov": "pnpm test --coverage",
"test:unit": "pnpm test .unit.spec.ts",
"check": "biome check ./src",
"check:write": "biome check --write ./src",
"check:write:unsafe": "biome check --write --unsafe ./src",
"check:types": "tsc --noEmit",
"check:circular-deps": "madge --circular $(find ./src -name '*.ts')",
"check:circular-deps-graph": "madge --circular $(find ./src -name '*.ts') --image graph.svg",
"watch": "tsc -w -p ./tsconfig.json",
"prepare": "husky"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"pnpm check:write"
]
},
"dependencies": {
"@bigmi/core": "^0.0.7",
"@lifi/types": "^16.5.0",
"@noble/curves": "^1.7.0",
"@noble/hashes": "^1.6.1",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/web3.js": "^1.98.0",
"bech32": "^2.0.0",
"bitcoinjs-lib": "^7.0.0-rc.0",
"bs58": "^6.0.0",
"viem": "^2.21.55"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@types/fs-extra": "^11.0.4",
"@types/ws": "^8.5.13",
"@vitest/coverage-v8": "^2.1.8",
"fs-extra": "^11.2.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"madge": "^8.0.0",
"msw": "^2.7.0",
"pinst": "^3.0.0",
"standard-version": "^9.5.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"peerDependencies": {
"@solana/wallet-adapter-base": "^0.9.0",
"@solana/web3.js": "^1.98.0",
"viem": "^2.21.0"
},
"publishConfig": {
"access": "public"
},
"standard-version": {
"scripts": {
"postbump": "node scripts/version.js && git add ."
}
},
"packageManager": "[email protected]"
}