package.json 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. "bin": {
  11. "openzeppelin-contracts-migrate-imports": "scripts/migrate-imports.js"
  12. },
  13. "scripts": {
  14. "compile": "hardhat compile",
  15. "coverage": "env COVERAGE=true hardhat coverage",
  16. "docs": "npm run prepare-docs && oz-docs",
  17. "docs:watch": "oz-docs watch contracts docs/templates docs/config.js",
  18. "prepare-docs": "scripts/prepare-docs.sh",
  19. "lint": "npm run lint:js && npm run lint:sol",
  20. "lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
  21. "lint:js": "prettier --loglevel warn --ignore-path .gitignore '**/*.{js,ts}' --check && eslint --ignore-path .gitignore .",
  22. "lint:js:fix": "prettier --loglevel warn --ignore-path .gitignore '**/*.{js,ts}' --write && eslint --ignore-path .gitignore . --fix",
  23. "lint:sol": "prettier --loglevel warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --check && solhint '{contracts,test}/**/*.sol'",
  24. "lint:sol:fix": "prettier --loglevel warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --write",
  25. "clean": "hardhat clean && rimraf build contracts/build",
  26. "prepare": "scripts/prepare.sh",
  27. "prepack": "scripts/prepack.sh",
  28. "generate": "scripts/generate/run.js",
  29. "release": "scripts/release/release.sh",
  30. "version": "scripts/release/version.sh",
  31. "test": "hardhat test",
  32. "test:inheritance": "scripts/checks/inheritance-ordering.js artifacts/build-info/*",
  33. "test:generation": "scripts/checks/generation.sh",
  34. "gas-report": "env ENABLE_GAS_REPORT=true npm run test",
  35. "slither": "npm run clean && slither . --detect reentrancy-eth,reentrancy-no-eth,reentrancy-unlimited-gas"
  36. },
  37. "repository": {
  38. "type": "git",
  39. "url": "https://github.com/OpenZeppelin/openzeppelin-contracts.git"
  40. },
  41. "keywords": [
  42. "solidity",
  43. "ethereum",
  44. "smart",
  45. "contracts",
  46. "security",
  47. "zeppelin"
  48. ],
  49. "author": "OpenZeppelin Community <maintainers@openzeppelin.org>",
  50. "license": "MIT",
  51. "bugs": {
  52. "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/issues"
  53. },
  54. "homepage": "https://openzeppelin.com/contracts/",
  55. "devDependencies": {
  56. "@changesets/changelog-github": "^0.4.8",
  57. "@changesets/cli": "^2.26.0",
  58. "@changesets/pre": "^1.0.14",
  59. "@changesets/read": "^0.5.9",
  60. "@nomicfoundation/hardhat-network-helpers": "^1.0.3",
  61. "@nomiclabs/hardhat-truffle5": "^2.0.5",
  62. "@nomiclabs/hardhat-web3": "^2.0.0",
  63. "@openzeppelin/docs-utils": "^0.1.3",
  64. "@openzeppelin/test-helpers": "^0.5.13",
  65. "@openzeppelin/upgrades-core": "^1.20.6",
  66. "chai": "^4.2.0",
  67. "eslint": "^8.30.0",
  68. "eslint-config-prettier": "^8.5.0",
  69. "eth-sig-util": "^3.0.0",
  70. "ethereumjs-util": "^7.0.7",
  71. "ethereumjs-wallet": "^1.0.1",
  72. "glob": "^8.0.3",
  73. "graphlib": "^2.1.8",
  74. "hardhat": "^2.9.1",
  75. "hardhat-exposed": "^0.3.1",
  76. "hardhat-gas-reporter": "^1.0.4",
  77. "hardhat-ignore-warnings": "^0.2.0",
  78. "keccak256": "^1.0.2",
  79. "lodash.startcase": "^4.4.0",
  80. "lodash.zip": "^4.2.0",
  81. "merkletreejs": "^0.2.13",
  82. "micromatch": "^4.0.2",
  83. "prettier": "^2.8.1",
  84. "prettier-plugin-solidity": "^1.1.0",
  85. "rimraf": "^3.0.2",
  86. "semver": "^7.3.5",
  87. "solhint": "^3.3.6",
  88. "solidity-ast": "^0.4.25",
  89. "solidity-coverage": "^0.8.0",
  90. "solidity-docgen": "^0.6.0-beta.29",
  91. "web3": "^1.3.0",
  92. "yargs": "^17.0.0"
  93. }
  94. }