2017-12-10 18:41:13 +08:00
|
|
|
{
|
2018-10-21 12:46:05 +08:00
|
|
|
"name": "flarum/statistics",
|
2017-12-10 18:41:13 +08:00
|
|
|
"description": "Add a basic statistics widget on the Dashboard.",
|
|
|
|
"type": "flarum-extension",
|
2022-01-20 16:52:02 +08:00
|
|
|
"keywords": [
|
|
|
|
"administration"
|
|
|
|
],
|
2017-12-10 18:41:13 +08:00
|
|
|
"license": "MIT",
|
|
|
|
"support": {
|
2022-07-13 05:30:03 +08:00
|
|
|
"issues": "https://github.com/flarum/framework/issues",
|
2020-12-09 08:57:56 +08:00
|
|
|
"source": "https://github.com/flarum/statistics",
|
|
|
|
"forum": "https://discuss.flarum.org"
|
2017-12-10 18:41:13 +08:00
|
|
|
},
|
2020-12-09 08:57:56 +08:00
|
|
|
"homepage": "https://flarum.org",
|
|
|
|
"funding": [
|
|
|
|
{
|
|
|
|
"type": "website",
|
|
|
|
"url": "https://flarum.org/donate/"
|
|
|
|
}
|
|
|
|
],
|
2017-12-10 18:41:13 +08:00
|
|
|
"require": {
|
2023-05-31 16:50:39 +08:00
|
|
|
"flarum/core": "^2.0"
|
2017-12-10 18:41:13 +08:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"Flarum\\Statistics\\": "src/"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"branch-alias": {
|
2023-05-31 16:50:39 +08:00
|
|
|
"dev-main": "2.x-dev"
|
2017-12-10 18:41:13 +08:00
|
|
|
},
|
|
|
|
"flarum-extension": {
|
2018-08-20 05:34:22 +08:00
|
|
|
"title": "Statistics",
|
2020-11-25 14:29:06 +08:00
|
|
|
"category": "feature",
|
2018-08-20 05:34:22 +08:00
|
|
|
"icon": {
|
|
|
|
"name": "fas fa-chart-bar",
|
|
|
|
"backgroundColor": "#6932d1",
|
|
|
|
"color": "#fff"
|
|
|
|
}
|
2022-01-20 16:52:02 +08:00
|
|
|
},
|
|
|
|
"flarum-cli": {
|
2022-01-28 04:51:21 +08:00
|
|
|
"excludeScaffolding": [
|
|
|
|
"js/src/admin/index.ts"
|
|
|
|
],
|
2022-01-20 16:52:02 +08:00
|
|
|
"modules": {
|
|
|
|
"admin": true,
|
|
|
|
"forum": false,
|
|
|
|
"js": true,
|
|
|
|
"jsCommon": false,
|
|
|
|
"css": true,
|
|
|
|
"gitConf": true,
|
|
|
|
"githubActions": true,
|
|
|
|
"prettier": true,
|
2022-01-28 04:51:21 +08:00
|
|
|
"typescript": true,
|
2022-01-20 16:52:02 +08:00
|
|
|
"bundlewatch": false,
|
|
|
|
"backendTesting": true,
|
|
|
|
"editorConfig": true,
|
|
|
|
"styleci": true
|
|
|
|
}
|
2017-12-10 18:41:13 +08:00
|
|
|
}
|
2022-01-20 16:52:02 +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"
|
|
|
|
},
|
|
|
|
"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-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",
|
|
|
|
"prefer-stable": true
|
2017-12-10 18:41:13 +08:00
|
|
|
}
|