2015-09-22 18:14:56 +09:30
|
|
|
{
|
2018-10-17 13:35:40 +10:30
|
|
|
"name": "flarum/approval",
|
2015-10-11 22:54:48 +10:30
|
|
|
"description": "Make discussions and posts require moderator approval.",
|
|
|
|
"type": "flarum-extension",
|
2022-01-20 03:14:59 -05:00
|
|
|
"keywords": [
|
|
|
|
"moderation"
|
|
|
|
],
|
2015-10-11 22:54:48 +10:30
|
|
|
"license": "MIT",
|
|
|
|
"support": {
|
2022-07-12 23:30:03 +02:00
|
|
|
"issues": "https://github.com/flarum/framework/issues",
|
2022-01-20 03:14:59 -05:00
|
|
|
"source": "https://github.com/flarum/approval",
|
|
|
|
"forum": "https://discuss.flarum.org"
|
2015-10-11 22:54:48 +10:30
|
|
|
},
|
2020-12-08 19:53:32 -05:00
|
|
|
"homepage": "https://flarum.org",
|
|
|
|
"funding": [
|
2022-01-20 03:14:59 -05:00
|
|
|
{
|
|
|
|
"type": "website",
|
|
|
|
"url": "https://flarum.org/donate/"
|
|
|
|
}
|
2020-12-08 19:53:32 -05:00
|
|
|
],
|
2015-10-11 22:54:48 +10:30
|
|
|
"require": {
|
2022-07-12 23:30:03 +02:00
|
|
|
"flarum/core": "^1.4",
|
2022-01-20 11:55:45 +01:00
|
|
|
"flarum/flags": "^1.2"
|
2015-10-11 22:54:48 +10:30
|
|
|
},
|
2015-09-22 18:14:56 +09:30
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"Flarum\\Approval\\": "src/"
|
|
|
|
}
|
2015-10-11 22:54:48 +10:30
|
|
|
},
|
|
|
|
"extra": {
|
2016-01-19 17:20:19 +10:30
|
|
|
"branch-alias": {
|
2022-03-11 18:02:49 -05:00
|
|
|
"dev-main": "1.x-dev"
|
2016-01-19 17:20:19 +10:30
|
|
|
},
|
2015-10-11 22:54:48 +10:30
|
|
|
"flarum-extension": {
|
|
|
|
"title": "Approval",
|
2021-03-08 11:22:03 -08:00
|
|
|
"category": "feature",
|
2015-10-11 22:54:48 +10:30
|
|
|
"icon": {
|
2018-05-10 14:53:21 +07:00
|
|
|
"name": "fas fa-check",
|
2015-10-12 14:58:54 +10:30
|
|
|
"backgroundColor": "#ABDC88",
|
|
|
|
"color": "#3F8A32"
|
2015-10-11 22:54:48 +10:30
|
|
|
}
|
2022-01-20 03:14:59 -05: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-07 22:58:45 +01:00
|
|
|
"backendTesting": true,
|
2022-01-20 03:14:59 -05:00
|
|
|
"editorConfig": true,
|
|
|
|
"styleci": true
|
|
|
|
}
|
2015-10-11 22:54:48 +10:30
|
|
|
}
|
2022-03-11 18:02:49 -05:00
|
|
|
},
|
2022-03-11 18:02:51 -05:00
|
|
|
"repositories": [
|
|
|
|
{
|
2022-03-11 18:02:49 -05:00
|
|
|
"type": "path",
|
|
|
|
"url": "../../*/*"
|
2022-03-11 18:02:51 -05:00
|
|
|
}
|
|
|
|
],
|
2022-03-11 18:02:49 -05:00
|
|
|
"minimum-stability": "dev",
|
2022-07-07 22:58:45 +01: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": {
|
|
|
|
"flarum/testing": "^1.0.0"
|
|
|
|
}
|
2015-09-22 18:14:56 +09:30
|
|
|
}
|