package.json 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "openzeppelin-solidity",
  3. "description": "Secure Smart Contract library for Solidity",
  4. "version": "4.2.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": "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. "prepublish": "rimraf build contracts/build artifacts cache",
  26. "prepare": "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. },
  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. "@nomiclabs/hardhat-truffle5": "^2.0.0",
  54. "@nomiclabs/hardhat-web3": "^2.0.0",
  55. "@openzeppelin/docs-utils": "^0.1.0",
  56. "@openzeppelin/test-helpers": "^0.5.9",
  57. "chai": "^4.2.0",
  58. "eslint": "^6.5.1",
  59. "eslint-config-standard": "^14.1.1",
  60. "eslint-plugin-import": "^2.20.0",
  61. "eslint-plugin-mocha-no-only": "^1.1.0",
  62. "eslint-plugin-node": "^10.0.0",
  63. "eslint-plugin-promise": "^4.2.1",
  64. "eslint-plugin-standard": "^4.0.1",
  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.0.6",
  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. "solhint": "^3.3.6",
  80. "solidity-ast": "^0.4.25",
  81. "solidity-coverage": "^0.7.11",
  82. "solidity-docgen": "^0.5.3",
  83. "web3": "^1.3.0",
  84. "yargs": "^16.2.0"
  85. }
  86. }