mirror of
https://github.com/PaulRBerg/hardhat-template.git
synced 2026-04-20 03:00:26 -04:00
85 lines
2.8 KiB
JSON
85 lines
2.8 KiB
JSON
{
|
|
"name": "@prb/hardhat-template",
|
|
"description": "Hardhat-based template for developing Solidity smart contracts",
|
|
"version": "1.0.0",
|
|
"author": {
|
|
"name": "Paul Razvan Berg",
|
|
"url": "https://github.com/paulrberg"
|
|
},
|
|
"devDependencies": {
|
|
"@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.4",
|
|
"@nomicfoundation/hardhat-network-helpers": "^1.0.6",
|
|
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
|
|
"@nomiclabs/hardhat-ethers": "^2.2.1",
|
|
"@nomiclabs/hardhat-etherscan": "^3.1.2",
|
|
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
|
|
"@typechain/ethers-v5": "^10.1.1",
|
|
"@typechain/hardhat": "^6.1.4",
|
|
"@types/chai": "^4.3.4",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/mocha": "^10.0.0",
|
|
"@types/node": "^18.11.9",
|
|
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
|
"@typescript-eslint/parser": "^5.44.0",
|
|
"chai": "^4.3.7",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^16.0.3",
|
|
"eslint": "^8.28.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"ethers": "^5.7.2",
|
|
"fs-extra": "^10.1.0",
|
|
"hardhat": "^2.12.2",
|
|
"hardhat-gas-reporter": "^1.0.9",
|
|
"lodash": "^4.17.21",
|
|
"mocha": "^10.1.0",
|
|
"prettier": "^2.8.4",
|
|
"prettier-plugin-solidity": "^1.1.2",
|
|
"rimraf": "^4.1.2",
|
|
"solhint": "^3.4.0",
|
|
"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": "^4.9.3"
|
|
},
|
|
"files": [
|
|
"/contracts"
|
|
],
|
|
"keywords": [
|
|
"blockchain",
|
|
"ethers",
|
|
"ethereum",
|
|
"hardhat",
|
|
"smart-contracts",
|
|
"solidity",
|
|
"template",
|
|
"typescript",
|
|
"typechain"
|
|
],
|
|
"packageManager": "yarn@3.4.1",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf ./artifacts ./cache ./coverage ./types ./coverage.json && yarn typechain",
|
|
"commit": "git-cz",
|
|
"compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
|
|
"coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain",
|
|
"deploy": "hardhat deploy:Greeter",
|
|
"lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
|
|
"lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
|
|
"lint:ts": "eslint --ignore-path ./.eslintignore --ext .js,.ts .",
|
|
"postinstall": "DOTENV_CONFIG_PATH=./.env.example yarn typechain",
|
|
"prettier:check": "prettier --check \"**/*.{js,json,md,sol,ts,yml}\"",
|
|
"prettier:write": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
|
|
"test": "hardhat test",
|
|
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
|
|
}
|
|
}
|