mirror of
https://github.com/saccas/mjml-typo3.git
synced 2024-07-01 18:48:51 +02:00
Use one functional test to ensure everything works, no unit tests with heavy mocking. Update mjml to fix security issues and allow new options. Provide GitHub Actions. This is a public extension with free minutes which should ensure that existing setup still works.
58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"name": "saccas/mjml",
|
|
"description": "Mjml view using mjml over npm",
|
|
"type": "typo3-cms-extension",
|
|
"homepage": "https://mjml.io",
|
|
"license": ["GPL-2.0-or-later"],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Saccas\\Mjml\\": "Classes/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Saccas\\Mjml\\Tests\\": "Tests/"
|
|
}
|
|
},
|
|
"require": {
|
|
"php": "^8.1",
|
|
"typo3/cms-core": "^11.5",
|
|
"typo3/cms-form": "^11.5"
|
|
},
|
|
"require-dev": {
|
|
"squizlabs/php_codesniffer": "^3.2.0",
|
|
"typo3/testing-framework": "^6.16"
|
|
},
|
|
"scripts": {
|
|
"lint": [
|
|
"! find Classes -type f -name \"*.php\" -exec php -d error_reporting=32767 -l {} \\; 2>&1 >&- | grep \"^\"",
|
|
"! find Tests -type f -name \"*.php\" -exec php -d error_reporting=32767 -l {} \\; 2>&1 >&- | grep \"^\""
|
|
],
|
|
"cgl": [
|
|
"./vendor/bin/phpcs"
|
|
],
|
|
"test": [
|
|
"TYPO3_PATH_ROOT=web ./vendor/bin/phpunit"
|
|
],
|
|
"post-install-cmd": [
|
|
"npm install"
|
|
]
|
|
},
|
|
"replace": {
|
|
"typo3-ter/mjml": "self.version"
|
|
},
|
|
"extra": {
|
|
"typo3/cms": {
|
|
"extension-key": "mjml",
|
|
"cms-package-dir": "{$vendor-dir}/typo3/cms",
|
|
"web-dir": "web"
|
|
}
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"typo3/class-alias-loader": true,
|
|
"typo3/cms-composer-installers": true
|
|
}
|
|
}
|
|
}
|