forked from enzymefinance/protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 3.29 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
{
"name": "@enzymeprotocol/root",
"private": true,
"workspaces": [
"packages/*"
],
"preconstruct": {
"packages": [
"packages/*"
]
},
"scripts": {
"postinstall": "preconstruct dev && manypkg check",
"compile": "hardhat compile",
"coverage": "hardhat coverage && COVERAGE=true yarn test",
"dev": "preconstruct dev",
"build": "preconstruct build",
"release": "yarn compile && yarn build && changeset publish",
"typecheck": "manypkg exec tsc --noEmit",
"lint": "yarn lint:prettier && yarn lint:eslint && yarn lint:solhint",
"lint:prettier": "prettier --list-different \"{*,**/*}.{sol,ts}\"",
"lint:eslint": "eslint \"{*,**/*}.ts\"",
"lint:solhint": "solhint --max-warnings 0 \"contracts/{*,**/*}.sol\"",
"format": "yarn format:prettier && yarn format:eslint && yarn format:solhint",
"format:prettier": "yarn lint:prettier --write",
"format:eslint": "yarn lint:eslint --fix",
"format:solhint": "yarn lint:solhint --fix",
"test": "TS_JEST_DISABLE_VER_CHECKER=true jest",
"deploy:kovan": "hardhat deploy --network kovan",
"export:kovan": "hardhat export --network kovan --export deployments/kovan.json",
"verify:kovan": "hardhat etherscan-verify --network kovan",
"deploy:mainnet": "hardhat deploy --network mainnet",
"export:mainnet": "hardhat export --network mainnet --export deployments/mainnet.json",
"verify:mainnet": "hardhat etherscan-verify --network mainnet"
},
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@changesets/cli": "^2.11.2",
"@crestproject/crestproject": "^0.1.21",
"@crestproject/hardhat": "^0.1.21",
"@manypkg/cli": "^0.16.1",
"@openzeppelin/contracts": "^3.2.0",
"@preconstruct/cli": "^1.1.34",
"@types/fs-extra": "^9.0.6",
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"decimal.js": "^10.2.1",
"dotenv": "^8.2.0",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"fs-extra": "^9.0.1",
"hardhat": "^2.0.6",
"hardhat-contract-sizer": "^2.0.2",
"hardhat-deploy": "^0.7.0-beta.43",
"hardhat-deploy-ethers": "^0.3.0-beta.7",
"husky": "^4.3.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.0",
"prettier": "^2.1.2",
"prettier-plugin-solidity": "^1.0.0-alpha.59",
"solhint": "^3.3.2",
"ts-jest": "^26.4.4",
"ts-node": "^9.1.1",
"typescript": "^4.0.5"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-non-null-assertion": "off"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": "eslint --fix",
"*.sol": "solhint --fix"
}
}