npm.io
0.1.7 • Published 5 years ago

eilos-preset-express-typescript

Licence
MIT
Version
0.1.7
Deps
23
Size
14 kB
Vulns
0
Weekly
0

είλως - Express JS Typescript Preset

This preset can be used for a typescript server-side project

Components

  • Webpack (4.43)
  • Typescript (3.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