forked from SetProtocol/set-protocol-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.78 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@setprotocol/set-protocol-v2",
"version": "0.0.36",
"description": "",
"main": "dist",
"types": "dist/types",
"files": [
"artifacts",
"dist",
"contracts",
"external",
"utils",
"scripts",
"typechain",
"tsconfig.json"
],
"scripts": {
"build": "yarn compile && yarn patch-hardhat-typechain && yarn typechain && yarn fix-typechain && yarn transpile-dist",
"chain": "npx hardhat node --no-deploy",
"clean": "rm -f coverage.json; rm -rf .coverage_cache; rm -rf .coverage_contracts; rm -rf cache; rm -rf coverage; rm -rf typechain; rm -rf artifacts",
"compile": "npx hardhat compile",
"coverage": "yarn clean && yarn build && yarn cov:command",
"cov:command": "COVERAGE=true node --max-old-space-size=4096 ./node_modules/.bin/hardhat coverage",
"etherscan:verify": "hardhat --network kovan etherscan-verify --solc-input --license 'None'",
"fix-typechain": "node scripts/fix-typechain.js && yarn rename-extensions",
"flatten": "npx waffle flatten",
"lint": "yarn run lint-sol && yarn run lint-ts",
"lint-sol": "solhint 'contracts/**/*.sol'",
"lint-ts": "tslint -c tslint.json -p tsconfig.json --fix",
"patch-hardhat-typechain": "node scripts/patch-hardhat-typechain.js",
"precommit": "lint-staged",
"prepare": "yarn build",
"prepack": "if [[ \"$(basename \"$PWD\")\" == \"set-protocol-v2-contracts\" ]]; then echo \"CANNOT PUBLISH FROM THIS REPO\"; exit 1; fi;",
"rename-extensions": "for f in typechain/*.d.ts; do mv -- \"$f\" \"${f%.d.ts}.ts\"; done",
"test": "npx hardhat test --network localhost",
"test:clean": "yarn clean && yarn build && yarn test",
"test:fast": "NO_COMPILE=true TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --network localhost --no-compile",
"test:fast:compile": "TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --network localhost",
"transpile": "tsc",
"transpile-dist": "tsc -p tsconfig.dist.json",
"typechain": "npx hardhat typechain"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SetProtocol/set-protocol-v2-contracts.git"
},
"author": "felix2feng",
"license": "MIT",
"homepage": "https://github.com/SetProtocol",
"devDependencies": {
"@ethersproject/bignumber": "^5.0.12",
"@ethersproject/providers": "^5.0.17",
"@nomiclabs/hardhat-ethers": "^2.0.1",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^3.1.0",
"@typechain/ethers-v5": "^5.0.0",
"@typechain/truffle-v4": "^2.0.2",
"@typechain/truffle-v5": "^2.0.2",
"@typechain/web3-v1": "^1.0.0",
"@types/chai": "^4.2.11",
"@types/fs-extra": "^5.0.0",
"@types/lodash": "^4.14.86",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.5",
"chai": "^4.2.0",
"coveralls": "^3.0.1",
"dotenv": "^8.2.0",
"ethereum-waffle": "^3.2.1",
"ethers": "^5.0.24",
"hardhat": "2.2.1",
"hardhat-deploy": "^0.7.0-beta.39",
"hardhat-typechain": "^0.3.4",
"husky": "^4.2.5",
"istanbul-combine-updated": "^0.3.0",
"lint-staged": "^10.2.11",
"lodash": "^4.17.4",
"solc": "^0.6.10",
"solhint": "^3.1.0",
"solidity-coverage": "^0.7.13",
"ts-generator": "^0.1.1",
"ts-node": "^8.10.1",
"tslint": "^5.8.0",
"tslint-eslint-rules": "^5.3.1",
"typescript": "^3.9.3",
"web3": "^1.2.9"
},
"dependencies": {
"fs-extra": "^5.0.0",
"module-alias": "^2.2.2",
"replace-in-file": "^6.1.0",
"typechain": "^4.0.1"
},
"_moduleAliases": {
"@utils": "utils",
"@typechain": "typechain"
},
"husky": {
"hooks": {
"pre-commit": "yarn precommit"
}
},
"lint-staged": {
"contracts/**/*.sol": [
"yarn lint-sol --fix"
],
"test/**/*.ts": [
"yarn lint-ts --fix"
],
"utils/**/*.ts": [
"yarn lint-ts --fix"
]
}
}