mjml-scripts

1.1.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

/mjml-scripts/

    Package Sidebar

    Install

    npm i mjml-scripts

    Weekly Downloads

    0

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    5.79 kB

    Total Files

    4

    Last publish

    Collaborators

    • tiaanduplessis