mjml-typo3/composer.json

53 lines
1.4 KiB
JSON

{
"name": "saccas/mjml",
"description": "Mjml view using mjml over npm",
"type": "typo3-cms-extension",
"homepage": "https://mjml.io",
"license": ["GPL-2.0+"],
"autoload": {
"psr-4": {
"Saccas\\Mjml\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"Saccas\\Mjml\\Tests\\": "Tests/"
}
},
"require": {
"php": ">=7.0.0 <=7.2.99",
"typo3/cms-core": "^8.7.0",
"typo3/cms-form": "^8.7.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.2.0",
"typo3/cms": "^8.7.0",
"typo3/testing-framework": "^1.2.2"
},
"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": {
"mjml": "self.version",
"typo3-ter/mjml": "self.version"
},
"extra": {
"typo3/cms": {
"extension-key": "mjml",
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": "web"
}
}
}