{"_id":"@danfraticiu/grunt-mjml","_rev":"1-b70ae27970ac4192f3a0a65d5b3a49ff","name":"@danfraticiu/grunt-mjml","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.2":{"name":"@danfraticiu/grunt-mjml","description":"Grunt integration for mjml, the email template engine","version":"1.0.2","homepage":"https://github.com/danfraticiu/grunt-mjml","author":{"name":"danfraticiu","email":"fraticiudan@gmail.com"},"repository":{"type":"git","url":"git://github.com/danfraticiu/grunt-mjml.git"},"bugs":{"url":"https://github.com/danfraticiu/grunt-mjml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/danfraticiu/grunt-mjml/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test","publish":""},"devDependencies":{"grunt-contrib-jshint":"^1.0.0","grunt-contrib-clean":"^1.0.0","grunt-contrib-nodeunit":"^1.0.0","grunt":"~1.0.1","mjml":"4.x"},"keywords":["gruntplugin","mjml","grunt","plugin"],"peerDependencies":{"mjml":"^3.0.0 || ^4.0.0"},"gitHead":"43c06ab6e6075041988e3c537babc8e5a875d304","_id":"@danfraticiu/grunt-mjml@1.0.2","_nodeVersion":"15.6.0","_npmVersion":"7.4.0","dist":{"integrity":"sha512-90i+ZCj5YIutLPgsNSyUGnsSDOEq5xYxujn/DxXNeT6e8D0cDwTHgmPjYWvw2Mo7kXjoaGwCw8o2WpeYgxBhgg==","shasum":"8ed7964dee99729921dfef677b4cfd1adc2f4e4c","tarball":"https://registry.npmjs.org/@danfraticiu/grunt-mjml/-/grunt-mjml-1.0.2.tgz","fileCount":8,"unpackedSize":12684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDoWPCRA9TVsSAnZWagAAwQ0QAJK3P/L21fx/GgUKZjlI\nxtBgDCMwic+pPOF6JDUB+MWyYpyl4RQvX7XwrCpibMODUi7zoy0AM7GNSjpA\ne4PfpVTDJHceT1XqoYrksAN/CWMukSmznFdvRkaGfLG5Ai48IrHnnTeGOTdD\n86AbmxM3ZQu45oPLT9TpzqfR6ykfc02aBnsO61xlom2vr5Pzh6+z1KHmRNL6\nYqTq/ehgpwKBU5w9DgrL9w07c6rT/Rqsp47k+pR2E1pV7R9UD051bix3M165\nSmzdjHGKJx2viXwCmm9Q1mTdpQW9ktm/U+qZvy2klT2cz4moL7JSFPTS08AT\nUGsgHcZNsBAbrPp4wjZWtSUde7sCw9JSjkGlOvlh+nn90raYmCQEgeEDPTQE\nRCYkJ58JenJCED0i/PpkdXI/RM3iyccc3nIhXDdLXqs6fXVhibcGqcw9qaPA\nQu37WV9ey3+s6BBIZgyLu0RhEPvFZ/WL5+AbSzFNY06aVJu1YBB9MQyLbO6o\nkscU7+FEh60vumLcwJPSg8jN/VHOrVoQ6O8kOs+wIqzY6TlwgvablrWQlpIe\nV2efBJAx0TP/716uxJDxUmtOyXEPKocHAxeYvDSwNgNCDESFjBVEKPRhi7Ml\ngpw4DDgk7IVHijLslQy+uy2W5ZXvqP72lE7kI/d+TEXnUJHbvopzhSL1WEYu\nL5Ge\r\n=WgHQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE41VXU+fxlI21TOnamfQonVewVK9tJyRvOFVOl3nX68AiEA/x2aJ/CaQln9HTbBGQqOD1/7eFsAbbhd1pCHMYfQwl0="}]},"_npmUser":{"name":"danfraticiu","email":"fraticiudan@gmail.com"},"directories":{},"maintainers":[{"name":"danfraticiu","email":"fraticiudan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grunt-mjml_1.0.2_1611564430856_0.7911697099855695"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-25T08:47:10.817Z","1.0.2":"2021-01-25T08:47:11.048Z","modified":"2022-04-05T02:40:09.023Z"},"maintainers":[{"name":"danfraticiu","email":"fraticiudan@gmail.com"}],"description":"Grunt integration for mjml, the email template engine","homepage":"https://github.com/danfraticiu/grunt-mjml","keywords":["gruntplugin","mjml","grunt","plugin"],"repository":{"type":"git","url":"git://github.com/danfraticiu/grunt-mjml.git"},"author":{"name":"danfraticiu","email":"fraticiudan@gmail.com"},"bugs":{"url":"https://github.com/danfraticiu/grunt-mjml/issues"},"readme":"# grunt-mjml\n\n> Grunt integration for mjml, the email template engine\n\n## Getting Started\nThis plugin requires Grunt `~1.0.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-mjml --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-mjml');\n```\n\n## The \"mjml\" task\n\n### Options\n\nObject of options that will be passed to the `mjml2html` function. \n\noption   | unit   | description  | default value\n-------------|--------|--------------|---------------\nfonts  | object | Default fonts imported in the HTML rendered by HTML | See in [index.js](https://github.com/mjmlio/mjml/blob/master/packages/mjml-core/src/index.js#L36-L44)\nkeepComments | boolean | Option to keep comments in the HTML output | true\nbeautify | boolean | Option to beautify the HTML output | false\nminify | boolean | Option to minify the HTML output | false\nvalidationLevel | string | Available values for the [validator](https://github.com/mjmlio/mjml/tree/master/packages/mjml-validator#validating-mjml): 'strict', 'soft', 'skip'  | 'soft'\nfilePath | string | Path of file, used for relative paths in mj-includes | '.'\n\nFor more info: https://github.com/mjmlio/mjml/blob/master/README.md#inside-nodejs\n\n\n### Overview\nIn your project's Gruntfile, add a section named `mjml` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  mjml: {\n    options: {\n      // Task-specific options go here.\n    },\n    your_target: {\n      // Target-specific file lists and/or options go here.\n    },\n  },\n});\n```\n\n#### Example\n\n```js\ngrunt.initConfig({\n  mjml: {\n    options: {},\n    your_target: {\n      files: [{\n        expand: true,\n        cwd: 'email-templates', // Src matches are relative to this path.\n        src: ['**/*'], // Actual pattern(s) to match.\n        dest: 'compiled-email-templates/',   // Destination path prefix.\n        ext: '.html',   // Dest filepaths will have this extension.\n        extDot: 'first'   // Extensions in filenames begin after the first dot\n      }]\n    }\n  },\n});\n```\n\n## Release History\n- make MJML as Peer Dependencie\n- upgrade MJML Peer Dependencie to 3.x\n- Upgrade MJML peer Dependencie to 4.x\n- Support Yarn and npm 5.X\n","readmeFilename":"README.md"}