1
0
mirror of https://github.com/flarum/core.git synced 2025-08-31 20:02:06 +02:00

Run flarum-cli audit infra

This commit is contained in:
Alexander Skvortsov
2022-01-04 18:27:04 -05:00
parent bc036af8b6
commit 0f72537c7c
17 changed files with 212 additions and 43 deletions

View File

@@ -41,6 +41,38 @@
"backgroundColor": "#5e8e14",
"color": "#fff"
}
},
"flarum-cli": {
"modules": {
"js": true,
"jsCommon": false,
"gitConf": true,
"githubActions": true,
"prettier": true,
"typescript": true,
"bundlewatch": false,
"backendTesting": true,
"editorConfig": true,
"styleci": true
}
}
},
"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"
}
}