New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-react-babel

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-react-babel

Create React Plugins seamlessly!

  • 0.4.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-6.67%
Maintainers
1
Weekly downloads
 
Created
Source

generator-react-babel Build Status

Quickly scaffold your next react project with react-babel generator. This generator is most useful for creating react-plugins, so you can code your plugin in an ES6 fashion in the src dir and transpile it for production in the lib dir using babel. You also have a dev folder ready which can serve as a playground. Happy coding! Contributions are welcome!

  • Webpack
  • ES6 + Babel
  • React + ReactDOM
  • Configured Dev folder for your plugin's playground
  • Build command which transpiles files to ES5 for production.

###Directory Structure

src/
dev/
test/
lib/
package.json
webpack.config.js
.babelrc
.eslintrc

###Installing the generator

npm install -g generator-react-babel

##Initiate your project folder with this command

yo react-babel

This creates an src, lib, dev and test folder in your project directory.

To Run Dev Server

npm run dev

To Build files

npm run build

This puts transpiled files into the lib folder.

Keywords

FAQs

Package last updated on 24 Dec 2015

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