@web-project/react
v2.0.0
Published
Create a project with Webpack 4, Babel 7, React, Flow, ESLint, Jest
Downloads
13
Maintainers
Readme
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