forked from lifinance/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.12 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
{
"name": "@lifi/sdk",
"version": "2.0.0-beta.6",
"description": "LI.FI Any-to-Any Cross-Chain-Swap SDK",
"main": "./dist/cjs/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"watch": "tsc -w -p ./tsconfig.json",
"build": "yarn clean && tsc --project ./tsconfig.json && tsc --project ./tsconfig.cjs.json",
"clean": "node tools/cleanup",
"package": "npm run build && npm pack",
"test": "vitest --run --dangerouslyIgnoreUnhandledErrors",
"test:unit": "yarn test .unit.spec.ts",
"test:cov": "yarn test --coverage",
"test:e2e": "yarn test -c vitest.e2e.config.ts",
"addscope": "node tools/packagejson name @lifi/sdk",
"pre-commit": "lint-staged",
"pre-push": "yarn types:check && yarn build && yarn test:unit",
"lint": "eslint --ext .tsx --ext .ts ./src",
"lint:fix": "eslint --ext .tsx --ext .ts ./src --fix",
"types:check": "tsc --noEmit",
"prettier:fix": "prettier --write ./src/.",
"use:npmReadme": "mv 'README.md' 'git.README.md' && mv 'npm.README.md' 'README.md'",
"use:gitReadme": "mv 'README.md' 'npm.README.md' && mv 'git.README.md' 'README.md'",
"prepublishOnly": "run-s build use:npmReadme && pinst --enable",
"postpublish": "npm run use:gitReadme && pinst --enable",
"prepare": "husky install",
"release": "standard-version -a"
},
"standard-version": {
"scripts": {
"postbump": "node scripts/version.js && git add ."
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"yarn run lint:fix",
"yarn run prettier:fix"
]
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"author": "Max Klenk <[email protected]>",
"license": "Apache-2.0",
"keywords": [
"sdk",
"ethereum",
"dapp",
"bridge",
"swap",
"web3",
"lifi",
"ethers",
"cross-chain",
"defi",
"web3-react",
"cross-chain-applications",
"cross-chain-bridge",
"bridge-aggregation",
"multi-chain",
"metamask"
],
"homepage": "https://github.com/lifinance/sdk",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/lifinance/sdk.git"
},
"bugs": {
"url": "https://github.com/lifinance/sdk/issues"
},
"dependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/contracts": "^5.7.0",
"@lifi/types": "^2.5.7",
"bignumber.js": "^9.1.1",
"eth-rpc-errors": "^4.0.3",
"ethers": "^5.7.2"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vitest/coverage-c8": "^0.29.7",
"cross-fetch": "^3.1.5",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"msw": "1.0.1",
"npm-run-all": "^4.1.5",
"pinst": "^3.0.0",
"prettier": "^2.8.5",
"standard-version": "^9.5.0",
"ts-loader": "^9.4.2",
"typescript": "^5.0.2",
"vitest": "^0.29.7"
},
"directories": {
"test": "test"
},
"packageManager": "[email protected]"
}