package.json 3.1 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://paulrberg.com"
  8. },
  9. "devDependencies": {
  10. "@codechecks/client": "^0.1.12",
  11. "@commitlint/cli": "^16.2.1",
  12. "@commitlint/config-conventional": "^16.2.1",
  13. "@ethersproject/abi": "^5.5.0",
  14. "@ethersproject/abstract-signer": "^5.5.0",
  15. "@ethersproject/bignumber": "^5.5.0",
  16. "@ethersproject/bytes": "^5.5.0",
  17. "@ethersproject/providers": "^5.5.3",
  18. "@nomiclabs/hardhat-ethers": "^2.0.4",
  19. "@nomiclabs/hardhat-etherscan": "^3.0.0",
  20. "@nomiclabs/hardhat-waffle": "^2.0.2",
  21. "@trivago/prettier-plugin-sort-imports": "^3.2.0",
  22. "@typechain/ethers-v5": "^9.0.0",
  23. "@typechain/hardhat": "^4.0.0",
  24. "@types/chai": "^4.3.0",
  25. "@types/fs-extra": "^9.0.13",
  26. "@types/mocha": "^9.1.0",
  27. "@types/node": "^17.0.18",
  28. "@typescript-eslint/eslint-plugin": "^5.12.0",
  29. "@typescript-eslint/parser": "^5.12.0",
  30. "chai": "^4.3.6",
  31. "commitizen": "^4.2.4",
  32. "cross-env": "^7.0.3",
  33. "cz-conventional-changelog": "^3.3.0",
  34. "dotenv": "^16.0.0",
  35. "eslint": "^8.9.0",
  36. "eslint-config-prettier": "^8.3.0",
  37. "ethereum-waffle": "^3.4.0",
  38. "ethers": "^5.5.4",
  39. "fs-extra": "^10.0.0",
  40. "hardhat": "^2.8.4",
  41. "hardhat-gas-reporter": "^1.0.8",
  42. "husky": "^7.0.4",
  43. "lint-staged": "^12.3.4",
  44. "lodash": "^4.17.21",
  45. "mocha": "^9.2.0",
  46. "pinst": "^2.1.6",
  47. "prettier": "^2.5.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.20",
  54. "ts-generator": "^0.1.1",
  55. "ts-node": "^10.5.0",
  56. "typechain": "^7.0.0",
  57. "typescript": "^4.5.5"
  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",
  75. "commit": "git-cz",
  76. "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
  77. "coverage": "yarn typechain && 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.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
  82. "postinstall": "husky install",
  83. "postpublish": "pinst --enable",
  84. "prepublishOnly": "pinst --disable",
  85. "prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts}\"",
  86. "prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts}\"",
  87. "test": "hardhat test",
  88. "typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
  89. }
  90. }