-
Notifications
You must be signed in to change notification settings - Fork 14
/
composer.json
132 lines (132 loc) · 4.74 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "pixelant/pxa-product-manager",
"type": "typo3-cms-extension",
"description": "Create and list products on a site.",
"homepage": "https://extensions.typo3.org/extension/pxa_product_manager",
"support": {
"docs": "https://docs.typo3.org/p/pixelant/pxa-product-manager/master/en-us",
"issues": "https://github.com/pixelant/pxa_product_manager/issues",
"source": "https://github.com/pixelant/pxa_product_manager"
},
"license": ["GPL-2.0-or-later"],
"keywords": ["TYPO3 CMS"],
"authors": [
{
"name": "Pixelant",
"email": "[email protected]",
"homepage": "https://www.pixelant.net",
"role": "Developer"
}
],
"require": {
"ext-intl" : "*",
"evoweb/extender": "^7.0 || ^8.1",
"typo3/cms-core": "^10.4.6 || ^11.5",
"pixelant/demander": "^0.1 || ^0.2",
"doctrine/dbal": "~2.13.1"
},
"require-dev": {
"codeception/codeception": "^4.1.5",
"friendsofphp/php-cs-fixer": "^2.16.3",
"helmich/typo3-typoscript-lint": "^2.1.1",
"j13k/yaml-lint": "1.1.x-dev",
"nimut/testing-framework": "^5.0.3 || ^6.0",
"phpdocumentor/reflection-docblock": "<= 5.1 || > 5.2",
"phpspec/prophecy": "^1.15",
"phpunit/phpunit": "^7.5.20 || ^8.5",
"seld/jsonlint": "^1.8",
"squizlabs/php_codesniffer": "^3.5.5",
"typo3/cms-fluid-styled-content": "^10.4 || ^11.5",
"typo3/cms-seo": "^10.4 || ^11.5"
},
"suggest": {
"pixelant/pxa-pm-importer": "Import products data from different sources"
},
"replace": {
"typo3-ter/pxa-product-manager": "self.version"
},
"autoload": {
"psr-4": {
"Pixelant\\PxaProductManager\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"Pixelant\\PxaProductManager\\Tests\\": "Tests/"
},
"files": [
"Tests/Utility/TestsUtility.php"
]
},
"prefer-stable": true,
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"vendor-dir": ".Build/vendor",
"allow-plugins": {
"typo3/cms-composer-installers": true,
"typo3/class-alias-loader": true
}
},
"scripts": {
"ci:php:lint": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
"ci:php:codestyle": "php-cs-fixer fix --config .php_cs.php -v --dry-run --using-cache false --diff --diff-format=udiff",
"ci:php:sniff": ".Build/vendor/bin/phpcs Classes Configuration Tests",
"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",
"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 {}';",
"ci:tests:local:functional": [
"@putenv typo3DatabaseDriver=pdo_sqlite",
"find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite locally (requires php-sqlite3) {}\"; .Build/vendor/bin/phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml {}';"
],
"ci:tests": [
"@ci:tests:unit",
"@ci:tests:functional"
],
"ci:dynamic": [
"@ci:tests"
],
"ci:php": [
"@ci:php:codestyle",
"@ci:php:sniff"
],
"ci:static": [
"@ci:php:lint",
"@ci:php:sniff",
"@ci:ts:lint"
],
"ci": [
"@ci:static"
],
"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/pxa_product_manager\") || symlink(__DIR__,$extFolder);'"
],
"fix:php:cs": "php-cs-fixer fix --config .php_cs.php",
"fix:php:sniff": ".Build/vendor/bin/phpcs Classes Configuration Tests",
"fix:php": [
"@fix:php:cs",
"@fix:php:sniff"
],
"docs:generate": [
"docker run --rm t3docs/render-documentation show-shell-commands > tempfile.sh; echo 'dockrun_t3rd makehtml' >> tempfile.sh; bash tempfile.sh; rm tempfile.sh"
],
"post-autoload-dump": [
"@link-extension"
]
},
"extra": {
"branch-alias": {
"dev-master": "0.0.x-dev"
},
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": ".Build/public",
"extension-key": "pxa_product_manager"
}
}
}