package.json 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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.1",
  18. "@nomicfoundation/hardhat-network-helpers": "^1.0.2",
  19. "@nomicfoundation/hardhat-toolbox": "^1.0.1",
  20. "@nomiclabs/hardhat-ethers": "^2.1.0",
  21. "@nomiclabs/hardhat-etherscan": "^3.1.0",
  22. "@trivago/prettier-plugin-sort-imports": "^3.2.0",
  23. "@typechain/ethers-v5": "^10.1.0",
  24. "@typechain/hardhat": "^6.1.2",
  25. "@types/chai": "^4.3.1",
  26. "@types/fs-extra": "^9.0.13",
  27. "@types/mocha": "^9.1.1",
  28. "@types/node": "^18.0.3",
  29. "@typescript-eslint/eslint-plugin": "^5.30.5",
  30. "@typescript-eslint/parser": "^5.30.5",
  31. "chai": "^4.3.6",
  32. "commitizen": "^4.2.4",
  33. "cross-env": "^7.0.3",
  34. "cz-conventional-changelog": "^3.3.0",
  35. "dotenv": "^16.0.1",
  36. "eslint": "^8.19.0",
  37. "eslint-config-prettier": "^8.5.0",
  38. "ethers": "^5.6.9",
  39. "fs-extra": "^10.1.0",
  40. "hardhat": "^2.10.0",
  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-dev.21",
  49. "shelljs": "^0.8.5",
  50. "shx": "^0.3.4",
  51. "solhint": "^3.3.7",
  52. "solhint-plugin-prettier": "^0.0.5",
  53. "solidity-coverage": "^0.7.21",
  54. "ts-generator": "^0.1.1",
  55. "ts-node": "^10.8.2",
  56. "typechain": "^8.1.0",
  57. "typescript": "^4.7.4"
  58. },
  59. "files": [
  60. "/contracts"
  61. ],
  62. "keywords": [
  63. "blockchain",
  64. "ethers",
  65. "ethereum",
  66. "hardhat",
  67. "smart-contracts",
  68. "solidity",
  69. "template",
  70. "typescript",
  71. "typechain"
  72. ],
  73. "packageManager": "yarn@3.2.1",
  74. "publishConfig": {
  75. "access": "public"
  76. },
  77. "scripts": {
  78. "clean": "shx rm -rf ./artifacts ./cache ./coverage ./src/types ./coverage.json && yarn typechain",
  79. "commit": "git-cz",
  80. "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
  81. "coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain",
  82. "deploy": "hardhat deploy:Greeter",
  83. "lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
  84. "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
  85. "lint:ts": "eslint --config ./.eslintrc.yml --ignore-path ./.eslintignore --ext .js,.ts .",
  86. "postinstall": "husky install && yarn typechain",
  87. "postpublish": "pinst --enable",
  88. "prepublishOnly": "pinst --disable",
  89. "prettier": "prettier --config ./.prettierrc.yml --write \"**/*.{js,json,md,sol,ts,yml}\"",
  90. "prettier:check": "prettier --check --config ./.prettierrc.yml \"**/*.{js,json,md,sol,ts,yml}\"",
  91. "test": "hardhat test",
  92. "typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
  93. }
  94. }