package.json 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "openzeppelin-solidity",
  3. "description": "Secure Smart Contract library for Solidity",
  4. "version": "4.9.2",
  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": "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. "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 ."
  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. "@changesets/changelog-github": "^0.4.8",
  54. "@changesets/cli": "^2.26.0",
  55. "@changesets/pre": "^1.0.14",
  56. "@changesets/read": "^0.5.9",
  57. "@nomicfoundation/hardhat-network-helpers": "^1.0.3",
  58. "@nomiclabs/hardhat-truffle5": "^2.0.5",
  59. "@nomiclabs/hardhat-web3": "^2.0.0",
  60. "@openzeppelin/docs-utils": "^0.1.3",
  61. "@openzeppelin/test-helpers": "^0.5.13",
  62. "@openzeppelin/upgrades-core": "^1.20.6",
  63. "array.prototype.at": "^1.1.1",
  64. "chai": "^4.2.0",
  65. "eslint": "^8.30.0",
  66. "eslint-config-prettier": "^9.0.0",
  67. "eth-sig-util": "^3.0.0",
  68. "ethereumjs-util": "^7.0.7",
  69. "ethereumjs-wallet": "^1.0.1",
  70. "glob": "^8.0.3",
  71. "graphlib": "^2.1.8",
  72. "hardhat": "^2.9.1",
  73. "hardhat-exposed": "^0.3.11",
  74. "hardhat-gas-reporter": "^1.0.4",
  75. "hardhat-ignore-warnings": "^0.2.0",
  76. "keccak256": "^1.0.2",
  77. "lodash.startcase": "^4.4.0",
  78. "lodash.zip": "^4.2.0",
  79. "merkletreejs": "^0.2.13",
  80. "micromatch": "^4.0.2",
  81. "p-limit": "^3.1.0",
  82. "prettier": "^3.0.0",
  83. "prettier-plugin-solidity": "^1.1.0",
  84. "rimraf": "^3.0.2",
  85. "semver": "^7.3.5",
  86. "solhint": "^3.3.6",
  87. "solhint-plugin-openzeppelin": "file:scripts/solhint-custom",
  88. "solidity-ast": "^0.4.50",
  89. "solidity-coverage": "^0.8.0",
  90. "solidity-docgen": "^0.6.0-beta.29",
  91. "undici": "^5.22.1",
  92. "web3": "^1.3.0",
  93. "yargs": "^17.0.0"
  94. }
  95. }