package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. "@commitlint/cli": "^17.0.3",
  11. "@commitlint/config-conventional": "^17.0.3",
  12. "@ethersproject/abi": "^5.6.4",
  13. "@ethersproject/abstract-signer": "^5.6.2",
  14. "@ethersproject/bignumber": "^5.6.2",
  15. "@ethersproject/bytes": "^5.6.1",
  16. "@ethersproject/providers": "^5.6.8",
  17. "@nomicfoundation/hardhat-chai-matchers": "^1.0.2",
  18. "@nomicfoundation/hardhat-network-helpers": "^1.0.3",
  19. "@nomicfoundation/hardhat-toolbox": "^1.0.2",
  20. "@nomiclabs/hardhat-ethers": "^2.1.0",
  21. "@nomiclabs/hardhat-etherscan": "^3.1.0",
  22. "@trivago/prettier-plugin-sort-imports": "^3.3.0",
  23. "@typechain/ethers-v5": "^10.1.0",
  24. "@typechain/hardhat": "^6.1.2",
  25. "@types/chai": "^4.3.3",
  26. "@types/fs-extra": "^9.0.13",
  27. "@types/mocha": "^9.1.1",
  28. "@types/node": "^18.6.5",
  29. "@typescript-eslint/eslint-plugin": "^5.33.0",
  30. "@typescript-eslint/parser": "^5.33.0",
  31. "chai": "^4.3.6",
  32. "commitizen": "^4.2.5",
  33. "cross-env": "^7.0.3",
  34. "cz-conventional-changelog": "^3.3.0",
  35. "dotenv": "^16.0.1",
  36. "eslint": "^8.21.0",
  37. "eslint-config-prettier": "^8.5.0",
  38. "ethers": "^5.6.9",
  39. "fs-extra": "^10.1.0",
  40. "hardhat": "^2.10.1",
  41. "hardhat-gas-reporter": "^1.0.8",
  42. "husky": "^8.0.1",
  43. "lint-staged": "^13.0.3",
  44. "lodash": "^4.17.21",
  45. "mocha": "^10.0.0",
  46. "pinst": "^3.0.0",
  47. "prettier": "^2.7.1",
  48. "prettier-plugin-solidity": "^1.0.0-beta.24",
  49. "shx": "^0.3.4",
  50. "solhint": "^3.3.7",
  51. "solhint-plugin-prettier": "^0.0.5",
  52. "solidity-coverage": "^0.7.21",
  53. "ts-generator": "^0.1.1",
  54. "ts-node": "^10.9.1",
  55. "typechain": "^8.1.0",
  56. "typescript": "^4.7.4"
  57. },
  58. "files": [
  59. "/contracts"
  60. ],
  61. "keywords": [
  62. "blockchain",
  63. "ethers",
  64. "ethereum",
  65. "hardhat",
  66. "smart-contracts",
  67. "solidity",
  68. "template",
  69. "typescript",
  70. "typechain"
  71. ],
  72. "packageManager": "yarn@3.2.1",
  73. "publishConfig": {
  74. "access": "public"
  75. },
  76. "scripts": {
  77. "clean": "shx rm -rf ./artifacts ./cache ./coverage ./src/types ./coverage.json && yarn typechain",
  78. "commit": "git-cz",
  79. "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
  80. "coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain",
  81. "deploy": "hardhat deploy:Greeter",
  82. "lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
  83. "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
  84. "lint:ts": "eslint --config ./.eslintrc.yml --ignore-path ./.eslintignore --ext .js,.ts .",
  85. "postinstall": "husky install && DOTENV_CONFIG_PATH=./.env.example yarn typechain",
  86. "postpublish": "pinst --enable",
  87. "prepublishOnly": "pinst --disable",
  88. "prettier": "prettier --config ./.prettierrc.yml --write \"**/*.{js,json,md,sol,ts,yml}\"",
  89. "prettier:check": "prettier --check --config ./.prettierrc.yml \"**/*.{js,json,md,sol,ts,yml}\"",
  90. "test": "hardhat test",
  91. "typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
  92. }
  93. }