aboutsummaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 27be9530b3b0cc9911f45ec2ed5d0a33f2766cac (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
{
    "config" : {
        "vendor-dir": "lib/composer",
        "optimize-autoloader": true
    },
    "autoload" : {
			"psr-4": {
			"": "lib/private/legacy",
            "OC\\": "lib/private",
            "OC\\Core\\": "core/",
            "OCP\\": "lib/public"
        }
    },
    "require": {
        "ext-json": "*",
        "ext-pdo": "*"
    },
    "require-dev": {
        "nextcloud/coding-standard": "^0.3.0"
    },
    "scripts": {
        "cs:fix": "php-cs-fixer fix",
        "cs:check": "php-cs-fixer fix --dry-run --diff",
        "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -print0 | xargs -0 -n1 php -l"
    }
}