forum-oauth-center/composer.json

96 lines
2.5 KiB
JSON

{
"name": "rhodes-island/flarum-oauth-center",
"description": "Allow user to authorize the third-party clients",
"keywords": [
"flarum",
"user",
"oauth",
"center"
],
"type": "flarum-extension",
"license": "MIT",
"require": {
"flarum/core": "^1.8",
"bshaffer/oauth2-server-php": "*"
},
"authors": [
{
"name": "FoskyM",
"email": "i@fosky.top",
"role": "Developer",
"homepage": "https://fosky.top"
},
{
"name": "Rain",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"FoskyM\\OAuthCenter\\": "src/"
}
},
"extra": {
"flarum-extension": {
"title": "OAuth Center",
"category": "",
"icon": {
"name": "fas fa-user-friends",
"color": "#fff",
"backgroundColor": "#c12c1f"
}
},
"flarum-cli": {
"modules": {
"admin": true,
"forum": true,
"js": true,
"jsCommon": true,
"css": true,
"locale": true,
"gitConf": true,
"githubActions": true,
"prettier": true,
"typescript": true,
"bundlewatch": false,
"backendTesting": true,
"editorConfig": true,
"styleci": true
}
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload-dev": {
"psr-4": {
"FoskyM\\OAuthCenter\\Tests\\": "tests/"
}
},
"archive": {
"exclude": [
"vendor/",
"js/node_modules/",
"tests/",
"docs/",
".gitignore"
]
},
"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"
},
"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."
},
"require-dev": {
"flarum/testing": "^1.0.0"
}
}