πππ
Minimalistic boilerplate to start developing React JS applications in just few seconds easily with the included tooling. Using Webpack 3, Mobx 3, Babel 6.
πππ
To start using this boilerplate, all what you have to do is copy and paste the following commands in your terminal.
> git clone https://github.com/moaali/reactinator.git
> cd reactinator
> npm install
> npm run dev
This boilerplate structure is inspired by Ryan Florence and Alexis Mangin ideas of react app structure.
app
βββ components
β βββ Layout
β β βββ index.jsx
β β βββ index.scss
β β βββ ...
β β
β βββ Animation
β βββ ...
β
βββ screens
β βββ Index
β β βββ components
β β β βββ Content
β β β βββ ...
β β β
β β βββ shared
β β βββ index.jsx
β β βββ index.scss
β β βββ ...
β β
β βββ 404
β βββ ...
β
βββ shared
β βββ config
β β βββ routes.jsx
β β βββ ...
β β
β βββ services
β βββ static
β β βββ favicon.ico
β β βββ ...
β β
β βββ stores
β β βββ clientStore.js
β β βββ index.js
β β βββ ...
β β
β βββ styles
β β βββ settings
β β βββ components
β β βββ ...
β β βββ index.scss
β βββ ...
β
βββ index.html
βββ index.jsx
Below are the available terminal commands used by this boilerplate:
npm start
: Running into development mode but without fancy webpack dashboard plugin.
npm run dev
: Running into development mode with fancy webpack dashboard plugin ebabled.
npm run clean
: Delete the production folder before running the build command below.
npm run build
: Produce the production version of the app.
npm run preview
: Run server on the built production folder just for client preview.
npm run lint:js
: Linting JavaScript files.
npm run lint:scss
: test Linting Sass files.
npm run lint
: Linting both JavaScript & Sass files.
π MIT