|
1 | 1 | {
|
2 |
| - "name": "gentics/mesh-php-client", |
3 |
| - "type": "library", |
4 |
| - "description": "Gentics Mesh PHP Client Library", |
5 |
| - "license": "Apache-2.0", |
6 |
| - "keywords": [ |
7 |
| - "mesh", |
8 |
| - "rest-client", |
9 |
| - "sdk" |
10 |
| - ], |
11 |
| - "autoload": { |
12 |
| - "psr-4": { |
13 |
| - "Gentics\\Mesh\\Client\\": "src/" |
14 |
| - } |
15 |
| - }, |
16 |
| - "autoload-dev": { |
17 |
| - "psr-4": { |
18 |
| - "Gentics\\Mesh\\ClientTest\\": "tests/" |
19 |
| - } |
20 |
| - }, |
21 |
| - "require": { |
22 |
| - "php": "^8.1", |
23 |
| - "ext-json": "*", |
24 |
| - "guzzlehttp/guzzle": "^7.4.5", |
25 |
| - "ioflair/php-proxy": "^4.0.1" |
26 |
| - }, |
27 |
| - "require-dev": { |
28 |
| - "isaac/composer-git-hooks": "^2.0.0", |
29 |
| - "friendsofphp/php-cs-fixer": "^3.8.0", |
30 |
| - "overtrue/phplint": "^5.2.2", |
31 |
| - "phpunit/phpunit": "^9.5.21", |
32 |
| - "enlightn/security-checker": "^1.10.0", |
33 |
| - "squizlabs/php_codesniffer": "^3.7.1" |
34 |
| - }, |
35 |
| - "config": { |
36 |
| - "sort-packages": true, |
37 |
| - "allow-plugins": { |
38 |
| - "isaac/composer-git-hooks": true |
39 |
| - } |
40 |
| - }, |
41 |
| - "minimum-stability": "dev", |
42 |
| - "prefer-stable": true, |
43 |
| - "scripts": { |
44 |
| - "pre-commit": [ |
45 |
| - "@test" |
46 |
| - ], |
47 |
| - "lint": [ |
48 |
| - "phplint src/", |
49 |
| - "php-cs-fixer fix --dry-run --verbose", |
50 |
| - "phpcs src/" |
51 |
| - ], |
52 |
| - "securitycheck": [ |
53 |
| - "security-checker security:check composer.lock" |
54 |
| - ], |
55 |
| - "phpunit": [ |
56 |
| - "phpunit tests/" |
57 |
| - ], |
58 |
| - "test": [ |
59 |
| - "@composer validate", |
60 |
| - "@lint", |
61 |
| - "@securitycheck" |
62 |
| - ], |
63 |
| - "fixcode": [ |
64 |
| - "php-cs-fixer fix" |
65 |
| - ], |
66 |
| - "build": [ |
67 |
| - "@composer install", |
68 |
| - "mkdir -p .reports", |
69 |
| - "./vendor/bin/phplint src/", |
70 |
| - "./vendor/bin/php-cs-fixer fix --dry-run --format=junit > .reports/php-cs-fixer.xml || true", |
71 |
| - "./vendor/bin/phpcs --warning-severity=6 --report=junit --report-file=.reports/phpcs.xml src/ || true", |
72 |
| - "./vendor/bin/phpunit --log-junit=.reports/phpunit.xml src/ || true", |
73 |
| - "./vendor/bin/security-checker security:check composer.lock" |
74 |
| - ] |
75 |
| - } |
| 2 | + "name": "gentics/mesh-php-client", |
| 3 | + "type": "library", |
| 4 | + "description": "Gentics Mesh PHP Client Library", |
| 5 | + "license": "Apache-2.0", |
| 6 | + "keywords": [ |
| 7 | + "mesh", |
| 8 | + "rest-client", |
| 9 | + "sdk" |
| 10 | + ], |
| 11 | + "autoload": { |
| 12 | + "psr-4": { |
| 13 | + "Gentics\\Mesh\\Client\\": "src/" |
| 14 | + } |
| 15 | + }, |
| 16 | + "autoload-dev": { |
| 17 | + "psr-4": { |
| 18 | + "Gentics\\Mesh\\ClientTest\\": "tests/" |
| 19 | + } |
| 20 | + }, |
| 21 | + "require": { |
| 22 | + "php": "^8.1", |
| 23 | + "ext-json": "*", |
| 24 | + "guzzlehttp/guzzle": "^7.4.5", |
| 25 | + "ioflair/php-proxy": "^4.0.2" |
| 26 | + }, |
| 27 | + "require-dev": { |
| 28 | + "isaac/composer-git-hooks": "^2.0.0", |
| 29 | + "friendsofphp/php-cs-fixer": "^3.8.0", |
| 30 | + "overtrue/phplint": "^5.2.2", |
| 31 | + "phpunit/phpunit": "^9.5.21", |
| 32 | + "enlightn/security-checker": "^1.10.0", |
| 33 | + "squizlabs/php_codesniffer": "^3.7.1" |
| 34 | + }, |
| 35 | + "config": { |
| 36 | + "sort-packages": true, |
| 37 | + "allow-plugins": { |
| 38 | + "isaac/composer-git-hooks": true |
| 39 | + } |
| 40 | + }, |
| 41 | + "minimum-stability": "dev", |
| 42 | + "prefer-stable": true, |
| 43 | + "scripts": { |
| 44 | + "pre-commit": [ |
| 45 | + "@test" |
| 46 | + ], |
| 47 | + "lint": [ |
| 48 | + "phplint src/", |
| 49 | + "php-cs-fixer fix --dry-run --verbose", |
| 50 | + "phpcs src/" |
| 51 | + ], |
| 52 | + "securitycheck": [ |
| 53 | + "security-checker security:check composer.lock" |
| 54 | + ], |
| 55 | + "phpunit": [ |
| 56 | + "phpunit tests/" |
| 57 | + ], |
| 58 | + "test": [ |
| 59 | + "@composer validate", |
| 60 | + "@lint", |
| 61 | + "@securitycheck" |
| 62 | + ], |
| 63 | + "fixcode": [ |
| 64 | + "php-cs-fixer fix" |
| 65 | + ], |
| 66 | + "build": [ |
| 67 | + "@composer install", |
| 68 | + "mkdir -p .reports", |
| 69 | + "./vendor/bin/phplint src/", |
| 70 | + "./vendor/bin/php-cs-fixer fix --dry-run --format=junit > .reports/php-cs-fixer.xml || true", |
| 71 | + "./vendor/bin/phpcs --warning-severity=6 --report=junit --report-file=.reports/phpcs.xml src/ || true", |
| 72 | + "./vendor/bin/phpunit --log-junit=.reports/phpunit.xml src/ || true", |
| 73 | + "./vendor/bin/security-checker security:check composer.lock" |
| 74 | + ] |
| 75 | + } |
76 | 76 | }
|
0 commit comments