expresswebjs-preset-ts

1.0.6 • Public • Published


ExpressWebJs Preset Typescript

This is the base config files (recommended by the core team) for typescript to be extended to your ExpressWebJs typescript projects.

Usage

Install the package from npm registry as follows

npm i -D expresswebjs-preset-ts

# yarn
yarn add -D expresswebjs-preset-ts

and then setup your config file to extend the base config

tsconfig.json

{
  "extends": "./node_modules/expresswebjs-preset-ts/tsconfig",
  "compilerOptions": {
    "paths": {
      "App/*":["./App/*"],
      "Config/*":["./Config/*"],
      "Database/*":["./Database/*"],
      "Routes/*":["Routes/*"],
    }
  }
}

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i expresswebjs-preset-ts

    Weekly Downloads

    8

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    2.28 kB

    Total Files

    3

    Last publish

    Collaborators

    • alexigbokwe