|
1 | 1 | { |
2 | 2 | "name": "justinrainbow/json-schema", |
| 3 | + "type": "library", |
3 | 4 | "description": "A library to validate a json schema.", |
4 | | - "keywords": ["json", "schema"], |
| 5 | + "keywords": [ |
| 6 | + "json", |
| 7 | + "schema" |
| 8 | + ], |
5 | 9 | "homepage": "https://github.com/justinrainbow/json-schema", |
6 | | - "type": "library", |
7 | 10 | "license": "MIT", |
8 | 11 | "authors": [ |
9 | 12 | { |
|
23 | 26 | |
24 | 27 | } |
25 | 28 | ], |
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 | | - }], |
38 | 29 | "require": { |
39 | 30 | "php": ">=5.3.3", |
40 | | - "marc-mabe/php-enum":"2.3.1" |
| 31 | + "marc-mabe/php-enum": "2.3.1" |
41 | 32 | }, |
42 | 33 | "require-dev": { |
43 | | - "json-schema/JSON-Schema-Test-Suite": "1.2.0", |
44 | 34 | "friendsofphp/php-cs-fixer": "^2.1", |
| 35 | + "json-schema/JSON-Schema-Test-Suite": "1.2.0", |
45 | 36 | "phpunit/phpunit": "^4.8.35" |
46 | 37 | }, |
47 | | - "autoload": { |
48 | | - "psr-4": { "JsonSchema\\": "src/JsonSchema/" } |
49 | | - }, |
50 | | - "autoload-dev": { |
51 | | - "psr-4": { "JsonSchema\\Tests\\": "tests/" } |
52 | | - }, |
53 | | - "bin": ["bin/validate-json"], |
54 | 38 | "extra": { |
55 | 39 | "branch-alias": { |
56 | 40 | "dev-master": "5.0.x-dev" |
57 | 41 | } |
58 | 42 | }, |
| 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 | + ], |
59 | 70 | "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" |
65 | 76 | } |
66 | 77 | } |
0 commit comments