Serverless Plugin Typescript Express

homepage icon https://github.com/eliasjcjunior/serverless-plugin-typescript-express
Follow @eliasjcjunior

Tracked

NPM Downloads Last Month
199
Issues
0
Stars
3
Forks
0
Watchers
3
Watch Star Fork Issue Download License NPM Build Status Coverage Status Contributors

Repo README Contents:

Serverless Plugin Typescript Express

serverless

Features

Instalation and use

yarn add --dev serverless-plugin-typescript-express

or

npm install --save-dev serverless-plugin-typescript-express

Add the following plugin to your serverless.yml:

plugins:
  - 'serverless-plugin-typescript-express'

tsconfig.json

The default tsconfig.json file used by the plugin looks like this:

{
    "compilerOptions": {
      "target": "es6",
      "module": "commonjs",
      "outDir": "dist",
      "sourceMap": true,
      "experimentalDecorators": true,
      "emitDecoratorMetadata": true,
      "isolatedModules": false,      
      "lib": [ 
        "es6", 
        "dom" 
      ]
    },
    "include": [
      "src/**/*"
    ],
    "exclude": [
      "node_modules"
    ]
  } 

The input folder src cannot be overwritten

License —- MIT