Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

mjml-scripts

1.0.1 • 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 mjml-scripts

DownloadsWeekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

5.68 kB

Total Files

5

Last publish

Collaborators

  • avatar