2015-09-22 16:44:56 +08:00
|
|
|
{
|
2018-10-17 11:05:40 +08:00
|
|
|
"name": "flarum/approval",
|
2015-10-11 20:24:48 +08:00
|
|
|
"description": "Make discussions and posts require moderator approval.",
|
|
|
|
"type": "flarum-extension",
|
2022-01-20 16:14:59 +08:00
|
|
|
"keywords": [
|
|
|
|
"moderation"
|
|
|
|
],
|
2015-10-11 20:24:48 +08:00
|
|
|
"license": "MIT",
|
|
|
|
"support": {
|
2022-07-13 05:30:03 +08:00
|
|
|
"issues": "https://github.com/flarum/framework/issues",
|
2022-01-20 16:14:59 +08:00
|
|
|
"source": "https://github.com/flarum/approval",
|
|
|
|
"forum": "https://discuss.flarum.org"
|
2015-10-11 20:24:48 +08:00
|
|
|
},
|
2020-12-09 08:53:32 +08:00
|
|
|
"homepage": "https://flarum.org",
|
|
|
|
"funding": [
|
2022-01-20 16:14:59 +08:00
|
|
|
{
|
|
|
|
"type": "website",
|
|
|
|
"url": "https://flarum.org/donate/"
|
|
|
|
}
|
2020-12-09 08:53:32 +08:00
|
|
|
],
|
2015-10-11 20:24:48 +08:00
|
|
|
"require": {
|
2023-05-31 16:50:39 +08:00
|
|
|
"flarum/core": "^2.0",
|
|
|
|
"flarum/flags": "^2.0"
|
2015-10-11 20:24:48 +08:00
|
|
|
},
|
2015-09-22 16:44:56 +08:00
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"Flarum\\Approval\\": "src/"
|
|
|
|
}
|
2015-10-11 20:24:48 +08:00
|
|
|
},
|
|
|
|
"extra": {
|
2016-01-19 14:50:19 +08:00
|
|
|
"branch-alias": {
|
2023-05-31 16:50:39 +08:00
|
|
|
"dev-main": "2.x-dev"
|
2016-01-19 14:50:19 +08:00
|
|
|
},
|
2015-10-11 20:24:48 +08:00
|
|
|
"flarum-extension": {
|
|
|
|
"title": "Approval",
|
2021-03-09 03:22:03 +08:00
|
|
|
"category": "feature",
|
2015-10-11 20:24:48 +08:00
|
|
|
"icon": {
|
2018-05-10 15:53:21 +08:00
|
|
|
"name": "fas fa-check",
|
2015-10-12 12:28:54 +08:00
|
|
|
"backgroundColor": "#ABDC88",
|
|
|
|
"color": "#3F8A32"
|
2015-10-11 20:24:48 +08:00
|
|
|
}
|
2022-01-20 16:14:59 +08:00
|
|
|
},
|
|
|
|
"flarum-cli": {
|
|
|
|
"modules": {
|
|
|
|
"admin": true,
|
|
|
|
"forum": true,
|
|
|
|
"js": true,
|
|
|
|
"jsCommon": false,
|
|
|
|
"css": true,
|
|
|
|
"gitConf": true,
|
|
|
|
"githubActions": true,
|
|
|
|
"prettier": true,
|
|
|
|
"typescript": false,
|
|
|
|
"bundlewatch": false,
|
2022-07-08 05:58:45 +08:00
|
|
|
"backendTesting": true,
|
2022-01-20 16:14:59 +08:00
|
|
|
"editorConfig": true,
|
|
|
|
"styleci": true
|
|
|
|
}
|
2015-10-11 20:24:48 +08:00
|
|
|
}
|
2022-03-12 07:02:49 +08:00
|
|
|
},
|
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
|
|
|
}
|
|
|
|
],
|
2022-03-12 07:02:49 +08:00
|
|
|
"minimum-stability": "dev",
|
2022-07-08 05:58:45 +08:00
|
|
|
"prefer-stable": true,
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
|
|
|
"Flarum\\Approval\\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": {
|
2023-05-31 16:53:59 +08:00
|
|
|
"flarum/testing": "^2.0"
|
2022-07-08 05:58:45 +08:00
|
|
|
}
|
2015-09-22 16:44:56 +08:00
|
|
|
}
|