1.2.0 • Published 6 years ago
generator-koa-typescript v1.2.0
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