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": [
|
2022-01-24 13:37:14 +08:00
|
|
|
"extensions",
|
|
|
|
"composer",
|
|
|
|
"packages",
|
|
|
|
"manager",
|
|
|
|
"updater"
|
2021-09-02 00:20:06 +08:00
|
|
|
],
|
|
|
|
"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": {
|
2022-09-16 17:54:39 +08:00
|
|
|
"flarum/core": "^1.5.0",
|
2022-04-25 20:31:16 +08:00
|
|
|
"composer/composer": "^2.3"
|
2021-09-02 00:20:06 +08:00
|
|
|
},
|
2021-10-21 17:52:51 +08:00
|
|
|
"require-dev": {
|
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"
|
|
|
|
}
|
2022-01-24 13:37:14 +08:00
|
|
|
},
|
|
|
|
"flarum-cli": {
|
2022-01-26 10:17:18 +08:00
|
|
|
"excludeScaffolding": [
|
|
|
|
".github/workflows/backend.yml",
|
|
|
|
"js/src/admin/index.ts",
|
|
|
|
"tests/phpunit.integration.xml",
|
|
|
|
"tests/integration/setup.php"
|
|
|
|
],
|
|
|
|
"excludeScaffoldingConfigKeys": {
|
|
|
|
"composer.json": [
|
|
|
|
"scripts.test:setup"
|
|
|
|
]
|
|
|
|
},
|
2022-01-24 13:37:14 +08:00
|
|
|
"modules": {
|
|
|
|
"admin": true,
|
|
|
|
"forum": false,
|
|
|
|
"js": true,
|
|
|
|
"jsCommon": false,
|
|
|
|
"css": true,
|
|
|
|
"gitConf": true,
|
|
|
|
"githubActions": true,
|
|
|
|
"prettier": true,
|
|
|
|
"typescript": true,
|
|
|
|
"bundlewatch": false,
|
|
|
|
"backendTesting": true,
|
|
|
|
"editorConfig": true,
|
|
|
|
"styleci": true
|
|
|
|
}
|
2021-09-02 00:20:06 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"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",
|
2022-04-25 20:31:16 +08:00
|
|
|
"cd ${FLARUM_TEST_TMP_DIR_LOCAL:-${FLARUM_TEST_TMP_DIR:-./tests/integration/tmp}} && composer install"
|
2021-10-21 17:52:51 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"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."
|
2022-01-24 13:37:14 +08:00
|
|
|
},
|
|
|
|
"minimum-stability": "dev",
|
2022-03-12 07:02:49 +08:00
|
|
|
"prefer-stable": true,
|
2022-03-12 07:02:51 +08:00
|
|
|
"repositories": [
|
|
|
|
{
|
2022-03-12 07:02:49 +08:00
|
|
|
"type": "path",
|
|
|
|
"url": "../../*/*"
|
2022-03-12 07:02:51 +08:00
|
|
|
}
|
|
|
|
]
|
2021-09-02 00:20:06 +08:00
|
|
|
}
|