Skip to content

Frontend Server

Leonid Fenko edited this page Feb 12, 2019 · 2 revisions

Prerequisites

  • Installed git hooks (see root).
  • Configured git (see root).
  • Yarn v1.9.4;
  • Node v8.11.1 (with npm v5.6.0);
  • Latest WebStorm or Visual Studio Code;

Yarn scripts

Package management

NOTE: It's mandatory to use yarn i instead of yarn or yarn install

  • yarn i: install dependencies with frozen lockfile;
  • yarn a: shortcut for yarn add -E;
  • yarn r: shortcut for yarn remove.

Development

TBD.

Build

TBD.

Prettier

NOTE: Prettier reformats code before commit.

  • prettier:all: reformat all possible files with prettier.

Linters

NOTE: Code is checked before commit.

  • lint:js: run eslint;
Clone this wiki locally