Socket
Book a DemoInstallSign in
Socket

eb-scripts

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eb-scripts

A CLI and scripts used at Echobind

latest
Source
npmnpm
Version
2.0.6
Version published
Maintainers
1
Created
Source

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!

Keywords

oclif

FAQs

Package last updated on 20 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts