{"_id":"@dworznik/serverless-ses-mjml","_rev":"1-566eb13d852b17a32631784b6906a8c9","name":"@dworznik/serverless-ses-mjml","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@dworznik/serverless-ses-mjml","version":"0.2.0","description":"Use MJML to generate email templates for AWS Simple Email Service","main":"index.js","repository":{"type":"git","url":"git+https://github.com/maddijoyce/serverless-ses-mjml.git"},"author":{"name":"Maddi Joyce","email":"maddi@maddijoyce.com"},"license":"MIT","private":false,"dependencies":{"mjml":"4.1.0","opn":"5.3.0","temp-write":"3.4.0"},"gitHead":"a26518f3bdcdb64177060ecdd66132da73021b28","bugs":{"url":"https://github.com/maddijoyce/serverless-ses-mjml/issues"},"homepage":"https://github.com/maddijoyce/serverless-ses-mjml#readme","_id":"@dworznik/serverless-ses-mjml@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"dworznik","email":"dwuziu@bzium.net"},"dist":{"integrity":"sha512-Ib60Bho49t41LKMWXRdylRATysFU/ydQhh0O0oNKyXZeXtFXqZ8idsmtb/O6FKF8bngaHcmdgPPdojS+1+o8eg==","shasum":"ff47a4225082fd39f9044eb434217f48361cbe48","tarball":"https://registry.npmjs.org/@dworznik/serverless-ses-mjml/-/serverless-ses-mjml-0.2.0.tgz","fileCount":4,"unpackedSize":71845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwyprCRA9TVsSAnZWagAABd4QAJ6UYJuV3J6QGMlZiEQR\nbEKHGyscmwUSfkt+bMLTyuu5/Y4fFbRJ0FXt1UnCGqhNS+FZHQOrgXe6gjt5\nIRX13YZoFyaMNJaxPbVxjonL7Bl0MaLs6FgOP70DQg7bT5+0epWgYLaWoiwC\nfQr7OUTVlAyNKiu5vX6SlMnfLrtJftpqe+ykeEnbXgbQ36Vz671mZr1xwd8W\ni6MTu4X+rEdjwKcYvyVLJwZiFdSt9uZnk0vVHkWxvyqwCUqFqbM9A9UvD+t1\nGCh7nLEOSdEoRcSYFgneq9T1YYIpTNJnxudR6ZPZsZbMmiA83OFiAWYI22Gn\n0fz1TjqQof1SamtEf2aAodt0B0dPUDznWa6nwNfXcbYKQXyEFeY2GAytZ/v3\ncxxUhPAfEAjCUdrFah1zUb3fp60XfwY8Ou2NBDVfVSDp+uSFFnKs2c2h+8WV\nlehmXb+EMd7/7HpV/4NHbRfDeEm0utD7eGq1Mp+LgtMpXWkqqpas7i+Ofojp\nXkNAvRd4Z6lz7pq2oav2rz1qw+WA8vYEaudfwdp8uXRXas5soMNarGREYAM0\nMl5XEHPkFg/SKUqIfcqGANgNsOntjnIun1YsE5j1mBNZbqHXRWhMn0CH1Ro1\noHTmyhZE2BDXaLw2iNjI5fXPwA5MKuufKfwTiSPriGNZ9oXa8pUw+a0imoW7\nbix+\r\n=mgwc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFUeqvJZK4gEvoYJWs6TmOOkJn8qmzWfmsKFXKZtwrr8AiBJWYK7KcqsWPMn7n3USkSGvN6vVYEOatVAOuZwRLGimQ=="}]},"maintainers":[{"name":"dworznik","email":"dwuziu@bzium.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/serverless-ses-mjml_0.2.0_1556294251075_0.5909754149074966"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-26T15:57:30.887Z","0.2.0":"2019-04-26T15:57:31.186Z","modified":"2022-04-05T06:13:06.517Z"},"maintainers":[{"name":"dworznik","email":"dwuziu@bzium.net"}],"description":"Use MJML to generate email templates for AWS Simple Email Service","homepage":"https://github.com/maddijoyce/serverless-ses-mjml#readme","repository":{"type":"git","url":"git+https://github.com/maddijoyce/serverless-ses-mjml.git"},"author":{"name":"Maddi Joyce","email":"maddi@maddijoyce.com"},"bugs":{"url":"https://github.com/maddijoyce/serverless-ses-mjml/issues"},"license":"MIT","readme":"<h1 align=\"center\">\n  Serverless-SES-MJML\n</h1>\n<h4 align=\"center\"><a href=\"https://serverless.com\" target=\"_blank\">Serverless</a> plugin that allows you to build responsive email templates in mjml.</h4>\n<br>\n\n## Installation\n\nInstall the plugin via <a href=\"https://yarnpkg.com/lang/en/docs/install/\">Yarn</a> (recommended)\n\n```\nyarn add serverless-ses-mjml\n```\n\nor via <a href=\"https://docs.npmjs.com/cli/install\">NPM</a>\n\n```\nnpm install serverless-ses-mjml\n```\n\n### Configuring the plugin\n\nAdd `serverless-ses-mjml` to the plugins section of `serverless.yml`\n\n```\nplugins:\n   - serverless-ses-mjml\n```\n\nAdd the following example config to the custom section of `serverless.yml`\n\n```yaml\ncustom:\n  sesTemplates:\n    location: # defaults to email-templates\n    templates:\n      - name: # template name\n        subject: # subject line\n        mjml: # mjml file name\n        text: # text file name\n```\n\n## Usage\n\n### `serverless deploy`\n\nThis command will deploy all SES template resources in the same CloudFormation template used by the other serverless resources.\n\n### `serverless preview-template --template Template`\n\nThis command will convert your mjml template to html and open it in your browser.\n\n## Issues\n\nSES is only available in a limited number of regions. If you receive this uninformative error `The CloudFormation template is invalid: Template format error: Unrecognized resource types: [AWS::SES::Template]`, it possibly means you're trying to deploy an SES template in a region where it's not possible.\n\n## Credits\n\nThanks to <a target=\"_blank\" href=\"https://github.com/sid88in/serverless-appsync-plugin\">sid88in</a> and everyone else who built the serverless-appsync-plugin. Your code was consulted often while I made this one. Cheers!\n","readmeFilename":"README.md"}