package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "@paulrberg/solidity-template",
  3. "description": "Setup 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.11",
  11. "@commitlint/cli": "^13.2.1",
  12. "@commitlint/config-conventional": "^13.2.0",
  13. "@ethersproject/abi": "^5.4.1",
  14. "@ethersproject/abstract-signer": "^5.4.1",
  15. "@ethersproject/bignumber": "^5.4.2",
  16. "@ethersproject/bytes": "^5.4.0",
  17. "@ethersproject/providers": "^5.4.5",
  18. "@nomiclabs/hardhat-ethers": "^2.0.2",
  19. "@nomiclabs/hardhat-waffle": "^2.0.1",
  20. "@typechain/ethers-v5": "^7.2.0",
  21. "@typechain/hardhat": "^2.3.1",
  22. "@types/chai": "^4.2.22",
  23. "@types/fs-extra": "^9.0.13",
  24. "@types/mocha": "^9.0.0",
  25. "@types/node": "^16.11.1",
  26. "@typescript-eslint/eslint-plugin": "^5.0.0",
  27. "@typescript-eslint/parser": "^5.0.0",
  28. "chai": "^4.3.4",
  29. "commitizen": "^4.2.4",
  30. "cross-env": "^7.0.3",
  31. "cz-conventional-changelog": "^3.3.0",
  32. "dotenv": "^10.0.0",
  33. "eslint": "^8.0.1",
  34. "eslint-config-prettier": "^8.3.0",
  35. "ethereum-waffle": "^3.4.0",
  36. "ethers": "^5.4.7",
  37. "fs-extra": "^10.0.0",
  38. "hardhat": "^2.6.6",
  39. "hardhat-gas-reporter": "^1.0.4",
  40. "husky": "^7.0.2",
  41. "lint-staged": "^11.2.3",
  42. "lodash": "^4.17.21",
  43. "mocha": "^9.1.3",
  44. "pinst": "^2.1.6",
  45. "prettier": "^2.4.1",
  46. "prettier-plugin-solidity": "^1.0.0-beta.18",
  47. "shelljs": "^0.8.4",
  48. "shx": "^0.3.3",
  49. "solhint": "^3.3.6",
  50. "solhint-plugin-prettier": "^0.0.5",
  51. "solidity-coverage": "^0.7.17",
  52. "ts-generator": "^0.1.1",
  53. "ts-node": "^10.3.0",
  54. "typechain": "^5.2.0",
  55. "typescript": "^4.4.4"
  56. },
  57. "files": [
  58. "/contracts"
  59. ],
  60. "keywords": [
  61. "blockchain",
  62. "ethereum",
  63. "hardhat",
  64. "smart-contracts",
  65. "solidity"
  66. ],
  67. "publishConfig": {
  68. "access": "public"
  69. },
  70. "scripts": {
  71. "clean": "shx rm -rf ./artifacts ./cache ./coverage ./typechain ./coverage.json",
  72. "commit": "git-cz",
  73. "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
  74. "coverage": "cross-env CODE_COVERAGE=true hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/**/*.ts\"",
  75. "deploy": "hardhat deploy:Greeter",
  76. "lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
  77. "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
  78. "lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
  79. "postinstall": "husky install",
  80. "postpublish": "pinst --enable",
  81. "prepublishOnly": "pinst --disable",
  82. "prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts}\"",
  83. "prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts}\"",
  84. "test": "hardhat test",
  85. "typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
  86. }
  87. }