package.json 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "openzeppelin-solidity",
  3. "description": "Secure Smart Contract library for Solidity",
  4. "version": "4.7.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": "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. "@nomiclabs/hardhat-truffle5": "^2.0.5",
  57. "@nomiclabs/hardhat-web3": "^2.0.0",
  58. "@openzeppelin/docs-utils": "^0.1.0",
  59. "@openzeppelin/test-helpers": "^0.5.13",
  60. "chai": "^4.2.0",
  61. "eslint": "^7.32.0",
  62. "eslint-config-standard": "^16.0.3",
  63. "eslint-plugin-import": "^2.25.4",
  64. "eslint-plugin-mocha": "^10.0.3",
  65. "eslint-plugin-node": "^11.1.0",
  66. "eslint-plugin-promise": "^5.2.0",
  67. "eth-sig-util": "^3.0.0",
  68. "ethereumjs-util": "^7.0.7",
  69. "ethereumjs-wallet": "^1.0.1",
  70. "graphlib": "^2.1.8",
  71. "hardhat": "^2.9.1",
  72. "hardhat-gas-reporter": "^1.0.4",
  73. "keccak256": "^1.0.2",
  74. "lodash.startcase": "^4.4.0",
  75. "lodash.zip": "^4.2.0",
  76. "merkletreejs": "^0.2.13",
  77. "micromatch": "^4.0.2",
  78. "prettier": "^2.3.0",
  79. "prettier-plugin-solidity": "^1.0.0-beta.16",
  80. "rimraf": "^3.0.2",
  81. "semver": "^7.3.5",
  82. "solhint": "^3.3.6",
  83. "solidity-ast": "^0.4.25",
  84. "solidity-coverage": "^0.7.18",
  85. "solidity-docgen": "^0.5.3",
  86. "web3": "^1.3.0",
  87. "yargs": "^17.0.0"
  88. }
  89. }