This package has been deprecated

Author message:

The project has moved to a single package. Please install jsx-email for further updates

@jsx-email/cli

3.0.1 • Public • Published

npm Join our Discord libera manifesto

JSX email

@jsx-email/cli

JSX email The Command Line Interface and developer tooling for JSX email.

Requirements

This package requires an LTS Node version (v18.0.0+) and React v18.2.0+.

Install

pnpm add @jsx-email/cli -D

# We recommend pnpm - https://pnpm.io
# But npm and yarn are supported
# npm add @jsx-email/cli -D
# yarn add @jsx-email/cli -D

Nearly all installations of this package will want it installed into devDependencies so please make sure to add the -D flag.

Usage

Installing this package will add an email binary, which will be available to pnpm exec, npx, and yarn.

Invoking the CLI without parameters or flags will produce help information in the console. From there, all of the functions of the CLI can be viewed, along with any applicable parameters and flags:

→ pnpm exec email

@jsx-email/cli v0.0.0

A CLI for working with Email Templates made with jsx-email

Usage
  $ email [...options]

Commands
  build       <template path>
  help        [<command>]
  preview     <template dir path>

Options
  --help      Displays this message
  --version   Displays webpack-nano and webpack versions

Examples
  $ email
  $ email --help
  $ email build ./src/templates/Invite.tsx
  $ email create invite
  $ email preview ./src/templates

For more documentation and information using the CLI, please review our Documentation

Attribution 🧡

This package was built upon prior work for react-email by Bu Kinoshita (@bukinoshita) and Zeno Rocha (@zenorocha).

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i @jsx-email/cli

Weekly Downloads

271

Version

3.0.1

License

MIT

Unpacked Size

54.6 MB

Total Files

669

Last publish

Collaborators

  • shellscape