/eilos-preset-typescript

React + Typescript Preset for eilos

Primary LanguageTypeScript

είλως - Typescript Preset

This preset can be used for a typical, modern Typescript project with React.

Components

  • Webpack (4.43)
  • Typescript (4.2)
  • React (16.9)
  • Jest (26.0)
  • SASS (1.26)

Optimisations

In order to speed-up typescript checking, this preset is using:

  • fork-ts-checker-webpack-plugin for running type-checking in another thread

Supported Lifecycle Steps

build

{
  ...
  "scripts": {
    "build": "eilos build"
  }
  ...
}

Builds your project using Webpack and the typescript engine.

dev

{
  ...
  "scripts": {
    "dev": "eilos dev"
  }
  ...
}

Starts an webpack-dev-server for testing your project locally.

test

{
  ...
  "scripts": {
    "test": "eilos test"
  }
  ...
}

Run tests using jest