@web-project/react

2.0.0 • Public • Published

NPM Version NPM Downloads GitHub issues Telegram

Create React project!

A boilerplate with Webpack 4, Babel 7, React, Flow, ESLint, Jest

Installation

Installation is optional (see usage)

npm i --save-dev @web-project/react

Usage

You can use npx to eject files to the current working directory:

npx @web-project/react --eject

If your folder is empty, create package.json file first (npm init)

CLI options

  -e, --eject    Eject files to the directory               [boolean] [required]
  -l, --lock     Do not remove package-lock.json      [boolean] [default: false]
  -b, --bare     Do not merge package.json            [boolean] [default: false]
  -n, --no-src   Do not copy src folder               [boolean] [default: false]
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]

Scripts

Runs the app in development mode:

npm start

Builds the app for production to the "dist" folder:

npm run build

Opens an interactive visualization treemap of your bundle's contents:

npm run build:info

You can find other scripts in the "scripts" section of the package.json file.

Author

@doasync

Package Sidebar

Install

npm i @web-project/react

Weekly Downloads

4

Version

2.0.0

License

MIT

Unpacked Size

1.48 MB

Total Files

129

Last publish

Collaborators

  • doasync