-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
80 lines (80 loc) · 2.67 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
{
"name": "@notional-finance/sdk-v2",
"version": "0.5.8",
"description": "Notional Finance SDK V2",
"author": "Jeff Wu <jeff@notional.finance>",
"homepage": "https://notional.finance",
"license": "Apache-2.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"keywords": [
"notional",
"defi",
"ethereum"
],
"repository": {
"type": "git",
"url": "git+https://github.com/notional-finance/sdk-v2.git"
},
"scripts": {
"clean": "rm -Rf coverage lib node_modules tsconfig.build.tsbuildinfo",
"typechain": "typechain --target=ethers-v5 --out-dir src/typechain \"./src/abi/*.json\"",
"build": "yarn typechain && tsc -b tsconfig.build.json && yarn lint",
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\" --quiet --fix",
"testenv:governance": "npx ts-node tests/governanceProposals.ts",
"fork:up": "cd ../subgraph-v2 && ./start.sh",
"fork:down": "cd ../subgraph-v2 && docker-compose down",
"test:unit": "yarn run build && yarn run jest --selectProjects unit --coverage",
"test:fork": "npx hardhat test --no-compile tests/integration/transactions.test.ts",
"test:integration": "yarn run build && yarn run testenv:up && yarn run jest --selectProjects integration && yarn run testenv:down",
"test": "yarn run build && yarn run testenv:up && yarn run jest && yarn run testenv:down"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.6",
"@typechain/ethers-v5": "^10.1.0",
"@types/chai": "^4.3.1",
"@types/jest": "^28.1.1",
"@types/node": "^15.6.1",
"@types/set-interval-async": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"axios": "^0.27.2",
"chai": "^4.3.6",
"dotenv": "^16.0.1",
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"ethers": "5.6.9",
"hardhat": "^2.9.9",
"jest": "^28.1.1",
"rxjs": "^7.5.5",
"ts-jest": "^28.0.4",
"ts-node": "^10.8.1",
"typechain": "^8.1.0",
"typescript": "^4.7.3"
},
"peerDependencies": {
"axios": "^0.27.2",
"ethers": "5.6.9",
"rxjs": "^7.5.5"
},
"dependencies": {
"@apollo/client": "^3.2.5",
"@ethersproject/bytes": "^5.5.0",
"abi-decoder": "^2.4.0",
"bnc-sdk": "^3.3.4",
"cross-fetch": "^3.0.6",
"eventemitter3": "^4.0.7",
"fetch-retry": "^5.0.2",
"graphql": "^15.3.0",
"set-interval-async": "^2.0.3"
},
"engines": {
"node": ">14.7.0"
}
}