-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
31 lines (30 loc) · 1.15 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"name": "pixelant/pxa-item-list",
"description": "Listing items. Show detail on item click. Filter by categories and attributes.",
"type": "typo3-cms-extension",
"license": ["GPL-3.0+"],
"keywords": ["TYPO3 Item List"],
"autoload": {
"psr-4": {
"Pixelant\\PxaItemList\\": "Classes/"
}
},
"replace": {
"pxa_item_list": "self.version",
"pixelant/pxa_item_list": "self.version"
},
"require": {
"typo3/cms-core": "^10.4"
},
"require-dev": {
"nimut/testing-framework": "^5.0.3",
"squizlabs/php_codesniffer": "^3.5.5",
"phpunit/phpunit": "^7.5.20"
},
"scripts": {
"php:codesniffer": "vendor/bin/phpcs --standard=PSR2 Classes/ Tests/ *.php",
"php:codefixer": "vendor/bin/phpcbf --standard=PSR2 Classes/ --report=diff Tests/ *.php",
"php:unittests": "export TYPO3_PATH_WEB=$PWD/vendor/Web && vendor/bin/phpunit -c vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit/ --whitelist=Classes --coverage-html code-coverage/unit",
"tests:all": "composer php:codesniffer && composer php:unittests"
}
}