generator-koa-typescript

1.2.0 • Public • Published

generator-koa-typescript

Yeoman Project Generator for Koa Web Applications developed with TypeScript.

Requirements

  • NodeJS v8.x

Features

  • Koa v2 with Body Parser & Router
  • TypeScript & TSLint
  • Logging for Development & Production
  • Watch mode for automatic restarts during development

Installation

npm install -g yo generator-koa-typescript

Usage

cd /my_projects_directory
yo koa-typescript [<new_dir_name>]

npm commands list

npm run watch-server  # Start the Koa server in watch mode 
npm run build-server  # Build the server for production 
npm start  # Run the server for production 

To Do List

  • Tests
  • Static file serving
  • Probably some other things!

Pull requests welcome!

License

MIT

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i generator-koa-typescript

    Weekly Downloads

    1

    Version

    1.2.0

    License

    none

    Unpacked Size

    6.98 kB

    Total Files

    10

    Last publish

    Collaborators

    • dupski