generated from The-Solid-Chain/smart-contracts-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 5.66 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
{
"name": "solidity-template-v2",
"packageManager": "[email protected]",
"author": "Roberto Cano",
"homepage": "https://thesolidchain.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:The-Solid-Chain/smart-contracts-template.git"
},
"scripts": {
"hardhat:localnode": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat node",
"hardhat:accounts": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat accounts",
"ganache:rinkeby": "yarn ts-node utils/run-ganache.ts --network rinkeby --blocktime 3",
"ganache:mainnet": "yarn ts-node utils/run-ganache.ts --network mainnet --blocktime 3",
"contracts:clean": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat clean",
"contracts:typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain",
"contracts:compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
"contracts:analyze": "slither ./contracts --json slither-results.json",
"contracts:test": "yarn hardhat test",
"contracts:coverage": "cross-env TS_NODE_TRANSPILE_ONLY=true CODE_COVERAGE=true hardhat coverage --solcoverjs ./.solcover.js --temp artifacts",
"contracts:size": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile; cross-env TS_NODE_TRANSPILE_ONLY=true hardhat size-contracts",
"deploy-sherlock:local": "yarn hardhat --network localhost run ./scripts/deploySherlock.ts",
"solve-sherlock:local": "yarn hardhat --network localhost solveSherlock",
"solve-sherlock:rinkeby": "yarn hardhat --network rinkeby solveSherlock",
"deploy-minion:local": "yarn hardhat --network localhost run ./scripts/deployMinion.ts",
"solve-minion:local": "yarn hardhat --network localhost solveMinion",
"solve-minion:rinkeby": "yarn hardhat --network rinkeby solveMinion",
"deploy-shilpkaar:local": "yarn hardhat --network localhost run ./scripts/deployShilpkaar.ts",
"solve-shilpkaar:local": "yarn hardhat --network localhost solveShilpkaar",
"solve-shilpkaar:rinkeby": "yarn hardhat --network rinkeby solveShilpkaar",
"deploy-undead:local": "yarn hardhat --network localhost run ./scripts/deployUndead.ts",
"solve-undead:local": "yarn hardhat --network localhost solveUndead",
"solve-undead:rinkeby": "yarn hardhat --network rinkeby solveUndead",
"deploy-thirtyfive:local": "yarn hardhat --network localhost run ./scripts/deployThirtyFive.ts",
"solve-thirtyfive:local": "yarn hardhat --network localhost solveThirtyFive",
"solve-thirtyfive:rinkeby": "yarn hardhat --network rinkeby solveThirtyFive",
"deploy-maya:local": "yarn hardhat --network localhost run ./scripts/deployMaya.ts",
"solve-maya:local": "yarn hardhat --network localhost solveMaya",
"solve-maya:goerli": "yarn hardhat --network goerli solveMaya",
"deploy-gambler:local": "yarn hardhat --network localhost run ./scripts/deployGambler.ts",
"solve-gambler:local": "yarn hardhat --network localhost solveGambler",
"solve-gambler:goerli": "yarn hardhat --network goerli solveGambler",
"lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
"lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
"lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
"prettier": "prettier --config ./.prettierrc.js --write \"**/*.{js,json,md,sol,ts}\"",
"prettier:check": "prettier --check --config ./.prettierrc.js \"**/*.{js,json,md,sol,ts}\"",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"devDependencies": {
"@ethersproject/abi": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/providers": "^5.5.3",
"@nomiclabs/hardhat-ethers": "^2.0.5",
"@nomiclabs/hardhat-etherscan": "^3.0.3",
"@nomiclabs/hardhat-waffle": "^2.0.2",
"@openzeppelin/contracts": "^4.5.0",
"@typechain/ethers-v5": "^9.0.0",
"@typechain/hardhat": "^4.0.0",
"@types/chai": "^4.3.0",
"@types/fs-extra": "^9.0.13",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.21",
"@types/yargs": "^17.0.8",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@yarnpkg/pnpify": "^3.1.1",
"chai": "^4.3.6",
"chai-ethers-bn": "^0.0.3",
"cli-progress": "^3.10.0",
"console-log-colors": "^0.2.3",
"cross-env": "^7.0.3",
"dotenv": "^16.0.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-import": "^2.25.4",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.5.4",
"fs-extra": "^10.0.1",
"ganache": "^7.0.2",
"hardhat": "^2.8.4",
"hardhat-abi-exporter": "^2.8.0",
"hardhat-contract-sizer": "^2.5.0",
"hardhat-gas-reporter": "^1.0.8",
"husky": ">=6",
"lint-staged": "^13.0.3",
"lodash": "^4.17.21",
"mocha": "^9.2.1",
"pinst": ">=2",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"shelljs": "^0.8.5",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.20",
"ts-node": "^10.5.0",
"typechain": "^7.0.0",
"typescript": "^4.5.5",
"yargs": "^17.3.1"
},
"lint-staged": {
"*.{js,json,md,sol,ts}": "yarn prettier"
},
"dependenciesMeta": {
"@openzeppelin/[email protected]": {
"unplugged": true
}
}
}