package.json 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. "@nomiclabs/hardhat-ethers": "^2.0.6",
  18. "@nomiclabs/hardhat-etherscan": "^3.1.0",
  19. "@nomiclabs/hardhat-waffle": "^2.0.3",
  20. "@trivago/prettier-plugin-sort-imports": "^3.2.0",
  21. "@typechain/ethers-v5": "^10.1.0",
  22. "@typechain/hardhat": "^6.1.2",
  23. "@types/chai": "^4.3.1",
  24. "@types/fs-extra": "^9.0.13",
  25. "@types/mocha": "^9.1.1",
  26. "@types/node": "^18.0.0",
  27. "@typescript-eslint/eslint-plugin": "^5.30.0",
  28. "@typescript-eslint/parser": "^5.30.0",
  29. "chai": "^4.3.6",
  30. "commitizen": "^4.2.4",
  31. "cross-env": "^7.0.3",
  32. "cz-conventional-changelog": "^3.3.0",
  33. "dotenv": "^16.0.1",
  34. "eslint": "^8.18.0",
  35. "eslint-config-prettier": "^8.5.0",
  36. "ethereum-waffle": "^3.4.4",
  37. "ethers": "^5.6.9",
  38. "fs-extra": "^10.1.0",
  39. "hardhat": "^2.9.9",
  40. "hardhat-gas-reporter": "^1.0.8",
  41. "husky": "^8.0.1",
  42. "lint-staged": "^13.0.3",
  43. "lodash": "^4.17.21",
  44. "mocha": "^10.0.0",
  45. "pinst": "^3.0.0",
  46. "prettier": "^2.7.1",
  47. "prettier-plugin-solidity": "^1.0.0-dev.21",
  48. "shelljs": "^0.8.5",
  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.8.1",
  55. "typechain": "^8.1.0",
  56. "typescript": "^4.7.4"
  57. },
  58. "files": [
  59. "/contracts"
  60. ],
  61. "keywords": [
  62. "blockchain",
  63. "ethereum",
  64. "hardhat",
  65. "smart-contracts",
  66. "solidity"
  67. ],
  68. "packageManager": "yarn@3.2.0",
  69. "publishConfig": {
  70. "access": "public"
  71. },
  72. "scripts": {
  73. "clean": "shx rm -rf ./artifacts ./cache ./coverage ./src/types ./coverage.json && yarn typechain",
  74. "commit": "git-cz",
  75. "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
  76. "coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain",
  77. "deploy": "hardhat deploy:Greeter",
  78. "lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
  79. "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
  80. "lint:ts": "eslint --config ./.eslintrc.yml --ignore-path ./.eslintignore --ext .js,.ts .",
  81. "postinstall": "husky install",
  82. "postpublish": "pinst --enable",
  83. "prepublishOnly": "pinst --disable",
  84. "prettier": "prettier --config ./.prettierrc.yml --write \"**/*.{js,json,md,sol,ts,yaml,yml}\"",
  85. "prettier:check": "prettier --check --config ./.prettierrc.yml \"**/*.{js,json,md,sol,ts,yaml,yml}\"",
  86. "test": "hardhat test",
  87. "typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
  88. }
  89. }