1.6.3 • Published 1 year ago

@notarise-gov-sg/email-template-generator v1.6.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Known Vulnerabilities GitHub issues License

Generate Notarise email templates

A helper library for generate Notarise email templates.

Getting Started

npm i @notarise-gov-sg/email-template-generator

Add this to ignore the transformation of export html templates in jest.config

transformIgnorePatterns: ["/node_modules/(?!@notarise-gov-sg/email-template-generator)"]

Import & use require template

import emailTemplates from "@notarise-gov-sg/email-template-generator";

emailTemplates.multiQrVacCertHtml // for vaccination cert template
emailTemplates.multiQrRecCertHtml // for recovery cert template

Generate new responsive email templates

Generate responsive email templates using maizzle plugin

  1. Generate production use email templates healthcert-templates
npm run maizzle:build-prod

This command will generate responsive email templates at here ./src/emailTemplates.

  1. Generate developement use email templates
// debug email templates
npm run maizzle:watch

// generate development build
npm run maizzle:build

This command will generate responsive local build email templates at here ./maizzle/build_local.

1.6.3

1 year ago

1.6.2

1 year ago

1.6.4-beta.1

1 year ago

1.6.1

1 year ago

1.6.0

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago