Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alfredjs

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alfredjs

Alfred is a command line tool, a suite of helper commands for react developers ## Installation Install globally and use anywhere :

  • 0.1.0
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Alfred

Alfred is a command line tool, a suite of helper commands for react developers

Installation

Install globally and use anywhere :

npm i alfredjs -g

or

Install locally to your project and use from npm scripts :

npm i alfredjs 

Add an npm script in your package.json

"scripts":{"alfredjs":"alfredjs"}

Usage

Run globally installed alfredjs in project folder :

$ cd my-project
$ alfred
Commands
 Commands:

    help [command...]                      Provides help for a given command.
    exit                                   Exits application.
    new:component <name> [reduxEnabled]    Creates a new component
    new:components <names...>              Creates multiple components at once without redux
    new:view <name> [reduxEnabled]         Creates a new view
    new:action <actionCreatorName> <name>  Creates a new action creator
    create:routes                          Creates a simple react-router-dom entry in root folder
    init                                   Creates an .alfredrc file with all the defaults

Environment Variables

$ALFRED_VERBOSE : If environment variables is set, alfred stouts processes as they happen

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

TODO: Write history

Credits

TODO: Write credits

License

FAQs

Package last updated on 31 Oct 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc