@thasmo/generator-email
Yeoman generator that scaffolds out a project for crafting email templates.
Last updated 5 years ago by thasmo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @thasmo/generator-email 
SYNC missed versions from official npm registry.

Email Builder Generator

Yeoman generator that scaffolds out a project for crafting email templates.

Features

  • Sass Support
  • Jade Support
  • Browser-Sync Integration
  • Auto-Prefixer Integration
  • Resource Optimization
  • Notification Support
  • Style-Inlining Support
  • Preview-Submission Support

Requirements

Setup

  • Be sure to have Node.js, Yeoman, Bower and Gulp installed.
  • Run npm install -g @thasmo/generator-email to install the generator globally.
  • Run yo @thasmo/email inside an empty directory and follow the instructions.

Options

There are no Yeoman options yet.

Usage

Email Builder Generator scaffolds a project which uses Gulp to process source files and it also starts up Browser-Sync to serve the templates.

Configuration

Use task/config.local.js to customize and overwrite task options defined in task/config.js for your local environment.

Tasks

  • default
    Run the setup, build and the watch tasks.

  • setup
    Run bower install to install dependencies defined in the bower.json file.

  • build
    Run the templates and images tasks.

  • templates
    Read jade and Sass files and compile them to email-friendly HTML templates.

  • images
    Read images from the source directory and copy them to the public directory.

  • watch
    Start Browser-Sync which serves the public directory and re-run tasks when source files change.

  • send
    Send preview emails to your configured recipients.

License

MIT License

Current Tags

  • 0.1.1                                ...           latest (5 years ago)

1 Versions

  • 0.1.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |