Update README.md (#11)

This commit is contained in:
Daniel 2018-01-02 15:29:53 +01:00 committed by GitHub
parent 9b4c68d952
commit 1972249852
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,3 +31,21 @@ TYPO3:
## MJML Documentation
https://mjml.io/documentation/
## Usage in your distribution
To automate the installation of the npm packages, you could add the following lines to your composer.json
```
"scripts": {
"post-install-cmd": [
"cd web/typo3conf/ext/mjml && npm prune --production"
],
"post-update-cmd": [
"cd web/typo3conf/ext/mjml && npm prune --production"
],
"pre-deploy": [
"cd web/typo3conf/ext/mjml && npm prune --production"
]
}
```