Skip to content

oychao/boilerplate-creator

Repository files navigation

boilerplate-creator

generate common boilerplates

Build Status

What and Why

boilerplate-creator is a cli tool to generate common JavaScript boilerplates which are very messy to create.

How to use

Installation

$ npm i -g boilerplate-creator

Demo

demo

Basic usage

$ bpc [project name] [options]

Create a React project

$ bpc helloreact -t react
$ # react in typescript
$ bpc helloreactts -t react --ts

Create a Riact project

$ bpc helloriact -t riact
$ # riact in typescript
$ bpc helloriactts -t riact --ts

Create a Vue project

$ bpc hellovue -t vue
$ # vue in typescript
$ bpc hellovuets -t vue --ts

Create a NPM package or a CLI tool

$ bpc hellonpm -t npm
$ bpc hellonpm -t npm --ts
$ bpc hellocli -t cli
# cli project in typescript not supported

Get Help document

There are 8 templates(npm|npm-ts|cli|cli-ts|react|react-ts|vue|vue-ts) are supported for now, please check the help document for more information.

$ bpc --help

Licence

About

Generate common boilerplates

Resources

License

Stars

Watchers

Forks

Packages

No packages published