mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 15:03:44 +08:00
68 lines
1.9 KiB
JSON
Executable File
68 lines
1.9 KiB
JSON
Executable File
{
|
|
"name": "flarum/package-manager",
|
|
"description": "A Flarum Package Manager.",
|
|
"keywords": [
|
|
"extensions", "composer", "packages", "manager", "updater"
|
|
],
|
|
"type": "flarum-extension",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Flarum",
|
|
"email": "info@flarum.org",
|
|
"homepage": "https://flarum.org/team"
|
|
}
|
|
],
|
|
"support": {
|
|
"issues": "https://github.com/flarum/package-manager/issues",
|
|
"source": "https://github.com/flarum/package-manager"
|
|
},
|
|
"require": {
|
|
"flarum/core": "^1.0.0",
|
|
"composer/composer": "^2.0"
|
|
},
|
|
"require-dev": {
|
|
"flarum/core": "dev-master",
|
|
"flarum/testing": "^1.0.0",
|
|
"flarum/tags": "*"
|
|
},
|
|
"extra": {
|
|
"flarum-extension": {
|
|
"title": "Package Manager",
|
|
"icon": {
|
|
"name": "fas fa-box-open",
|
|
"backgroundColor": "#117187",
|
|
"color": "#fff"
|
|
}
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Flarum\\PackageManager\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Flarum\\PackageManager\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"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."
|
|
}
|
|
}
|