package.json 2.7 KB

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