package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "openzeppelin-solidity",
  3. "description": "Secure Smart Contract library for Solidity",
  4. "version": "4.8.0",
  5. "files": [
  6. "/contracts/**/*.sol",
  7. "/build/contracts/*.json",
  8. "!/contracts/mocks/**/*"
  9. ],
  10. "scripts": {
  11. "compile": "hardhat compile",
  12. "coverage": "env COVERAGE=true hardhat coverage",
  13. "docs": "npm run prepare-docs && oz-docs",
  14. "docs:watch": "oz-docs watch contracts 'docs/templates' docs/config.js",
  15. "prepare-docs": "scripts/prepare-docs.sh",
  16. "lint": "npm run lint:js && npm run lint:sol",
  17. "lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
  18. "lint:js": "eslint --ignore-path .gitignore .",
  19. "lint:js:fix": "eslint --ignore-path .gitignore . --fix",
  20. "lint:sol": "solhint '{contracts,test}/**/*.sol' && prettier -c '{contracts,test}/**/*.sol'",
  21. "lint:sol:fix": "prettier --write '{contracts,test}/**/*.sol'",
  22. "clean": "hardhat clean && rimraf build contracts/build",
  23. "prepare": "scripts/prepare.sh",
  24. "prepack": "scripts/prepack.sh",
  25. "generate": "scripts/generate/run.js",
  26. "release": "scripts/release/release.sh",
  27. "version": "scripts/release/version.sh",
  28. "test": "hardhat test",
  29. "test:inheritance": "scripts/checks/inheritance-ordering.js artifacts/build-info/*",
  30. "test:generation": "scripts/checks/generation.sh",
  31. "gas-report": "env ENABLE_GAS_REPORT=true npm run test",
  32. "slither": "npm run clean && slither . --detect reentrancy-eth,reentrancy-no-eth,reentrancy-unlimited-gas"
  33. },
  34. "repository": {
  35. "type": "git",
  36. "url": "https://github.com/OpenZeppelin/openzeppelin-contracts.git"
  37. },
  38. "keywords": [
  39. "solidity",
  40. "ethereum",
  41. "smart",
  42. "contracts",
  43. "security",
  44. "zeppelin"
  45. ],
  46. "author": "OpenZeppelin Community <maintainers@openzeppelin.org>",
  47. "license": "MIT",
  48. "bugs": {
  49. "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/issues"
  50. },
  51. "homepage": "https://openzeppelin.com/contracts/",
  52. "devDependencies": {
  53. "@nomicfoundation/hardhat-network-helpers": "^1.0.3",
  54. "@nomiclabs/hardhat-truffle5": "^2.0.5",
  55. "@nomiclabs/hardhat-web3": "^2.0.0",
  56. "@openzeppelin/docs-utils": "^0.1.3",
  57. "@openzeppelin/test-helpers": "^0.5.13",
  58. "array.prototype.at": "^1.1.1",
  59. "chai": "^4.2.0",
  60. "eslint": "^7.32.0",
  61. "eslint-config-standard": "^16.0.3",
  62. "eslint-plugin-import": "^2.25.4",
  63. "eslint-plugin-mocha": "^10.0.3",
  64. "eslint-plugin-node": "^11.1.0",
  65. "eslint-plugin-promise": "^5.2.0",
  66. "eth-sig-util": "^3.0.0",
  67. "ethereumjs-util": "^7.0.7",
  68. "ethereumjs-wallet": "^1.0.1",
  69. "glob": "^8.0.3",
  70. "graphlib": "^2.1.8",
  71. "hardhat": "^2.9.1",
  72. "hardhat-gas-reporter": "^1.0.4",
  73. "hardhat-ignore-warnings": "^0.2.0",
  74. "keccak256": "^1.0.2",
  75. "lodash.startcase": "^4.4.0",
  76. "lodash.zip": "^4.2.0",
  77. "merkletreejs": "^0.2.13",
  78. "micromatch": "^4.0.2",
  79. "prettier": "^2.3.0",
  80. "prettier-plugin-solidity": "^1.1.0",
  81. "rimraf": "^3.0.2",
  82. "semver": "^7.3.5",
  83. "solhint": "^3.3.6",
  84. "solidity-ast": "^0.4.25",
  85. "solidity-coverage": "^0.8.0",
  86. "solidity-docgen": "^0.6.0-beta.29",
  87. "web3": "^1.3.0",
  88. "yargs": "^17.0.0"
  89. }
  90. }