1.16.4 • Published 2 years ago

create-react-webpack-project v1.16.4

Weekly downloads
284
License
MIT
Repository
github
Last release
2 years ago

React + Webpack Starter

Build Status npm npm

This starter kit is designed to get you up and running with a bunch of awesome front-end technologies.

The primary goal of this project is to provide a stable foundation upon which to build modern web appliications. Its purpose is not to dictate your project structure or to demonstrate a complete real-world application, but to provide a set of tools intended to make front-end development robust and easy.

Quickstart

$ npx create-react-webpack-project my-app # or specify flag `-i` to use interactive menu
$ cd my-app
$ npm start

the generated project will vary in the presence of the following flags:

FlagWhat is it for?
-i, --interactiveuse interactive mode to bootstrap your app
--verboseprint additional logs.
--infoprint environment debug info.
--nodepswill no install dependencies on the generated project.
--use-npmwill use npm as command.
--template <template>specify template to use for initial setup
--cra [template]use create-react-app for initial setup with optional example
--gatsby <template>use gatsby using an existing boilerplate for initial setup
--next <example>use create-next-app for initial setup using a nextjs example
--inplaceapply setup to an existing project.
-a <alias>will setup webpack alias. app by default.
--src-dir <src-dir>dir name to put content under [src]/. src by default.
--typescriptadd TypeScript support.
--i18nadd i18n setup using react-i18n and async backend with locale and timezone support.
--reduxadd redux support and setup using redux thunk middleware by default.
--redux --sagaadd redux support and setup using redux saga middleware.
--recoiladd recoil.js support and setup the state management library for React.
--ant-designadd ant-design setup with ant-design icons package.
--bootstrapadd bootstrap and bootstrap-react setup with theme config.
--material-uiadd material ui setup with SVG icons.
--semantic-uiadd semantic ui and semantic ui react setup with theme config.
--ionicgenerate cross platform setup using ionic react and capacitor.
--dockergenerate dockerfiles for development and production environments.
--android-toolsgenerate dockerfiles to perform android emulation, testing and apk generation.

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

Creating an app

You’ll need to have Node 12.14.0 or later on your local development machine (but it’s not required on the server). You can use fnm to easily switch Node versions between different projects.

To create a new app, you may choose one of the following methods:

npx

$ npx create-react-webpack-project my-app

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

npm

$ npm init react-webpack-project my-app

npm init <initializer> is available in npm 6+

yarn

$ yarn create react-webpack-project my-app

yarn create is available in Yarn 0.25+

It will create a directory called my-app inside the current folder. Inside that directory, it will generate the initial project structure and install the transitive dependencies.

Contributors

Made with contributors-img.

1.16.4

2 years ago

1.16.3

2 years ago

1.16.2

3 years ago

1.16.1

3 years ago

1.16.0

3 years ago

1.15.4

3 years ago

1.15.3

3 years ago

1.15.2

3 years ago

1.15.1

3 years ago

1.15.6

3 years ago

1.15.5

3 years ago

1.14.0

3 years ago

1.12.1

3 years ago

1.12.0

3 years ago

1.11.0

3 years ago

1.15.0

3 years ago

1.13.1

3 years ago

1.13.0

3 years ago

1.10.5

3 years ago

1.10.4

3 years ago

1.10.3

3 years ago

1.10.2

3 years ago

1.10.1

3 years ago

1.10.0

3 years ago

1.9.1

3 years ago

1.9.0

3 years ago

1.8.4

3 years ago

1.8.2

3 years ago

1.8.3

3 years ago

1.8.1

4 years ago

1.7.9

4 years ago

1.7.8

4 years ago

1.7.7

4 years ago

1.7.6

4 years ago

1.7.5-rc2

4 years ago

1.7.5-rc1

4 years ago

1.7.4

4 years ago

1.7.3

4 years ago

1.7.2

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.0-rc1

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.7

4 years ago

1.4.6

4 years ago

1.4.5

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.0

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.5

4 years ago

1.1.2

4 years ago