Skip to content

Commit 5da5dd3

Browse files
committed
Enhancement: Normalize composer.json
1 parent dd084db commit 5da5dd3

File tree

1 file changed

+39
-28
lines changed

1 file changed

+39
-28
lines changed

composer.json

Lines changed: 39 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"name": "justinrainbow/json-schema",
3+
"type": "library",
34
"description": "A library to validate a json schema.",
4-
"keywords": ["json", "schema"],
5+
"keywords": [
6+
"json",
7+
"schema"
8+
],
59
"homepage": "https://github.com/justinrainbow/json-schema",
6-
"type": "library",
710
"license": "MIT",
811
"authors": [
912
{
@@ -23,44 +26,52 @@
2326
"email": "[email protected]"
2427
}
2528
],
26-
"repositories": [{
27-
"type": "package",
28-
"package": {
29-
"name": "json-schema/JSON-Schema-Test-Suite",
30-
"version": "1.2.0",
31-
"source": {
32-
"url": "https://github.com/json-schema/JSON-Schema-Test-Suite",
33-
"type": "git",
34-
"reference": "1.2.0"
35-
}
36-
}
37-
}],
3829
"require": {
3930
"php": ">=5.3.3",
40-
"marc-mabe/php-enum":"2.3.1"
31+
"marc-mabe/php-enum": "2.3.1"
4132
},
4233
"require-dev": {
43-
"json-schema/JSON-Schema-Test-Suite": "1.2.0",
4434
"friendsofphp/php-cs-fixer": "^2.1",
35+
"json-schema/JSON-Schema-Test-Suite": "1.2.0",
4536
"phpunit/phpunit": "^4.8.35"
4637
},
47-
"autoload": {
48-
"psr-4": { "JsonSchema\\": "src/JsonSchema/" }
49-
},
50-
"autoload-dev": {
51-
"psr-4": { "JsonSchema\\Tests\\": "tests/" }
52-
},
53-
"bin": ["bin/validate-json"],
5438
"extra": {
5539
"branch-alias": {
5640
"dev-master": "5.0.x-dev"
5741
}
5842
},
43+
"autoload": {
44+
"psr-4": {
45+
"JsonSchema\\": "src/JsonSchema/"
46+
}
47+
},
48+
"autoload-dev": {
49+
"psr-4": {
50+
"JsonSchema\\Tests\\": "tests/"
51+
}
52+
},
53+
"repositories": [
54+
{
55+
"type": "package",
56+
"package": {
57+
"name": "json-schema/JSON-Schema-Test-Suite",
58+
"version": "1.2.0",
59+
"source": {
60+
"type": "git",
61+
"url": "https://github.com/json-schema/JSON-Schema-Test-Suite",
62+
"reference": "1.2.0"
63+
}
64+
}
65+
}
66+
],
67+
"bin": [
68+
"bin/validate-json"
69+
],
5970
"scripts": {
60-
"test" : "phpunit",
61-
"testOnly" : "phpunit --colors --filter",
62-
"coverage" : "phpunit --coverage-text",
63-
"style-check" : "php-cs-fixer fix --dry-run --verbose --diff",
64-
"style-fix" : "php-cs-fixer fix --verbose"
71+
"coverage": "phpunit --coverage-text",
72+
"style-check": "php-cs-fixer fix --dry-run --verbose --diff",
73+
"style-fix": "php-cs-fixer fix --verbose",
74+
"test": "phpunit",
75+
"testOnly": "phpunit --colors --filter"
6576
}
6677
}

0 commit comments

Comments
 (0)