-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 3.43 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
{
"name": "hardhat-template",
"description": "hardhat-template for developing Solidity smart contracts",
"license": "MIT",
"version": "1.0.0",
"homepage": "https://github.com/lingcoder",
"private": true,
"author": "",
"keywords": [
"hardhat",
"contract",
"solidity"
],
"engines": {
"node": ">=20.0.0",
"pnpm": ">=9.5.0"
},
"repository": {
"type": "git",
"url": "https://github.com/lingcoder/hardhat-template.git"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@metamask/eth-sig-util": "^8.1.2",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.8",
"@nomicfoundation/hardhat-ethers": "^3.0.8",
"@nomicfoundation/hardhat-foundry": "^1.1.3",
"@nomicfoundation/hardhat-network-helpers": "^1.0.12",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@nomicfoundation/hardhat-verify": "^2.0.12",
"@nomiclabs/hardhat-solhint": "^4.0.1",
"@openzeppelin/contracts": "^5.1.0",
"@openzeppelin/contracts-upgradeable": "^5.1.0",
"@openzeppelin/docs-utils": "^0.1.5",
"@openzeppelin/hardhat-upgrades": "^3.8.0",
"@trivago/prettier-plugin-sort-imports": "^5.2.0",
"@typechain/ethers-v6": "^0.5.1",
"@types/chai": "^4.3.17",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"chai": "^4.5.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.2.1",
"ethers": "^6.13.4",
"fs-extra": "^11.2.0",
"glob": "^11.0.0",
"globals": "^15.14.0",
"hardhat": "^2.22.17",
"hardhat-abi-exporter": "^2.10.1",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-deploy": "^0.14.0",
"hardhat-ignore-warnings": "^0.2.12",
"lodash": "^4.17.21",
"micromatch": "^4.0.8",
"mocha": "^11.0.1",
"prettier": "^3.4.2",
"prettier-plugin-solidity": "^1.4.1",
"rimraf": "^6.0.1",
"solhint": "^5.0.3",
"solidity-ast": "^0.4.59",
"solidity-docgen": "0.6.0-beta.36",
"ts-generator": "^0.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint",
"commit-msg": "pnpm commitlint --edit $1"
},
"scripts": {
"prepare": "npx simple-git-hooks",
"postinstall": "npx hardhat typechain",
"compile": "npx hardhat compile",
"clean": "npx hardhat clean",
"deploy:polygon": "npx hardhat run --network polygon scripts/deploy.ts",
"deploy:mumbai": "npx hardhat run --network mumbai scripts/deploy.ts",
"deploy:sepolia": "npx hardhat run --network sepolia scripts/deploy.ts",
"deploy:": "npx hardhat run --network mainnet scripts/deploy.ts",
"test": "npx hardhat test",
"abi": "npx hardhat export-abi",
"coverage": "npx hardhat coverage",
"size": "npx hardhat size-contracts",
"lint": "pnpm solhint && pnpm lint:ts && pnpm format:check",
"solhint": "solhint --max-warnings 0 contracts/**/*.sol",
"lint:ts": "eslint scripts/**/*.ts test/**/*.ts",
"format:check": "prettier --check **/*.{ts,sol}",
"format:write": "prettier --write **/*.{ts,sol}"
},
"dependencies": {
"cross-env": "^7.0.3",
"dotenv": "^16.4.7",
"simple-git-hooks": "^2.11.1"
}
}