forked from s2b/vite-asset-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
88 lines (84 loc) · 2.6 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
{
"name": "praetorius/vite-asset-collector",
"description": "Use AssetCollector to embed frontend assets generated by vite",
"type": "typo3-cms-extension",
"license": [
"GPL-2.0-or-later"
],
"require": {
"php": ">=8.1",
"typo3/cms-core": "^11.5 || ^12.4 || ^13.0 || dev-main",
"typo3/cms-fluid": "^11.5 || ^12.4 || ^13.0 || dev-main",
"symfony/console": "^5.4 || ^6.4 || ^7.0"
},
"require-dev": {
"typo3/coding-standards": "^0.7 || ^0.8",
"editorconfig-checker/editorconfig-checker": "^10.3",
"typo3/testing-framework": "^8.0 || ^7.0 || dev-main",
"phpstan/phpstan": "^1.10",
"saschaegerer/phpstan-typo3": "^1.8",
"phpunit/phpunit": "^11.1 || ^10.5"
},
"suggest": {
"t3docs/fluid-documentation-generator": "To update ViewHelper documentation with doc:viewhelpers"
},
"autoload": {
"psr-4": {
"Praetorius\\ViteAssetCollector\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"Praetorius\\ViteAssetCollector\\Tests\\": "Tests/"
}
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
}
},
"extra": {
"typo3/cms": {
"web-dir": ".Build/web",
"extension-key": "vite_asset_collector"
}
},
"scripts": {
"lint": [
"@lint:php",
"@lint:phpstan",
"@lint:editorconfig"
],
"lint:php": "php-cs-fixer fix --config=./Build/CodeQuality/.php-cs-fixer.dist.php --diff --dry-run",
"lint:editorconfig": "ec -config Build/CodeQuality/.ecrc .",
"lint:phpstan": "phpstan analyse -c Build/CodeQuality/phpstan.neon",
"fix": [
"@fix:php"
],
"fix:php": "php-cs-fixer fix --config=./Build/CodeQuality/.php-cs-fixer.dist.php",
"test": [
"@test:unit",
"@test:functional"
],
"test:unit": [
"@putenv TYPO3_CONTEXT=Testing",
"phpunit -c Build/Testing/UnitTests.xml"
],
"test:functional": [
"@putenv TYPO3_CONTEXT=Testing",
"phpunit -c Build/Testing/FunctionalTests.xml"
],
"coverage": [
"@coverage:unit",
"@coverage:functional",
"@coverage:report"
],
"coverage:unit": "phpunit -c Build/Testing/UnitTests.xml --coverage-clover .Build/logs/clover.unit.xml --coverage-php .Build/logs/clover.unit.cov",
"coverage:functional": "phpunit -c Build/Testing/FunctionalTests.xml --coverage-clover .Build/logs/clover.functional.xml --coverage-php .Build/logs/clover.functional.cov",
"coverage:report": "phpcov merge --html .Build/logs/report .Build/logs",
"doc:viewhelpers": "fluidDocumentation generate Build/Documentation/ViewHelpers.json && cp fluidDocumentationOutput/ViteAssetCollector.json Documentation/Reference/ViewHelpers/"
}
}