generator-cornwell
v1.1.4
Published
A generator for creating a Cornwel website.
Maintainers
Readme
Cornwell Brand Design generator
Yeoman generator that scaffolds out a front-end web app with NPM scripts. There is a sub-generator for scaffolding EDMs.
Features
- Static site generation with Jekyll
- Javascript compiled with Webpack
- ES2015 features using Babel
- Stylus complied automatically
- Built-in preview server with BrowserSync
Getting Started
- Install Ruby & Jekyll
- Install: npm install --global yo generator-cornwell
- Run yo cornwell to scaffold your webapp
- Run
npm startserve to preview and watch for changes - Run
npm build&jekyll buildto build your webapp for production
EDM sub-generator
Feature
- EDM generation with MJML
- Built-in preview server with BrowserSync
- Image hosting with AWS S3
- Test email send with Nodemailer
Getting Started
- Install: npm install --global yo generator-cornwell
- Run yo cornwell:email to scaffold your EDM
- Follow on-screen prompts to fill SMPT & S3 details.
- Run
npm startserve to preview and watch for changes. - Run
npm mail -- [email protected]send a test email. - Run
npm buildto build EDM to/build/distdirectory.
