forked from PaulRBerg/hardhat-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
100 lines (100 loc) · 3.67 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
{
"name": "@coinvise/solidity-template",
"description": "Template for writing Solidity smart contracts",
"version": "1.0.0",
"author": {
"name": "Coinvise",
"url": "https://github.com/coinvise"
},
"devDependencies": {
"@codechecks/client": "^0.1.12",
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@ethereum-waffle/mock-contract": "^4.0.4",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/abstract-signer": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-etherscan": "^3.1.7",
"@primitivefi/hardhat-dodoc": "^0.2.3",
"@typechain/ethers-v5": "^10.2.0",
"@typechain/hardhat": "^6.1.5",
"@types/chai": "^4.3.4",
"@types/fs-extra": "^11.0.1",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"chai": "^4.3.7",
"commitizen": "^4.3.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^16.0.3",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"ethers": "^5.7.2",
"fs-extra": "^11.1.1",
"hardhat": "^2.13.1",
"hardhat-gas-reporter": "^1.0.9",
"hardhat-packager": "^1.4.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"lodash": "^4.17.21",
"mocha": "^10.2.0",
"pinst": "^3.0.0",
"prettier": "^2.8.7",
"prettier-plugin-solidity": "^1.1.3",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"solc": "^0.8.19",
"solhint": "^3.4.1",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.8.2",
"ts-generator": "^0.1.1",
"ts-node": "^10.9.1",
"typechain": "^8.1.1",
"typescript": "^5.0.4"
},
"files": [
"/artifacts",
"/contracts",
"/dist"
],
"keywords": [
"blockchain",
"ethereum",
"hardhat",
"smart-contracts",
"solidity"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"scripts": {
"build:types": "yarn prepare:types && tsc --project ./tsconfig.prod.json && copyfiles --up 1 \"./src/**/*.d.ts\" ./dist",
"clean": "shx rm -rf ./artifacts ./cache ./coverage ./src/types ./dist ./coverage.json",
"commit": "git-cz",
"compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
"coverage": "yarn typechain && hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain",
"deploy": "hardhat deploy:Greeter",
"docs": "hardhat dodoc && prettier --config ./.prettierrc.yaml --write \"docs/**\" --loglevel silent",
"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 .",
"postinstall": "husky install",
"postpack": "pinst --enable",
"prepack": "pinst --disable && yarn build:types",
"prepare:types": "yarn hardhat prepare-package",
"prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts}\"",
"prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts}\"",
"prettier:silent": "yarn prettier --loglevel silent",
"test": "cross-env REPORT_GAS=true hardhat test",
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
}
}