Socket
Socket
Sign inDemoInstall

create-react-webpack-app

Package Overview
Dependencies
864
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    create-react-webpack-app

Example using react, webpack and css modules...


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-webpack-example

An extremely minimal example of using react, webpack and css modules in production with universal rendering and in development with live reloading...

Dependencies

  • react 15.3.1
  • babel 6.7.6
  • webpack 1.13.2
  • webpack-dev-server 1.16.2
  • express 4.13.4
  • css modules

Run Dev

  • webpack dev server with hot reloading, no server rendering
npm install
npm run dev
open http://127.0.0.1:5000

Run Prod

  • Universal server side rendering!
npm install
npm run build
npm run prod
open http://127.0.0.1:3000

Testing

  • Using Enzyme, Tape and Jsdom
npm install
npm test

License

MIT

FAQs

Last updated on 08 Nov 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc