mjml-typo3/composer.json
Daniel Siepmann eba401aa9f
TASK: Add first test
Add all dependencies to run tests.
Configure tests as composer task.
Add tests to travis.
Adjust code to make him exchangeable and testable.
2017-12-14 23:06:55 +01:00

49 lines
1.3 KiB
JSON

{
"name": "saccas/mjml",
"description": "Mjml view using mjml over npm",
"type": "typo3-cms-extension",
"version": "1.0.0",
"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"
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": "typo3"
}
},
"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=typo3 ./vendor/bin/phpunit"
],
"post-install-cmd": [
"npm install"
]
}
}