package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "openzeppelin-solidity",
  3. "description": "Secure Smart Contract library for Solidity",
  4. "version": "4.6.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": "oz-docs",
  17. "docs:watch": "npm run docs watch contracts 'docs/*.hbs' docs/helpers.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": "eslint --ignore-path .gitignore .",
  22. "lint:js:fix": "eslint --ignore-path .gitignore . --fix",
  23. "lint:sol": "solhint 'contracts/**/*.sol' && prettier -c 'contracts/**/*.sol'",
  24. "lint:sol:fix": "prettier --write \"contracts/**/*.sol\"",
  25. "clean": "hardhat clean && rimraf build contracts/build",
  26. "prepare": "npm run clean && env COMPILE_MODE=production npm run compile",
  27. "prepack": "scripts/prepack.sh",
  28. "release": "scripts/release/release.sh",
  29. "version": "scripts/release/version.sh",
  30. "test": "hardhat test",
  31. "test:inheritance": "node scripts/inheritanceOrdering artifacts/build-info/*",
  32. "gas-report": "env ENABLE_GAS_REPORT=true npm run test",
  33. "slither": "npm run clean && slither . --detect reentrancy-eth,reentrancy-no-eth,reentrancy-unlimited-gas --filter-paths contracts/mocks"
  34. },
  35. "repository": {
  36. "type": "git",
  37. "url": "https://github.com/OpenZeppelin/openzeppelin-contracts.git"
  38. },
  39. "keywords": [
  40. "solidity",
  41. "ethereum",
  42. "smart",
  43. "contracts",
  44. "security",
  45. "zeppelin"
  46. ],
  47. "author": "OpenZeppelin Community <maintainers@openzeppelin.org>",
  48. "license": "MIT",
  49. "bugs": {
  50. "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/issues"
  51. },
  52. "homepage": "https://openzeppelin.com/contracts/",
  53. "devDependencies": {
  54. "@nomiclabs/hardhat-truffle5": "^2.0.5",
  55. "@nomiclabs/hardhat-web3": "^2.0.0",
  56. "@openzeppelin/docs-utils": "^0.1.0",
  57. "@openzeppelin/test-helpers": "^0.5.13",
  58. "chai": "^4.2.0",
  59. "eslint": "^7.32.0",
  60. "eslint-config-standard": "^16.0.3",
  61. "eslint-plugin-import": "^2.25.4",
  62. "eslint-plugin-mocha": "^10.0.3",
  63. "eslint-plugin-node": "^11.1.0",
  64. "eslint-plugin-promise": "^5.2.0",
  65. "eth-sig-util": "^3.0.0",
  66. "ethereumjs-util": "^7.0.7",
  67. "ethereumjs-wallet": "^1.0.1",
  68. "graphlib": "^2.1.8",
  69. "hardhat": "^2.9.1",
  70. "hardhat-gas-reporter": "^1.0.4",
  71. "keccak256": "^1.0.2",
  72. "lodash.startcase": "^4.4.0",
  73. "lodash.zip": "^4.2.0",
  74. "merkletreejs": "^0.2.13",
  75. "micromatch": "^4.0.2",
  76. "prettier": "^2.3.0",
  77. "prettier-plugin-solidity": "^1.0.0-beta.16",
  78. "rimraf": "^3.0.2",
  79. "semver": "^7.3.5",
  80. "solhint": "^3.3.6",
  81. "solidity-ast": "^0.4.25",
  82. "solidity-coverage": "^0.7.18",
  83. "solidity-docgen": "^0.5.3",
  84. "web3": "^1.3.0",
  85. "yargs": "^17.0.0"
  86. }
  87. }