0.0.11 • Published 4 years ago

dynamic-templates v0.0.11

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

dynamic-templates

Why build this tool?

This CLI is used to generate multiple types of files to make a developers life easier.

What would you like to see in this package?

If you would like to see different features in this package. Feel free to shoot me an email at Joseph@josephmt.com

How to use

npm i dynamic-templates

Commands

dynamic-templates init [-y]

-y: optional flag for default config file

Once installed you have access to the following commands

dynamic-templates create [name, -f, -c]

name: not optional when using either of the flags below

-f: optional flag for default functional component

-c: optional flag for default class component

Create will walk you a through a prompt setup to create files from command line. Please see Working Template Generator section for options that currently work and those that will be coming soon.

dynamic-templates version

dynamic-templates help

Working Template Generators

Functional Component (React)

✔️ dynamic imports

✔️ hooks supported

✔️ test file generation with react-testing-library

✔️ npm installs based on dynamic imports

Class Component (React)

✔️ dynamic imports

✔️ lifecycle method support

✔️ test file generation with react-testing-library

✔️ npm installs based on dynamic imports

HTML

✔️ title of page

✔️ multiple html files generated in loop

Styled-components

✔️ Styled Components (boilerplate for an array of name, tag name)

Support Coming Soon

❌ JS Helper files

Release Notes

0.0.10

  • Implements Styled Components Boilerplate

  • React fragment support in tag generator

  • Introduces dynamic-templates init [-y]

  • Introduces dymanic-templates create [name, -f, -c] for default component builds

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.5

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.4

4 years ago

0.0.1

4 years ago