- Webpack 2;
- Babel;
- React hot loader;
- HTML and CSS generated automatically by webpack;
- Jest for tests and Chai for assertions;
- Storybook to create isolatelly components' stories
- Async/await
- Webpack tree shaking!
- Node.js
>=
v6;
- Clone this repository:
git clone [email protected]:fdaciuk/workflow-reactjs.git
; - Remove
.git
directory; - Install dependencies:
yarn
(ornpm i
); - Run
yarn start
(ornpm start
) to develop onhttp://localhost:3000
- Run
yarn build
(ornpm run build
) for production build (files will be generated ondist
directory)
yarn start (or npm start)
: Starts the applicationyarn test (or npm test)
: Run tests onceyarn test:watch (or npm run test:watch)
: Run tests in watch modeyarn build (or npm run build)
: Build project to productionyarn storybook (or npm run storybook)
: Run Storybook on 6006 portyarn build-storybook
: Build Storybook to static filesyarn update-packages
: Update all packages to the latest version
MIT © Fernando Daciuk