react-instant
Instantly run a preview of a React application
Last updated 8 months ago by drfrost .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-instant 
SYNC missed versions from official npm registry.

react-instant

Instantly run a React application localy

Version Downloads/week License GitHub Release Date npm bundle size

Features

???? - Automated setup (runs all the required commands for you)

✨ - Less useless dirt on your drive (saves the project temporarily)

Install

npm

npm install -g react-instant

yarn

yarn global add react-instant

Usage

Setup a preview of a selected React application. react-instant <GIT_URL>

eg. react-instant https://github.com/DRFR0ST/karutek.git

after the setup you can preview the project in your browser under http://127.0.0.1:5000/

Flags

port (-p)

Override default port.

react-instant https://github.com/DRFR0ST/karutek.git -p 5050

version (-v)

Displays the current version.

react-instant -v

save (-s)

Save the project permanenty in a local directory.

react-instant Misieq01/notemaster -s ./notemaster/

branch (-b)

Switches branch after clone.

react-instant Misieq01/notemaster -b dev

verbose

Verbose log output.

react-instant --verbose

Requirements

The programs listed below are required to run this app correctly.

Tips

  • If you want to preview a github repository project, use a shorthand by providing only a github and repo name. eg. react-instant Misieq01/notemaster

Caveats

  • The provided project's package.json has to contain a build command (like the one generated by create-react-app)

Contributors

Thanks to all contributors for making this a better tool and spreading the love to all your lazy (as me) friends!

Testers

@xomod

Current Tags

  • 1.3.0                                ...           latest (3 months ago)

8 Versions

  • 1.3.0                                ...           3 months ago
  • 1.2.0                                ...           8 months ago
  • 1.1.3                                ...           8 months ago
  • 1.1.2                                ...           8 months ago
  • 1.1.1                                ...           8 months ago
  • 1.1.0                                ...           8 months ago
  • 1.0.1                                ...           8 months ago
  • 1.0.0                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 8
Last Day 0
Last Week 0
Last Month 0
Dependencies (10)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |