package.json 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "openzeppelin-solidity",
  3. "description": "Secure Smart Contract library for Solidity",
  4. "version": "5.0.1",
  5. "private": true,
  6. "files": [
  7. "/contracts/**/*.sol",
  8. "!/contracts/mocks/**/*"
  9. ],
  10. "scripts": {
  11. "compile": "hardhat compile",
  12. "coverage": "env COVERAGE=true FOUNDRY=false 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": "prettier --log-level warn --ignore-path .gitignore '**/*.{js,ts}' --check && eslint --ignore-path .gitignore .",
  19. "lint:js:fix": "prettier --log-level warn --ignore-path .gitignore '**/*.{js,ts}' --write && eslint --ignore-path .gitignore . --fix",
  20. "lint:sol": "prettier --log-level warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --check && solhint '{contracts,test}/**/*.sol'",
  21. "lint:sol:fix": "prettier --log-level warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --write",
  22. "clean": "hardhat clean && rimraf build contracts/build",
  23. "prepack": "scripts/prepack.sh",
  24. "generate": "scripts/generate/run.js",
  25. "version": "scripts/release/version.sh",
  26. "test": "hardhat test",
  27. "test:inheritance": "scripts/checks/inheritance-ordering.js artifacts/build-info/*",
  28. "test:generation": "scripts/checks/generation.sh",
  29. "gas-report": "env ENABLE_GAS_REPORT=true npm run test",
  30. "slither": "npm run clean && slither ."
  31. },
  32. "repository": {
  33. "type": "git",
  34. "url": "https://github.com/OpenZeppelin/openzeppelin-contracts.git"
  35. },
  36. "keywords": [
  37. "solidity",
  38. "ethereum",
  39. "smart",
  40. "contracts",
  41. "security",
  42. "zeppelin"
  43. ],
  44. "author": "OpenZeppelin Community <maintainers@openzeppelin.org>",
  45. "license": "MIT",
  46. "bugs": {
  47. "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/issues"
  48. },
  49. "homepage": "https://openzeppelin.com/contracts/",
  50. "devDependencies": {
  51. "@changesets/changelog-github": "^0.5.0",
  52. "@changesets/cli": "^2.26.0",
  53. "@changesets/pre": "^2.0.0",
  54. "@changesets/read": "^0.6.0",
  55. "@nomicfoundation/hardhat-chai-matchers": "^2.0.3",
  56. "@nomicfoundation/hardhat-ethers": "^3.0.4",
  57. "@nomicfoundation/hardhat-foundry": "^1.1.1",
  58. "@nomicfoundation/hardhat-network-helpers": "^1.0.3",
  59. "@openzeppelin/docs-utils": "^0.1.5",
  60. "@openzeppelin/merkle-tree": "^1.0.5",
  61. "@openzeppelin/upgrade-safe-transpiler": "^0.3.32",
  62. "@openzeppelin/upgrades-core": "^1.20.6",
  63. "chai": "^4.2.0",
  64. "eslint": "^8.30.0",
  65. "eslint-config-prettier": "^9.0.0",
  66. "ethers": "^6.7.1",
  67. "glob": "^10.3.5",
  68. "graphlib": "^2.1.8",
  69. "hardhat": "^2.17.4",
  70. "hardhat-exposed": "^0.3.13",
  71. "hardhat-gas-reporter": "^1.0.9",
  72. "hardhat-ignore-warnings": "^0.2.0",
  73. "lodash.startcase": "^4.4.0",
  74. "micromatch": "^4.0.2",
  75. "p-limit": "^3.1.0",
  76. "prettier": "^3.0.0",
  77. "prettier-plugin-solidity": "^1.1.0",
  78. "rimraf": "^5.0.1",
  79. "semver": "^7.3.5",
  80. "solhint": "^3.6.1",
  81. "solhint-plugin-openzeppelin": "file:scripts/solhint-custom",
  82. "solidity-ast": "^0.4.50",
  83. "solidity-coverage": "^0.8.5",
  84. "solidity-docgen": "^0.6.0-beta.29",
  85. "undici": "^5.22.1",
  86. "yargs": "^17.0.0"
  87. }
  88. }