forked from lifinance/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 4.41 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
{
"name": "@lifi/sdk",
"version": "3.0.0-alpha.59",
"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": "yarn clean && yarn build:cjs && yarn build:esm && yarn 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",
"lint": "eslint --ext .tsx --ext .ts ./src",
"lint:fix": "eslint --ext .tsx --ext .ts ./src --fix",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"package": "npm run build && npm pack",
"pre-commit": "lint-staged",
"pre-push": "yarn check:types && yarn check:circular-deps && yarn test:unit",
"prepublishOnly": "yarn node scripts/prepublishOnly.js",
"prettier:fix": "prettier --write ./src/.",
"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": "yarn test --coverage",
"test:e2e": "yarn test -c vitest.e2e.config.ts",
"test:unit": "yarn test .unit.spec.ts",
"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}": [
"yarn run lint:fix",
"yarn run prettier:fix"
]
},
"dependencies": {
"@lifi/types": "^12.1.0",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/web3.js": "^1.91.6",
"eth-rpc-errors": "^4.0.3",
"viem": "^2.9.21"
},
"devDependencies": {
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@types/fs-extra": "^11.0.4",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"@vitest/coverage-v8": "^1.5.0",
"bs58": "^5.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-prettier": "^5.1.3",
"fs-extra": "^11.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"madge": "^7.0.0",
"msw": "^2.2.14",
"pinst": "^3.0.0",
"prettier": "^3.2.5",
"standard-version": "^9.5.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"vitest": "^1.5.0"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public"
},
"standard-version": {
"scripts": {
"postbump": "node scripts/version.js && git add ."
}
}
}