Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.

tylim88/create-npm-create

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create NPM Create

Quick Start:

npm i -g create-npm-create
create-npm-create create-example-app

or

npx create-npm-create create-example-app

Welcome to packageception 😈

simply put this is a package that allow you to create something like create-react-app, but is much simpler and easier to use.

For example if you have project A and you want to create a project generator for project A

It is very easy to use, after installation, just follow the steps:

  1. rename project A .gitignore to toBeRenamed
  2. copy everything in project A (except node_modules and etc etc) into the template folder

you can study this example Create Prisma App and Create Next Apollo

finally it looks like this

after you are done with your package name and description, simply npm publish.

What it does:
-copy everything in template directory when your user run create-example-app project-name
-automatically install the dependency for your user.

Acknowledgement

Greatly inspired by Create Next App