summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: e1b692bf1f176e85df503891177f9d38dd6f759d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
    "name": "grasmash/expander",
    "description": "Expands internal property references in PHP arrays file.",
    "type": "library",
    "require": {
        "php": ">=5.4",
        "dflydev/dot-access-data": "^1.1.0"
    },
    "license": "MIT",
    "authors": [
        {
            "name": "Matthew Grasmick"
        }
    ],
    "minimum-stability": "stable",
    "autoload": {
        "psr-4": {
            "Grasmash\\Expander\\": "src/"
        }
    },
    "require-dev": {
        "phpunit/phpunit": "^4|^5.5.4",
        "satooshi/php-coveralls": "^1.0.2|dev-master",
        "greg-1-anderson/composer-test-scenarios": "^1",
        "squizlabs/php_codesniffer": "^2.7"
    },
    "scripts": {
        "cs": "phpcs -n --standard=PSR2 src tests --exclude=Generic.Files.LineLength",
        "cbf": "phpcbf -n --standard=PSR2 src tests --exclude=Generic.Files.LineLength",
        "unit": "phpunit",
        "lint": [
            "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
            "find tests -name '*.php' -print0 | xargs -0 -n1 php -l"
        ],
        "test": [
            "@lint",
            "@unit",
            "@cs"
        ]
    },
    "config": {
        "optimize-autoloader": true,
        "sort-packages": true
    },
    "extra": {
        "branch-alias": {
            "dev-master": "1.x-dev"
        }
    }
}