mirror of
https://github.com/justinrainbow/json-schema.git
synced 2025-01-17 05:08:16 +01:00
73e38269ed
* Update: add ext-json to composer.json to ensure JSON extension availability * docs: add changelog entry --------- Co-authored-by: Danny van der Sluijs <danny.van.der.sluijs@infi.nl>
84 lines
2.2 KiB
JSON
84 lines
2.2 KiB
JSON
{
|
|
"name": "justinrainbow/json-schema",
|
|
"type": "library",
|
|
"description": "A library to validate a json schema.",
|
|
"keywords": [
|
|
"json",
|
|
"schema"
|
|
],
|
|
"homepage": "https://github.com/jsonrainbow/json-schema",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Bruno Prieto Reis",
|
|
"email": "bruno.p.reis@gmail.com"
|
|
},
|
|
{
|
|
"name": "Justin Rainbow",
|
|
"email": "justin.rainbow@gmail.com"
|
|
},
|
|
{
|
|
"name": "Igor Wiedler",
|
|
"email": "igor@wiedler.ch"
|
|
},
|
|
{
|
|
"name": "Robert Schönthal",
|
|
"email": "seroscho@googlemail.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^7.2 || ^8.0",
|
|
"ext-json": "*",
|
|
"marc-mabe/php-enum":"^2.0 || ^3.0 || ^4.0",
|
|
"icecave/parity": "^3.0"
|
|
},
|
|
"require-dev": {
|
|
"friendsofphp/php-cs-fixer": "~2.2.20 || ~2.19.0",
|
|
"json-schema/json-schema-test-suite": "1.2.0",
|
|
"phpunit/phpunit": "^8.5",
|
|
"phpspec/prophecy": "^1.19",
|
|
"phpstan/phpstan": "^1.12",
|
|
"marc-mabe/php-enum-phpstan": "^2.0"
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "6.x-dev"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"JsonSchema\\": "src/JsonSchema/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"JsonSchema\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": {
|
|
"name": "json-schema/json-schema-test-suite",
|
|
"version": "1.2.0",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/json-schema/JSON-Schema-Test-Suite",
|
|
"reference": "1.2.0"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"bin": [
|
|
"bin/validate-json"
|
|
],
|
|
"scripts": {
|
|
"coverage": "phpunit --coverage-text",
|
|
"style-check": "php-cs-fixer fix --dry-run --verbose --diff",
|
|
"style-fix": "php-cs-fixer fix --verbose",
|
|
"test": "phpunit",
|
|
"testOnly": "phpunit --colors --filter",
|
|
"phpstan": "@php phpstan"
|
|
}
|
|
}
|