2017-04-24 17:46:03 +02:00
|
|
|
{
|
2019-11-27 15:04:57 +01:00
|
|
|
"name": "ttn/tea",
|
2018-01-10 19:54:29 +01:00
|
|
|
"description": "TYPO3 example extension for unit testing and best practices",
|
2017-12-23 00:53:15 +01:00
|
|
|
"type": "typo3-cms-extension",
|
|
|
|
"keywords": [
|
2018-01-10 19:54:29 +01:00
|
|
|
"typo3",
|
|
|
|
"example",
|
2017-12-23 00:53:15 +01:00
|
|
|
"extension",
|
2018-01-10 19:54:29 +01:00
|
|
|
"tdd",
|
|
|
|
"phpunit",
|
2017-12-23 00:53:15 +01:00
|
|
|
"unit testing",
|
|
|
|
"best practices"
|
|
|
|
],
|
2019-08-08 12:38:56 +02:00
|
|
|
"license": "GPL-2.0-or-later",
|
2017-12-23 00:53:15 +01:00
|
|
|
"authors": [
|
|
|
|
{
|
|
|
|
"name": "Oliver Klee",
|
2018-01-10 19:54:29 +01:00
|
|
|
"email": "typo3-coding@oliverklee.de",
|
|
|
|
"homepage": "https://www.oliverklee.de",
|
|
|
|
"role": "developer"
|
2017-12-23 00:53:15 +01:00
|
|
|
}
|
|
|
|
],
|
2017-12-23 01:18:57 +01:00
|
|
|
"support": {
|
2019-11-27 15:04:57 +01:00
|
|
|
"issues": "https://github.com/typo3-trainer-network/tea/issues",
|
|
|
|
"source": "https://github.com/typo3-trainer-network/tea"
|
2017-12-23 01:18:57 +01:00
|
|
|
},
|
2017-12-23 00:53:15 +01:00
|
|
|
"require": {
|
2020-05-22 12:34:13 +02:00
|
|
|
"php": "~7.2.0 || ~7.3.0 || ~7.4.0",
|
2020-07-02 11:45:19 +02:00
|
|
|
"typo3/cms-core": "^9.5 || ^10.4",
|
|
|
|
"typo3/cms-extbase": "^9.5 || ^10.4",
|
|
|
|
"typo3/cms-fluid": "^9.5 || ^10.4",
|
|
|
|
"typo3/cms-frontend": "^9.5 || ^10.4"
|
2017-12-23 00:53:15 +01:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2020-07-02 11:45:19 +02:00
|
|
|
"codeception/codeception": "^4.1.5",
|
|
|
|
"friendsofphp/php-cs-fixer": "^2.16.3",
|
|
|
|
"helhum/typo3-composer-setup": "^0.5.6",
|
|
|
|
"helmich/typo3-typoscript-lint": "^2.1.1",
|
|
|
|
"nimut/testing-framework": "^5.0.3",
|
|
|
|
"phpunit/phpunit": "^7.5.20",
|
|
|
|
"squizlabs/php_codesniffer": "^3.5.5",
|
2020-08-05 11:49:53 +02:00
|
|
|
"typo3/cms-fluid-styled-content": "^9.5 || ^10.4",
|
2020-07-22 19:20:37 +02:00
|
|
|
"seld/jsonlint": "^1.8",
|
2020-08-05 11:49:53 +02:00
|
|
|
"phpdocumentor/reflection-docblock": "<= 5.1 || > 5.2",
|
2020-08-05 13:49:10 +02:00
|
|
|
"j13k/yaml-lint": "1.1.x-dev"
|
2017-12-23 00:53:15 +01:00
|
|
|
},
|
|
|
|
"replace": {
|
|
|
|
"typo3-ter/tea": "self.version"
|
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2019-12-01 12:16:06 +01:00
|
|
|
"TTN\\Tea\\": "Classes/"
|
2017-12-23 00:53:15 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2019-12-01 12:16:06 +01:00
|
|
|
"TTN\\Tea\\Tests\\": "Tests/"
|
2017-12-23 00:53:15 +01:00
|
|
|
}
|
|
|
|
},
|
2018-05-25 17:18:03 +02:00
|
|
|
"prefer-stable": true,
|
2017-12-23 00:53:15 +01:00
|
|
|
"config": {
|
2018-05-25 17:18:03 +02:00
|
|
|
"preferred-install": {
|
|
|
|
"*": "dist"
|
|
|
|
},
|
2019-11-05 18:57:42 +01:00
|
|
|
"sort-packages": true,
|
2018-01-24 15:36:29 +01:00
|
|
|
"vendor-dir": ".Build/vendor"
|
2017-12-23 00:53:15 +01:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-06-23 19:36:54 +02:00
|
|
|
"ci:php:lint": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
|
2020-10-07 14:03:20 +02:00
|
|
|
"ci:php:codestyle": "php-cs-fixer fix --config .php_cs.php -v --dry-run --using-cache false --diff --diff-format=udiff",
|
2020-10-14 11:42:00 +02:00
|
|
|
"ci:php:sniff": ".Build/vendor/bin/phpcs Classes Configuration Tests",
|
2020-09-04 20:43:33 +02:00
|
|
|
"ci:json:lint": "find . ! -path '*.Build/*' -name '*.json' | xargs .Build/vendor/bin/jsonlint -q",
|
|
|
|
"ci:yaml:lint": "find . ! -path '*.Build/*' -name '*.yml' | xargs .Build/vendor/bin/yaml-lint",
|
2020-06-23 19:36:54 +02:00
|
|
|
"ci:ts:lint": ".Build/vendor/bin/typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
|
|
|
|
"ci:tests:unit": ".Build/vendor/bin/phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit",
|
|
|
|
"ci:tests:functional": "find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/vendor/bin/phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml {}';",
|
2018-05-25 16:19:12 +02:00
|
|
|
"ci:tests": [
|
|
|
|
"@ci:tests:unit",
|
|
|
|
"@ci:tests:functional"
|
|
|
|
],
|
|
|
|
"ci:dynamic": [
|
|
|
|
"@ci:tests"
|
|
|
|
],
|
2018-01-27 16:04:27 +01:00
|
|
|
"ci:static": [
|
2018-01-27 17:44:42 +01:00
|
|
|
"@ci:php:lint",
|
2019-08-12 13:49:05 +02:00
|
|
|
"@ci:php:sniff",
|
2018-01-27 17:44:42 +01:00
|
|
|
"@ci:ts:lint"
|
2018-01-27 16:04:27 +01:00
|
|
|
],
|
|
|
|
"ci": [
|
|
|
|
"@ci:static"
|
|
|
|
],
|
2018-01-25 18:59:55 +01:00
|
|
|
"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);'"
|
|
|
|
],
|
2020-10-14 11:42:00 +02:00
|
|
|
"fix:php:cs": "php-cs-fixer fix --config .php_cs.php",
|
|
|
|
"fix:php:sniff": ".Build/vendor/bin/phpcs Classes Configuration Tests",
|
2018-01-25 18:59:55 +01:00
|
|
|
"post-autoload-dump": [
|
|
|
|
"@link-extension"
|
2017-12-23 00:53:15 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"branch-alias": {
|
2020-10-10 14:02:59 +02:00
|
|
|
"dev-main": "2.0.x-dev"
|
2017-12-23 00:53:15 +01:00
|
|
|
},
|
|
|
|
"typo3/cms": {
|
2018-05-28 15:08:56 +02:00
|
|
|
"extension-key": "tea",
|
2018-01-24 15:36:29 +01:00
|
|
|
"web-dir": ".Build/public"
|
2017-12-23 00:53:15 +01:00
|
|
|
}
|
2017-04-24 17:46:03 +02:00
|
|
|
}
|
|
|
|
}
|