eb-scripts
A CLI and scripts used at Echobind
Last updated 6 months ago by jsjoeio .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eb-scripts 
SYNC missed versions from official npm registry.

eb-scripts

All Contributors

A CLI and scripts used at Echobind

oclif Version Downloads/week License

Quickstart

To get started quickly, from the root of your project run:

npx eb-scripts init (react|react-typescript|react-native-typescript)

This will install eb-scripts as a devDependency and add a few helpful hygen scripts to your package.json.

Usage

$ npm install -g eb-scripts
$ eb-scripts COMMAND
running command...
$ eb-scripts (-v|--version|version)
eb-scripts/2.0.6 linux-x64 node-v13.1.0
$ eb-scripts --help [COMMAND]
USAGE
  $ eb-scripts COMMAND
...

Commands

eb-scripts generate TEMPLATENAME

generates new files

USAGE
  $ eb-scripts generate TEMPLATENAME

ARGUMENTS
  TEMPLATENAME  (react-component|react-typescript-component|react-native-typescript-component|react-native-typescript-sc
                reen|react-native-e2e|util-typescript) the template you want to use

OPTIONS
  -h, --help       show CLI help
  -n, --name=name  [default: MyNewComponent] name to print
  -p, --path=path  path to where you want the files to go

EXAMPLE
  $ eb-scripts generate react-component -n MyNewComponent -p src/components
       Loaded templates: _templates
       added: src/MyNewComponent.js

See code: src/commands/generate.ts

eb-scripts help [COMMAND]

display help for eb-scripts

USAGE
  $ eb-scripts help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

eb-scripts init PROJECT

initializes project by installing eb-scripts and adding scripts to package.json

USAGE
  $ eb-scripts init PROJECT

ARGUMENTS
  PROJECT  (react|react-typescript|react-native-typescript) The language or framework of the project.
           Valid options: react,react-typescript,react-native-typescript

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ npx eb-scripts init react

See code: src/commands/init.ts

Contributing

If you're interested in contributing, please read our CONTRIBUTING guide.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

JavaScript Joe
JavaScript Joe

???? ???? ???? ????
Jenn
Jenn

???? ????
Alvin Crespo
Alvin Crespo

???? ???? ⚠️ ????
Chris Ball
Chris Ball

???? ???? ????
Jeffrey Zhen
Jeffrey Zhen

????

This project follows the all-contributors specification. Contributions of any kind welcome!

Current Tags

  • 2.0.6                                ...           latest (6 months ago)

8 Versions

  • 2.0.6                                ...           6 months ago
  • 2.0.5                                ...           6 months ago
  • 2.0.4                                ...           6 months ago
  • 2.0.3                                ...           6 months ago
  • 2.0.2                                ...           6 months ago
  • 2.0.1                                ...           6 months ago
  • 2.0.0                                ...           6 months ago
  • 1.0.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |