15ea3bcc9baea519b972fdf50388073aa12946fc
[yaffs-website] / vendor / consolidation / config / composer.json
1 {
2     "name": "consolidation/config",
3     "description": "Provide configuration services for a commandline tool.",
4     "license": "MIT",
5     "authors": [
6         {
7             "name": "Greg Anderson",
8             "email": "greg.1.anderson@greenknowe.org"
9         }
10     ],
11     "autoload":{
12         "psr-4":{
13             "Consolidation\\Config\\": "src"
14         }
15     },
16     "autoload-dev": {
17         "psr-4": {
18             "Consolidation\\TestUtils\\": "tests/src"
19         }
20     },
21     "require": {
22         "php": ">=5.4.0",
23         "dflydev/dot-access-data": "^1.1.0",
24         "grasmash/expander": "^1"
25     },
26     "require-dev": {
27         "phpunit/phpunit": "^4",
28         "greg-1-anderson/composer-test-scenarios": "^1",
29         "symfony/console": "^2.5|^3|^4",
30         "symfony/yaml": "^2.8.11|^3|^4",
31         "satooshi/php-coveralls": "^1.0",
32         "squizlabs/php_codesniffer": "2.*"
33     },
34     "suggest": {
35         "symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader"
36     },
37     "config": {
38         "optimize-autoloader": true,
39         "sort-packages": true,
40         "platform": {
41             "php": "5.6"
42         }
43     },
44     "scripts": {
45         "cs": "phpcs --standard=PSR2 -n src",
46         "cbf": "phpcbf --standard=PSR2 -n src",
47         "unit": "SHELL_INTERACTIVE=true phpunit --colors=always",
48         "lint": [
49             "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
50             "find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
51         ],
52         "test": [
53             "@lint",
54             "@unit",
55             "@cs"
56         ],
57         "scenario": "scenarios/install",
58         "post-update-cmd": [
59             "create-scenario symfony4 'symfony/console:^4.0'",
60             "create-scenario symfony2 'symfony/console:^2.8' --platform-php '5.4' --no-lockfile"
61         ]
62     },
63     "extra": {
64         "branch-alias": {
65             "dev-master": "1.x-dev"
66         }
67     }
68 }