mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-09 23:56:14 +01:00
105 lines
3.4 KiB
JSON
105 lines
3.4 KiB
JSON
{
|
|
"name": "oliverklee/tea",
|
|
"description": "TYPO3 example extension for unit testing and best practices",
|
|
"type": "typo3-cms-extension",
|
|
"keywords": [
|
|
"typo3",
|
|
"example",
|
|
"extension",
|
|
"tdd",
|
|
"phpunit",
|
|
"unit testing",
|
|
"best practices"
|
|
],
|
|
"homepage": "https://github.com/oliverklee/tdd-reader",
|
|
"license": "GPL-3.0-or-later",
|
|
"authors": [
|
|
{
|
|
"name": "Oliver Klee",
|
|
"email": "typo3-coding@oliverklee.de",
|
|
"homepage": "https://www.oliverklee.de",
|
|
"role": "developer"
|
|
}
|
|
],
|
|
"support": {
|
|
"issues": "https://github.com/oliverklee/tea/issues",
|
|
"source": "https://github.com/oliverklee/tea"
|
|
},
|
|
"require": {
|
|
"php": "~7.0.0 || ~7.1.0 || ~7.2.0",
|
|
"typo3/cms-core": "^7.6.23 || ^8.7.9",
|
|
"typo3/cms-fluid": "^7.6.23 || ^8.7.9",
|
|
"typo3/cms-frontend": "^7.6.23 || ^8.7.9"
|
|
},
|
|
"require-dev": {
|
|
"helhum/typo3-composer-setup": "^0.5.1",
|
|
"helmich/typo3-typoscript-lint": "^1.4.4",
|
|
"nimut/testing-framework": "^2.0.0",
|
|
"phpunit/phpunit": "^5.7.0",
|
|
"mikey179/vfsStream": "^1.6.0",
|
|
"roave/security-advisories": "dev-master"
|
|
},
|
|
"replace": {
|
|
"tea": "self.version",
|
|
"typo3-ter/tea": "self.version"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OliverKlee\\Tea\\": "Classes/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"OliverKlee\\Tea\\Tests\\": "Tests/"
|
|
}
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "composer",
|
|
"url": "https://composer.typo3.org/"
|
|
}
|
|
],
|
|
"config": {
|
|
"vendor-dir": ".Build/vendor"
|
|
},
|
|
"scripts": {
|
|
"ci:php:lint": "find *.php Classes/ Configuration/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
|
|
"ci:ts:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript/",
|
|
"ci:tests:unit": "phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit/",
|
|
"ci:tests:functional": "phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml Tests/Functional/",
|
|
"ci:tests": [
|
|
"@ci:tests:unit",
|
|
"@ci:tests:functional"
|
|
],
|
|
"ci:dynamic": [
|
|
"@ci:tests"
|
|
],
|
|
"ci:static": [
|
|
"@ci:php:lint",
|
|
"@ci:ts:lint"
|
|
],
|
|
"ci": [
|
|
"@ci:static"
|
|
],
|
|
"require-typo3-version": [
|
|
"@php -r '$conf=json_decode(file_get_contents(__DIR__.\"/composer.json\"),true);$conf[\"require\"][\"typo3/cms-core\"]=$_SERVER[\"argv\"][1];file_put_contents(__DIR__.\"/composer.json\",json_encode($conf,JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT).chr(10));'",
|
|
"@composer install"
|
|
],
|
|
"link-extension": [
|
|
"@php -r 'is_dir($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/\") || mkdir($extFolder, 0777, true);'",
|
|
"@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'"
|
|
],
|
|
"post-autoload-dump": [
|
|
"@link-extension"
|
|
]
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "2.0.x-dev"
|
|
},
|
|
"typo3/cms": {
|
|
"cms-package-dir": "{$vendor-dir}/typo3/cms",
|
|
"web-dir": ".Build/public"
|
|
}
|
|
}
|
|
}
|