项目作者: sabertazimi

项目描述 :
Boilerplate CLI App
高级语言: JavaScript
项目地址: git://github.com/sabertazimi/bod.git
创建时间: 2019-02-27T08:37:43Z
项目社区:https://github.com/sabertazimi/bod

开源协议:MIT License

下载


Bod

Author
LICENSE

Node Version
Code Lines

CI
Jest Coverage
Jest Coverage

Lerna
NPM Version
@sabertazimi/react-scripts"">NPM Version

@dg-scripts/eslint-config"">NPM Version
@dg-scripts/stylelint-config"">NPM Version
NPM Version

Boilerplate CLI App - Create a new project powered by
Create React App,
@sabertazimi/react-scripts
and
bod template.

Documentation |
Bod Template |
Webpack Template

Bod CLI

Installation

  1. # Global installation
  2. npm install -g bod
  3. # Local installation
  4. npm install -D bod

Usage

  1. bod create <appName>
  2. bod info
  1. Usage: bod <command> [options]
  2. Options:
  3. -v, --version output the version number
  4. -h, --help display help for command
  5. Commands:
  6. create|c <appName> Create a new project powered by @sabertazimi/react-scripts
  7. info|i Print debugging information about your environment
  8. help [command] display help for command
  9. Run bod <command> --help for detailed usage of given command.

More details on package
bod.

Bod Template

The official React template for Bod CLI.

Live Demo

  • Bod Template Demo.
  • Webpack Template Demo.

Start with Template

This template is shipped with
Bod CLI out of box:

  1. # Select option `React Framework`
  2. bod create my-app

Or use with Create React App:

  1. npm create react-app my-app --template bod --scripts-version @sabertazimi/react-scripts

More available scripts on package
cra-template-bod.

Custom Template

You can custom bod template by clone this monorepo
(with package @sabertazimi/react-scripts).

  1. git clone --depth=1 https://github.com/sabertazimi/bod
  2. cd bod
  3. npm i
  4. npm run start:template

@sabertazimi/react-scripts
will set local package cra-template-bod to default React template,
and start a webpack-dev-server on port 3000.

Contributing

Contributions are greatly appreciated.
Please fork this repository and open a pull request.

Credits

Contact

Email
Twitter
GitHub