Skip to content

code0verdose/Blog-Production-Project

Repository files navigation

Blog - production training project.

by RaveOverdose

Stack

  • [ReactJS]
  • [Redux Toolkit]
  • [TypeScript]
  • [Webpack]
  • [Sass/Module]
  • [Jest]
  • [Babel]

Installation

Project requires Node.js v17.4.0 + to run.

Install the dependencies and devDependencies and start the server.

npm i

Development

Open your favorite Terminal and run these commands.

dev-server

npm start

Building for source

For production release:

npm run build:prod

For development release:

npm run build:dev

Eslint

Check files:

npm run eslint:ts

Fix files:

npm run eslint:ts:fix

Stylelint

Check .scss files:

npm run lint:scss

Fix .scss files:

npm run lint:scss:fix

Jest

Start Unit tests:

npm run unit