Miss any of our Open RFC calls?Watch the recordings here! »

mjml-scripts

1.0.0 • Public • Published

mjml-scripts

package version package downloads standard-readme compliant package license make a pull request

CLI scripts for making work with MJML a little bit nicer

Table of Contents

Usage

Build

$ mjml-scripts build -i=example/**.mjml -o=dist --minify --beautify
$ mjml-scripts build -i=example/**.mjml -o=dist -extension=".htm"

See MJML documentation for additional configuration options.

Watch

$ mjml-scripts watch -i=example -o=dist
$ mjml-scripts watch -i=example -o=dist --serve --port=4444

Install

This project uses node and npm.

$ npm install -g mjml-scripts
# OR 
$ yarn global add mjml-scripts

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT

Install

npm i [email protected]

Version

1.0.0

License

MIT

Unpacked Size

5.66 kB

Total Files

5

Last publish

Collaborators

  • avatar