package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "@prb/solidity-template",
  3. "description": "Template for writing 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. "ethereum",
  65. "hardhat",
  66. "smart-contracts",
  67. "solidity"
  68. ],
  69. "packageManager": "yarn@3.2.0",
  70. "publishConfig": {
  71. "access": "public"
  72. },
  73. "scripts": {
  74. "clean": "shx rm -rf ./artifacts ./cache ./coverage ./src/types ./coverage.json && yarn typechain",
  75. "commit": "git-cz",
  76. "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
  77. "coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain",
  78. "deploy": "hardhat deploy:Greeter",
  79. "lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
  80. "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
  81. "lint:ts": "eslint --config ./.eslintrc.yml --ignore-path ./.eslintignore --ext .js,.ts .",
  82. "postinstall": "husky install && yarn typechain",
  83. "postpublish": "pinst --enable",
  84. "prepublishOnly": "pinst --disable",
  85. "prettier": "prettier --config ./.prettierrc.yml --write \"**/*.{js,json,md,sol,ts,yml}\"",
  86. "prettier:check": "prettier --check --config ./.prettierrc.yml \"**/*.{js,json,md,sol,ts,yml}\"",
  87. "test": "hardhat test",
  88. "typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
  89. }
  90. }