#Simple React Project A command line tool that initializes a new npm project for a very simple React/Webpack project and installs dependencies. Use as a starting point for more interesting projects.
Installation
- npm install simple-react-project -g
Usage
Go to directory you in which you wish to initialize a React project and run simple-react
.
Installing all npm dependencies and creating file structure may take a few moments
Project
An npm project will be initialized with the following properties
Scripts
- npm start => Builds the bundle and sass and serves via webpack-dev-server
File Structure
- src/
- src/app
- src/shared
- src/shared/components
- src/shared/styles
- src/index.html
- src/index.jsx
- src/main.sass
- package.json
- webpack.config.js
- .gitignore