summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-15 07:32:20 +0100
committerRemi Collet <remi@remirepo.net>2019-01-15 07:32:20 +0100
commit38c137c727d99dbe2d0c7f82fe6c67aeae8e9c41 (patch)
tree955744a0d6b752097ec3a0758e4ceb16a2f328bd /composer.json
parent84b5be8553e7d9dcb9483143a221e098f02894e9 (diff)
v5.2.8
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json65
1 files changed, 38 insertions, 27 deletions
diff --git a/composer.json b/composer.json
index 6e72ab9..20e85fc 100644
--- a/composer.json
+++ b/composer.json
@@ -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": [
{
@@ -23,43 +26,51 @@
"email": "seroscho@googlemail.com"
}
],
- "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"
},
"require-dev": {
+ "friendsofphp/php-cs-fixer": "~2.2.20",
"json-schema/JSON-Schema-Test-Suite": "1.2.0",
- "friendsofphp/php-cs-fixer": "^2.1",
"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"
}
}