mirror of
https://github.com/PaulRBerg/hardhat-template.git
synced 2026-01-10 14:37:56 -05:00
80 lines
2.7 KiB
JSON
80 lines
2.7 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": {
|
|
"@nomicfoundation/hardhat-chai-matchers": "^2.0.2",
|
|
"@nomicfoundation/hardhat-ethers": "^3.0.5",
|
|
"@nomicfoundation/hardhat-network-helpers": "^1.0.10",
|
|
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
|
|
"@nomicfoundation/hardhat-verify": "^2.0.2",
|
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
"@typechain/ethers-v6": "^0.5.1",
|
|
"@typechain/hardhat": "^9.1.0",
|
|
"@types/chai": "^4.3.11",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/mocha": "^10.0.6",
|
|
"@types/node": "^20.10.4",
|
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
"@typescript-eslint/parser": "^6.14.0",
|
|
"chai": "^4.3.10",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"ethers": "^6.9.0",
|
|
"fs-extra": "^11.2.0",
|
|
"hardhat": "^2.19.2",
|
|
"hardhat-deploy": "^0.11.45",
|
|
"hardhat-gas-reporter": "^1.0.9",
|
|
"lodash": "^4.17.21",
|
|
"mocha": "^10.2.0",
|
|
"prettier": "^3.1.1",
|
|
"prettier-plugin-solidity": "^1.2.0",
|
|
"rimraf": "^5.0.5",
|
|
"solhint": "^4.0.0",
|
|
"solhint-plugin-prettier": "^0.1.0",
|
|
"solidity-coverage": "^0.8.5",
|
|
"ts-generator": "^0.1.1",
|
|
"ts-node": "^10.9.2",
|
|
"typechain": "^8.3.2",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"files": [
|
|
"contracts"
|
|
],
|
|
"keywords": [
|
|
"blockchain",
|
|
"ethers",
|
|
"ethereum",
|
|
"hardhat",
|
|
"smart-contracts",
|
|
"solidity",
|
|
"template",
|
|
"typescript",
|
|
"typechain"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf ./artifacts ./cache ./coverage ./types ./coverage.json && bun run typechain",
|
|
"compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
|
|
"coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && bun run typechain",
|
|
"deploy:contracts": "hardhat deploy",
|
|
"lint": "bun run lint:sol && bun run lint:ts && bun run prettier:check",
|
|
"lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
|
|
"lint:ts": "eslint --ignore-path ./.eslintignore --ext .js,.ts .",
|
|
"postcompile": "bun run typechain",
|
|
"prettier:check": "prettier --check \"**/*.{js,json,md,sol,ts,yml}\"",
|
|
"prettier:write": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
|
|
"task:deployLock": "hardhat task:deployLock",
|
|
"task:withdraw": "hardhat task:withdraw",
|
|
"test": "hardhat test",
|
|
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
|
|
}
|
|
}
|