-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
76 lines (76 loc) · 2.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
{
"name": "@gearbox-protocol/sdk",
"version": "0.0.0-semantic-release",
"description": "Gearbox SDK",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib",
"contracts"
],
"author": "Mikael Lazarev",
"license": "MIT",
"scripts": {
"clean": "rm -rf lib",
"build": "tsc --p tsconfig.build.json",
"bindings": "yarn ts-node ./scripts/generate.ts && forge b && forge fmt",
"decimals": "yarn ts-node ./scripts/generate_decimals.ts",
"dev": "tsc -w --p tsconfig.build.json",
"pub": "rm -rf ./src/types/hardhat.ts && cp ./src/types/*.d.ts ./lib/types && tsc --p tsconfig.build.json && yarn publish",
"copyTypes": "node ./scripts/copyTypes.js",
"prepare": "husky install",
"prettier": "prettier --write .",
"prettier:ci": "npx prettier --check .",
"lint": "eslint \"**/*.ts\" --fix",
"lint:ci": "eslint \"**/*.ts\"",
"typecheck:ci": "tsc --noEmit",
"test": "npx mocha -r ts-node/register -r dotenv/config src/**/*.spec.ts",
"types:clean": "rm -rf forge-out src/types-extra",
"types:build": "forge build",
"types:generate": "typechain --target ethers-v5 --out-dir src/types-extra ./forge-out/**/*.json",
"types": "yarn types:clean && yarn types:build && yarn types:generate"
},
"dependencies": {
"@gearbox-protocol/sdk-gov": "^1.10.3",
"@types/deep-eql": "^4.0.0",
"axios": "^1.2.6",
"decimal.js-light": "^2.5.1",
"deep-eql": "^4.1.0",
"moment": "^2.29.4"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@gearbox-protocol/core-v2": "^1.21.1",
"@gearbox-protocol/eslint-config": "^1.4.1",
"@gearbox-protocol/prettier-config": "^1.4.1",
"@typechain/ethers-v5": "10.0.0",
"@types/chai": "^4.3.3",
"@types/jest": "^28.1.7",
"@types/mocha": "^10.0.1",
"@types/node": "^18.7.6",
"@types/rimraf": "^3.0.2",
"chai": "^4.3.6",
"dotenv": "^16.0.1",
"eslint": "^8.22.0",
"ethers": "5.6.9",
"husky": ">=6",
"jest": "^28.1.3",
"lint-staged": ">=10",
"mocha": "^10.0.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"tslog": "^3.3.3",
"typechain": "^8.1.0",
"typescript": "5.0.4"
},
"prettier": "@gearbox-protocol/prettier-config",
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": "prettier --write"
}
}