1.0.0 • Published 4 years ago

project-begin v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

project-begin

Based on an article https://dev.to/nikhilkumaran/don-t-use-create-react-app-how-you-can-set-up-your-own-reactjs-boilerplate-43l0 - "Don't use create-react-app: How you can set up your own reactjs boilerplate." by Nikhil Kumaran S
Basic react setup with babel, webpack with basic loaders.

This is similar to create-react-app but gives you more control over the build configurations.

Installation

yarn add project-creator

Usage

After initializing your project, you can use the following scripts.

Runs the app in the development mode.

npm start

Open http://localhost:8080 to view it in the browser.

The page will hot reload if you make edits.

Builds the app for production and files are saved to the build folder.

npm run build

It bundles your files in production mode and optimizes the build for the best performance.

The build is minified and the filenames include hashes.

Your app is ready to be deployed!

This command will build your app and start a server called serve which will serve your build files.

npm run build-serve