forked from mento-protocol/mento-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3 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
{
"name": "@mento-protocol/mento-sdk",
"description": "Official SDK for interacting with the Mento Protocol",
"version": "1.19.0",
"license": "MIT",
"author": "Mento Labs",
"keywords": [
"mento",
"celo",
"solidity"
],
"repository": {
"type": "git",
"url": "https://github.com/mento-protocol/mento-sdk.git"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"typings": "dist/esm/index.d.ts",
"files": [
"dist",
"!dist/**/*.test.*"
],
"scripts": {
"analyze": "size-limit --why",
"build": "yarn build:cjs && yarn build:esm && yarn check:scripts",
"build:cjs": "tsc --project ./tsconfig.json",
"build:esm": "tsc --project ./tsconfig.esm.json",
"clean": "rm -rf ./dist",
"lint": "eslint --fix --config ./.eslintrc.json 'src/**/*.ts' 'scripts/**/*.ts'",
"check:scripts": "tsc --project ./tsconfig.scripts.json",
"prettier": "prettier --config ./.prettierrc.json --write **/*.{json,md,js,ts,yml}",
"size": "size-limit",
"test": "jest --runInBand --verbose",
"coverage": "jest --coverage",
"cacheTradablePairs": "ts-node scripts/cacheTradablePairs.ts",
"cacheTokens": "ts-node scripts/cacheTokens/index.ts",
"printTradablePairs": "ts-node scripts/printTradablePairs.ts",
"tradingLimits": "ts-node scripts/printTradingLimits.ts",
"limits": "yarn tradingLimits",
"poolConfigs": "ts-node scripts/printPoolConfigs.ts",
"pools": "ts-node scripts/printPoolConfigs.ts",
"breakerBox": "ts-node scripts/printBreakerBox.ts",
"breakers": "yarn breakerBox",
"quote": "ts-node scripts/quotes/index.ts",
"getTokenGraph": "ts-node scripts/visualizeTokenGraph.ts",
"tokens": "ts-node scripts/printTokens.ts"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
},
"jest": {
"testEnvironment": "node",
"testMatch": [
"**/?(*.)+(test).ts"
]
},
"engines": {
"node": ">=22"
},
"size-limit": [
{
"path": "dist/sdk.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/sdk.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@size-limit/preset-small-lib": "^8.1.0",
"@tsconfig/recommended": "^1.0.1",
"@types/jest": "^29.4.0",
"@types/node": "^22.13.0",
"@types/yargs-parser": "^21.0.3",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"chalk": "4.1.2",
"cli-table3": "0.6.3",
"date-fns": "^4.1.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"ethers": "^5.7",
"husky": "^8.0.2",
"jest": "^29.4.2",
"ora": "8.2.0",
"prettier": "^2.8.4",
"size-limit": "^8.1.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"yargs-parser": "^21.1.1"
},
"dependencies": {
"@mento-protocol/mento-core-ts": "2.6.5-rc3",
"mento-router-ts": "^0.2.0"
},
"peerDependencies": {
"ethers": "^5.7"
}
}