-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
79 lines (79 loc) · 2.47 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
{
"name": "@alphafi/alphafi-sdk",
"version": "0.0.59",
"description": "Official AlphaFi SDK to access AlphaFi data",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/cjs/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"scripts": {
"prebuild": "npm run pretty && npm run lint",
"build": "npm run build:cjs && npm run build:esm",
"build:esm": "tsc --project tsconfig.esm.json && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"build:cjs": "tsc --project tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"postbuild": "npm link",
"pretty": "prettier . --write",
"lint": "eslint 'src/**/*.ts' --fix",
"cpx": "cpx 'src/**/*.graphql' dist/cjs && cpx 'src/**/*.graphql' dist/esm",
"prettier": "prettier --write 'src/**/*.ts'",
"gen": "node embed-graphql.js",
"docs": "typedoc",
"test:esm": "jest --config jest.config.esm.js",
"test:cjs": "jest --config jest.config.cjs.js",
"test": "npm run test:esm && npm run test:cjs"
},
"keywords": [],
"author": "AlphaFi",
"license": "ISC",
"devDependencies": {
"@babel/cli": "7.24.8",
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.3",
"@babel/preset-typescript": "7.24.7",
"@types/bn.js": "^5.1.5",
"@types/jest": "^29.5.12",
"@types/node": "20.14.9",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"babel-loader": "^9.1.3",
"clean-webpack-plugin": "^4.0.0",
"cpx": "^1.5.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"source-map-loader": "^5.0.0",
"ts-jest": "^29.2.1",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typedoc": "^0.26.6",
"typescript": "^5.5.3",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@7kprotocol/sdk-ts": "^2.3.0",
"@alphafi/stsui-sdk": "^0.0.12",
"@apollo/client": "^3.11.4",
"@cetusprotocol/cetus-sui-clmm-sdk": "5.1.6",
"@hop.ag/sdk": "^3.3.0",
"bignumber.js": "^9.1.2",
"bn.js": "^5.2.1",
"decimal.js": "^10.4.3",
"graphql": "^16.9.0",
"react": "^18.3.1"
},
"peerDependencies": {
"@mysten/sui": "^1.21.1"
}
}