package.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. "@ethersproject/abi": "^5.7.0",
  11. "@ethersproject/abstract-signer": "^5.7.0",
  12. "@ethersproject/bignumber": "^5.7.0",
  13. "@ethersproject/bytes": "^5.7.0",
  14. "@ethersproject/providers": "^5.7.2",
  15. "@nomicfoundation/hardhat-chai-matchers": "^1.0.4",
  16. "@nomicfoundation/hardhat-network-helpers": "^1.0.6",
  17. "@nomicfoundation/hardhat-toolbox": "^2.0.0",
  18. "@nomiclabs/hardhat-ethers": "^2.2.1",
  19. "@nomiclabs/hardhat-etherscan": "^3.1.2",
  20. "@trivago/prettier-plugin-sort-imports": "^4.0.0",
  21. "@typechain/ethers-v5": "^10.1.1",
  22. "@typechain/hardhat": "^6.1.4",
  23. "@types/chai": "^4.3.4",
  24. "@types/fs-extra": "^9.0.13",
  25. "@types/mocha": "^10.0.0",
  26. "@types/node": "^18.11.9",
  27. "@typescript-eslint/eslint-plugin": "^5.44.0",
  28. "@typescript-eslint/parser": "^5.44.0",
  29. "chai": "^4.3.7",
  30. "cross-env": "^7.0.3",
  31. "dotenv": "^16.0.3",
  32. "eslint": "^8.28.0",
  33. "eslint-config-prettier": "^8.5.0",
  34. "ethers": "^5.7.2",
  35. "fs-extra": "^10.1.0",
  36. "hardhat": "^2.12.2",
  37. "hardhat-deploy": "^0.11.29",
  38. "hardhat-gas-reporter": "^1.0.9",
  39. "lodash": "^4.17.21",
  40. "mocha": "^10.1.0",
  41. "prettier": "^2.8.4",
  42. "prettier-plugin-solidity": "^1.1.2",
  43. "rimraf": "^4.1.2",
  44. "solhint": "^3.4.0",
  45. "solhint-plugin-prettier": "^0.0.5",
  46. "solidity-coverage": "^0.8.2",
  47. "ts-generator": "^0.1.1",
  48. "ts-node": "^10.9.1",
  49. "typechain": "^8.1.1",
  50. "typescript": "^4.9.3"
  51. },
  52. "files": [
  53. "contracts"
  54. ],
  55. "keywords": [
  56. "blockchain",
  57. "ethers",
  58. "ethereum",
  59. "hardhat",
  60. "smart-contracts",
  61. "solidity",
  62. "template",
  63. "typescript",
  64. "typechain"
  65. ],
  66. "publishConfig": {
  67. "access": "public"
  68. },
  69. "scripts": {
  70. "clean": "rimraf ./artifacts ./cache ./coverage ./types ./coverage.json && pnpm typechain",
  71. "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
  72. "coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && pnpm typechain",
  73. "deploy:contracts": "hardhat deploy",
  74. "task:setGreeting": "hardhat task:setGreeting",
  75. "task:deployGreeter": "hardhat task:deployGreeter",
  76. "lint": "pnpm lint:sol && pnpm lint:ts && pnpm prettier:check",
  77. "lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
  78. "lint:ts": "eslint --ignore-path ./.eslintignore --ext .js,.ts .",
  79. "postinstall": "DOTENV_CONFIG_PATH=./.env.example pnpm typechain",
  80. "prettier:check": "prettier --check \"**/*.{js,json,md,sol,ts,yml}\"",
  81. "prettier:write": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
  82. "test": "hardhat test",
  83. "typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
  84. }
  85. }