package.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "@prb/hardhat-template",
  3. "description": "Hardhat-based template for developing Solidity smart contracts",
  4. "version": "1.0.0",
  5. "author": {
  6. "name": "Paul Razvan Berg",
  7. "url": "https://github.com/PaulRBerg"
  8. },
  9. "devDependencies": {
  10. "@nomicfoundation/hardhat-chai-matchers": "^2.0.2",
  11. "@nomicfoundation/hardhat-ethers": "^3.0.5",
  12. "@nomicfoundation/hardhat-network-helpers": "^1.0.10",
  13. "@nomicfoundation/hardhat-toolbox": "^4.0.0",
  14. "@nomicfoundation/hardhat-verify": "^2.0.2",
  15. "@trivago/prettier-plugin-sort-imports": "^4.3.0",
  16. "@typechain/ethers-v6": "^0.5.1",
  17. "@typechain/hardhat": "^9.1.0",
  18. "@types/chai": "^4.3.11",
  19. "@types/fs-extra": "^11.0.4",
  20. "@types/mocha": "^10.0.6",
  21. "@types/node": "^20.10.4",
  22. "@typescript-eslint/eslint-plugin": "^6.14.0",
  23. "@typescript-eslint/parser": "^6.14.0",
  24. "chai": "^4.3.10",
  25. "cross-env": "^7.0.3",
  26. "eslint": "^8.56.0",
  27. "eslint-config-prettier": "^9.1.0",
  28. "ethers": "^6.9.0",
  29. "fs-extra": "^11.2.0",
  30. "hardhat": "^2.19.2",
  31. "hardhat-deploy": "^0.11.45",
  32. "hardhat-gas-reporter": "^1.0.9",
  33. "lodash": "^4.17.21",
  34. "mocha": "^10.2.0",
  35. "prettier": "^3.1.1",
  36. "prettier-plugin-solidity": "^1.2.0",
  37. "rimraf": "^5.0.5",
  38. "solhint": "^4.0.0",
  39. "solhint-plugin-prettier": "^0.1.0",
  40. "solidity-coverage": "^0.8.5",
  41. "ts-generator": "^0.1.1",
  42. "ts-node": "^10.9.2",
  43. "typechain": "^8.3.2",
  44. "typescript": "^5.3.3"
  45. },
  46. "files": [
  47. "contracts"
  48. ],
  49. "keywords": [
  50. "blockchain",
  51. "ethers",
  52. "ethereum",
  53. "hardhat",
  54. "smart-contracts",
  55. "solidity",
  56. "template",
  57. "typescript",
  58. "typechain"
  59. ],
  60. "publishConfig": {
  61. "access": "public"
  62. },
  63. "scripts": {
  64. "clean": "rimraf ./artifacts ./cache ./coverage ./types ./coverage.json && pnpm typechain",
  65. "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
  66. "coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && pnpm typechain",
  67. "deploy:contracts": "hardhat deploy",
  68. "lint": "pnpm lint:sol && pnpm lint:ts && pnpm prettier:check",
  69. "lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
  70. "lint:ts": "eslint --ignore-path ./.eslintignore --ext .js,.ts .",
  71. "postcompile": "pnpm typechain",
  72. "prettier:check": "prettier --check \"**/*.{js,json,md,sol,ts,yml}\"",
  73. "prettier:write": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
  74. "task:deployGreeter": "hardhat task:deployGreeter",
  75. "task:setGreeting": "hardhat task:setGreeting",
  76. "test": "hardhat test",
  77. "typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
  78. }
  79. }