framework/extensions/package-manager/composer.json

68 lines
1.9 KiB
JSON
Raw Normal View History

2021-09-02 00:20:06 +08:00
{
2021-10-21 17:52:51 +08:00
"name": "flarum/package-manager",
2021-09-02 00:20:06 +08:00
"description": "A Flarum Package Manager.",
"keywords": [
"extensions", "composer", "packages", "manager", "updater"
],
"type": "flarum-extension",
"license": "MIT",
"authors": [
{
2021-10-21 17:52:51 +08:00
"name": "Flarum",
"email": "info@flarum.org",
"homepage": "https://flarum.org/team"
2021-09-02 00:20:06 +08:00
}
],
"support": {
2021-10-21 17:52:51 +08:00
"issues": "https://github.com/flarum/package-manager/issues",
"source": "https://github.com/flarum/package-manager"
2021-09-02 00:20:06 +08:00
},
"require": {
"flarum/core": "^1.0.0",
"composer/composer": "^2.0"
},
2021-10-21 17:52:51 +08:00
"require-dev": {
2021-11-20 23:54:19 +08:00
"flarum/core": "dev-master",
2021-11-09 03:22:07 +08:00
"flarum/testing": "^1.0.0",
"flarum/tags": "*"
2021-10-21 17:52:51 +08:00
},
2021-09-02 00:20:06 +08:00
"extra": {
"flarum-extension": {
"title": "Package Manager",
"icon": {
"name": "fas fa-box-open",
"backgroundColor": "#117187",
"color": "#fff"
}
}
},
"autoload": {
"psr-4": {
2021-10-21 17:52:51 +08:00
"Flarum\\PackageManager\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Flarum\\PackageManager\\Tests\\": "tests/"
2021-09-02 00:20:06 +08:00
}
2021-10-21 17:52:51 +08:00
},
"scripts": {
"test": [
"@test:unit",
"@test:integration"
],
"test:unit": "phpunit -c tests/phpunit.unit.xml",
"test:integration": "phpunit -c tests/phpunit.integration.xml",
"test:setup": [
"@php tests/integration/setup.php",
"cd $FLARUM_TEST_TMP_DIR_LOCAL && composer install"
]
},
"scripts-descriptions": {
"test": "Runs all tests.",
"test:unit": "Runs all unit tests.",
"test:integration": "Runs all integration tests.",
"test:setup": "Sets up a database for use with integration tests. Execute this only once."
2021-09-02 00:20:06 +08:00
}
}