Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Normalize composer.json #505

Merged
merged 1 commit into from
May 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 39 additions & 28 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"name": "justinrainbow/json-schema",
"type": "library",
"description": "A library to validate a json schema.",
"keywords": ["json", "schema"],
"keywords": [
"json",
"schema"
],
"homepage": "https://github.com/justinrainbow/json-schema",
"type": "library",
"license": "MIT",
"authors": [
{
Expand All @@ -23,44 +26,52 @@
"email": "[email protected]"
}
],
"repositories": [{
"type": "package",
"package": {
"name": "json-schema/JSON-Schema-Test-Suite",
"version": "1.2.0",
"source": {
"url": "https://github.com/json-schema/JSON-Schema-Test-Suite",
"type": "git",
"reference": "1.2.0"
}
}
}],
"require": {
"php": ">=5.3.3",
"marc-mabe/php-enum":"2.3.1"
"marc-mabe/php-enum": "2.3.1"
},
"require-dev": {
"json-schema/JSON-Schema-Test-Suite": "1.2.0",
"friendsofphp/php-cs-fixer": "^2.1",
"json-schema/JSON-Schema-Test-Suite": "1.2.0",
"phpunit/phpunit": "^4.8.35"
},
"autoload": {
"psr-4": { "JsonSchema\\": "src/JsonSchema/" }
},
"autoload-dev": {
"psr-4": { "JsonSchema\\Tests\\": "tests/" }
},
"bin": ["bin/validate-json"],
"extra": {
"branch-alias": {
"dev-master": "5.0.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": {
"test" : "phpunit",
"testOnly" : "phpunit --colors --filter",
"coverage" : "phpunit --coverage-text",
"style-check" : "php-cs-fixer fix --dry-run --verbose --diff",
"style-fix" : "php-cs-fixer fix --verbose"
"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"
}
}