GithubHelp home page GithubHelp logo

haost74 / react-webpack-babel-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vikpe/react-webpack-babel-starter

0.0 1.0 0.0 4.82 MB

Minimal starter with hot module replacement (HMR) for rapid development.

License: MIT License

JavaScript 80.31% SCSS 9.04% EJS 10.65%

react-webpack-babel-starter's Introduction

React Webpack Babel Starter

Minimal starter with hot module replacement (HMR) for rapid development.

Installation

  1. Clone/download repo
  2. yarn install (or npm install for npm)

Usage

Development

yarn run start-dev

  • Build app continously (HMR enabled)
  • App served @ http://localhost:8080

Production

yarn run start-prod

  • Build app once (HMR disabled) to /dist/
  • App served @ http://localhost:3000

Note: change port number by setting the envrionment variable PORT


All commands

Command Description
yarn run start-dev Build app continously (HMR enabled) and serve @ http://localhost:8080
yarn run start-prod Build app once (HMR disabled) to /dist/ @ http://localhost:3000
yarn run build Build app to /dist/
yarn run test Run tests
yarn run prettier-write Format code and write changes
yarn run prettier-check Prints the filenames of files that are different from Prettier formatting
yarn run start (alias of yarn run start-dev)

Note: replace yarn with npm in package.json if you use npm.

See also

react-webpack-babel-starter's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar haost74 avatar vikpe avatar wagnerjt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.