package.json 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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.1.0",
  12. "@commitlint/config-conventional": "^13.1.0",
  13. "@ethersproject/abi": "^5.4.0",
  14. "@ethersproject/abstract-signer": "^5.4.1",
  15. "@ethersproject/bignumber": "^5.4.1",
  16. "@ethersproject/bytes": "^5.4.0",
  17. "@ethersproject/providers": "^5.4.3",
  18. "@nomiclabs/hardhat-ethers": "^2.0.2",
  19. "@nomiclabs/hardhat-waffle": "^2.0.1",
  20. "@typechain/ethers-v5": "^7.0.1",
  21. "@typechain/hardhat": "^2.2.0",
  22. "@types/chai": "^4.2.21",
  23. "@types/fs-extra": "^9.0.12",
  24. "@types/mocha": "^9.0.0",
  25. "@types/node": "^16.4.7",
  26. "@typescript-eslint/eslint-plugin": "^4.28.5",
  27. "@typescript-eslint/parser": "^4.28.5",
  28. "chai": "^4.3.4",
  29. "commitizen": "^4.2.4",
  30. "cz-conventional-changelog": "^3.3.0",
  31. "dotenv": "^10.0.0",
  32. "eslint": "^7.31.0",
  33. "eslint-config-prettier": "^8.3.0",
  34. "ethereum-waffle": "^3.4.0",
  35. "ethers": "^5.4.3",
  36. "fs-extra": "^10.0.0",
  37. "hardhat": "^2.5.0",
  38. "hardhat-gas-reporter": "^1.0.4",
  39. "husky": "^7.0.1",
  40. "lint-staged": "^11.1.1",
  41. "mocha": "^9.0.3",
  42. "prettier": "^2.3.2",
  43. "prettier-plugin-solidity": "^1.0.0-beta.17",
  44. "shelljs": "^0.8.4",
  45. "solhint": "^3.3.6",
  46. "solhint-plugin-prettier": "^0.0.5",
  47. "solidity-coverage": "^0.7.16",
  48. "ts-generator": "^0.1.1",
  49. "ts-node": "^10.1.0",
  50. "typechain": "^5.1.2",
  51. "typescript": "~4.2.4"
  52. },
  53. "files": [
  54. "/contracts"
  55. ],
  56. "keywords": [
  57. "blockchain",
  58. "ethereum",
  59. "hardhat",
  60. "smart-contracts",
  61. "solidity"
  62. ],
  63. "private": true,
  64. "resolutions": {
  65. "@ethersproject/abi": "^5.4.0",
  66. "@ethersproject/wallet": "^5.4.0",
  67. "@solidity-parser/parser": "^0.13.2",
  68. "ethers": "^5.4.0"
  69. },
  70. "scripts": {
  71. "clean": "hardhat clean",
  72. "commit": "git-cz",
  73. "compile": "hardhat compile",
  74. "coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/**/*.ts\"",
  75. "deploy": "hardhat run scripts/deploy.ts",
  76. "deploy:network": "hardhat run scripts/deploy.ts --network",
  77. "lint": "yarn run lint:sol && yarn run lint:ts && yarn run prettier:check",
  78. "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
  79. "lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
  80. "postinstall": "husky install",
  81. "prettier": "prettier --config ./.prettierrc --write \"**/*.{js,json,md,sol,ts}\"",
  82. "prettier:check": "prettier --check --config ./.prettierrc \"**/*.{js,json,md,sol,ts}\"",
  83. "test": "hardhat test",
  84. "typechain": "hardhat typechain"
  85. }
  86. }