generated from emretepedev/solidity-hardhat-typescript-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 5.09 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
{
"license": "MIT",
"version": "1.0.0",
"private": false,
"name": "solidity-hardhat-typescript-boilerplate",
"description": "Solidity Hardhat TypeScript Boilerplate",
"scripts": {
"prepare": "husky install",
"start": "hardhat node",
"clean": "hardhat clean",
"compile": "hardhat compile",
"console": "hardhat console",
"storage:layout": "hardhat storage-layout",
"size": "hardhat size-contracts",
"prepend-spdx": "hardhat prepend-spdx-license",
"deploy": "deploy.sh",
"deploy:all": "hardhat run scripts/deploy.ts --network",
"deploy-verify:all": "hardhat run scripts/deployAndVerify.ts --network",
"verify": "hardhat verify --network",
"test": "hardhat test",
"test:trace": "hardhat test --trace",
"test:fresh": "hardhat compile --force && hardhat test --no-compile --trace",
"test:coverage": "hardhat coverage",
"build": "build.sh",
"analyze:static": "docker run -v $(pwd):/labs analyze:latest slither",
"analyze:security": "docker run -v $(pwd):/labs analyze:latest myth analyze --solc-json mythril.config.json",
"analyze:all": "analyze.sh",
"generate:flatten": "docker run -v $(pwd):/labs analyze:latest slither-flat --solc-args '--base-path node_modules' --dir soldata/flatten/",
"generate:abi": "docker run -v $(pwd):/labs analyze:latest solc --abi --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/abi/ --overwrite",
"generate:all-abi": "docker run -v $(pwd):/labs analyze:latest solc --abi --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/abi/ --overwrite ./contracts/**/*.sol",
"generate:bin": "docker run -v $(pwd):/labs analyze:latest solc --bin --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/bin/ --overwrite",
"generate:all-bin": "docker run -v $(pwd):/labs analyze:latest solc --bin --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/bin/ --overwrite ./contracts/**/*.sol",
"generate:metadata": "docker run -v $(pwd):/labs analyze:latest solc --metadata --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/metadata/ --overwrite",
"generate:all-metadata": "docker run -v $(pwd):/labs analyze:latest solc --metadata --base-path /labs/node_modules --allow-paths . ./=../ -o soldata/metadata/ --overwrite ./contracts/**/*.sol",
"generate:docs": "hardhat docgen",
"generate:badges": "istanbul-badges-readme",
"share": "remixd -s . --remix-ide https://remix.ethereum.org",
"format": "prettier '**/{*,''}.{json,js,ts,sol}' --write; eslint '**/{*,''}.{json,js,ts}' --fix; solhint 'contracts/*.sol' --fix;",
"format:json": "prettier '**/{*,''}.json' --write; eslint '**/{*,''}.json' --fix;",
"format:js": "prettier '**/{*,''}.js' --write; eslint '**/{*,''}.js' --fix;",
"format:ts": "prettier '**/{*,''}.ts' --write; eslint '**/{*,''}.ts' --fix;",
"format:sol": "prettier '**/*.sol' --write; solhint 'contracts/*.sol' --fix;",
"lint": "shellcheck bin/*; cspell lint --dot --gitignore '**/{*,''}{.,''}*'; prettier '**/{*,''}.{json,js,ts,sol}' --check; solhint 'contracts/*.sol'; eslint '**/{*,''}.{json,js,ts}';",
"hook:pre-push": "tsc --noEmit && shellcheck bin/* && cspell lint --dot --gitignore '**/{*,''}{.,''}*' && prettier '**/{*,''}.{json,js,ts,sol}' --check && solhint 'contracts/*.sol' && eslint '**/{*,''}.{json,js,ts}'"
},
"husky": {
"hooks": {
"pre-push": "yarn run hook:pre-push"
}
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {},
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^1.0.2",
"@nomicfoundation/hardhat-network-helpers": "^1.0.3",
"@nomiclabs/hardhat-ethers": "^2.1.0",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@openzeppelin/contracts": "^4.7.1",
"@remix-project/remixd": "^0.6.4",
"@tenderly/hardhat-tenderly": "^1.1.4",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.2",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^9.1.1",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"cspell": "^6.4.1",
"dotenv": "^16.0.1",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"ethers": "^5.6.9",
"hardhat": "^2.10.1",
"hardhat-contract-sizer": "^2.6.1",
"hardhat-docgen": "^1.3.0",
"hardhat-gas-reporter": "^1.0.8",
"hardhat-spdx-license-identifier": "^2.0.3",
"hardhat-storage-layout": "^0.1.6",
"hardhat-tracer": "1.1.0-rc.6",
"husky": "^8.0.1",
"istanbul-badges-readme": "^1.8.2",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "1.0.0-dev.23",
"shellcheck": "^1.1.0",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.21",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^4.7.4"
}
}