summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 5171be14d59ac4dc44ebaeeca8c790080318ee70 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
    "name": "bartlett/php-compatinfo-db",
    "description": "Reference Database to be used with php-compatinfo library",
    "keywords": ["compatibility", "database", "reference"],
    "type": "library",
    "license": "BSD-3-Clause",
    "homepage": "http://bartlett.laurent-laville.org/php-compatinfo/",
    "support": {
        "source": "https://github.com/llaville/php-compatinfo-db",
        "issues": "https://github.com/llaville/php-compatinfo-db/issues"
    },
    "require": {
        "php": "^7.2|^8.0",
        "ext-json": "*",
        "ext-pcre": "*",
        "ext-pdo": "*",
        "ext-phar": "*",
        "ext-spl": "*",
        "composer/package-versions-deprecated": "^1.8",
        "composer/semver": "^1.0|^2.0|^3.0",
        "doctrine/orm": "^2.7",
        "symfony/config": "^4.4|^5.0",
        "symfony/console": "^4.4|^5.0",
        "symfony/dependency-injection": "^4.4|^5.0",
        "symfony/event-dispatcher": "^4.4|^5.0",
        "symfony/messenger": "^4.4|^5.0",
        "symfony/requirements-checker": "^2.0",
        "symfony/stopwatch": "^4.4|^5.0"
    },
    "require-dev": {
        "composer/composer": "^2.0",
        "psr/log": "^1.0",
        "symfony/phpunit-bridge": "^5.1"
    },
    "authors": [
        {
            "name": "Laurent Laville",
            "email": "pear@laurent-laville.org",
            "homepage": "https://github.com/llaville",
            "role": "Lead"
        },
        {
            "name": "Remi Collet",
            "homepage": "https://github.com/remicollet",
            "role": "Contributor"
        }
    ],
    "autoload": {
        "psr-4": {
            "Bartlett\\CompatInfoDb\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Bartlett\\CompatInfoDb\\Tests\\": "tests/"
        }
    },
    "scripts": {
        "setup-database": [
            "mkdir -p ${HOME}/.cache/bartlett/ && touch ${HOME}/.cache/bartlett/compatinfo-db.sqlite",
            "export DATABASE_URL=sqlite:///${HOME}/.cache/bartlett/compatinfo-db.sqlite",
            "vendor/bin/doctrine orm:schema-tool:create",
            "bin/compatinfo-db db:init"
        ],
        "post-install-cmd": [
            "Bartlett\\CompatInfoDb\\ComposerScripts::preparePharMetadata",
            "@setup-database"
        ],
        "post-update-cmd": [
            "Bartlett\\CompatInfoDb\\ComposerScripts::preparePharMetadata",
            "@setup-database"
        ]
    },
    "scripts-descriptions": {
        "setup-database": "Initializes SQLite database from JSON files in data directory."
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "config": {
        "sort-packages": true,
        "optimize-autoloader": true
    }
}