2023-09-28 17:42:13 +08:00
|
|
|
{
|
2024-02-25 04:55:37 +08:00
|
|
|
"name": "rhodes-island/flarum-oauth-center",
|
|
|
|
"description": "Allow user to authorize the third-party clients",
|
2023-09-28 17:42:13 +08:00
|
|
|
"keywords": [
|
|
|
|
"flarum",
|
|
|
|
"user",
|
|
|
|
"oauth",
|
|
|
|
"center"
|
|
|
|
],
|
|
|
|
"type": "flarum-extension",
|
|
|
|
"license": "MIT",
|
|
|
|
"require": {
|
2023-10-13 21:10:35 +08:00
|
|
|
"flarum/core": "^1.8",
|
2023-10-13 21:16:07 +08:00
|
|
|
"bshaffer/oauth2-server-php": "*"
|
2023-09-28 17:42:13 +08:00
|
|
|
},
|
|
|
|
"authors": [
|
|
|
|
{
|
|
|
|
"name": "FoskyM",
|
|
|
|
"email": "i@fosky.top",
|
|
|
|
"role": "Developer",
|
|
|
|
"homepage": "https://fosky.top"
|
2024-02-25 04:55:37 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Rain",
|
|
|
|
"role": "Developer"
|
2023-09-28 17:42:13 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"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/"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|