composer.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "justinrainbow/json-schema",
  3. "type": "library",
  4. "description": "A library to validate a json schema.",
  5. "keywords": [
  6. "json",
  7. "schema"
  8. ],
  9. "homepage": "https://github.com/justinrainbow/json-schema",
  10. "license": "MIT",
  11. "authors": [
  12. {
  13. "name": "Bruno Prieto Reis",
  14. "email": "bruno.p.reis@gmail.com"
  15. },
  16. {
  17. "name": "Justin Rainbow",
  18. "email": "justin.rainbow@gmail.com"
  19. },
  20. {
  21. "name": "Igor Wiedler",
  22. "email": "igor@wiedler.ch"
  23. },
  24. {
  25. "name": "Robert Schönthal",
  26. "email": "seroscho@googlemail.com"
  27. }
  28. ],
  29. "require": {
  30. "php": ">=5.3.3"
  31. },
  32. "require-dev": {
  33. "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1",
  34. "json-schema/json-schema-test-suite": "1.2.0",
  35. "phpunit/phpunit": "^4.8.35"
  36. },
  37. "extra": {
  38. "branch-alias": {
  39. "dev-master": "5.0.x-dev"
  40. }
  41. },
  42. "autoload": {
  43. "psr-4": {
  44. "JsonSchema\\": "src/JsonSchema/"
  45. }
  46. },
  47. "autoload-dev": {
  48. "psr-4": {
  49. "JsonSchema\\Tests\\": "tests/"
  50. }
  51. },
  52. "repositories": [
  53. {
  54. "type": "package",
  55. "package": {
  56. "name": "json-schema/json-schema-test-suite",
  57. "version": "1.2.0",
  58. "source": {
  59. "type": "git",
  60. "url": "https://github.com/json-schema/JSON-Schema-Test-Suite",
  61. "reference": "1.2.0"
  62. }
  63. }
  64. }
  65. ],
  66. "bin": [
  67. "bin/validate-json"
  68. ],
  69. "scripts": {
  70. "coverage": "phpunit --coverage-text",
  71. "style-check": "php-cs-fixer fix --dry-run --verbose --diff",
  72. "style-fix": "php-cs-fixer fix --verbose",
  73. "test": "phpunit",
  74. "testOnly": "phpunit --colors --filter"
  75. }
  76. }