- supertest sample
- switch to jest/coverage from ava+nyc
- add nyc code coverage for ava
- move
*.ts
to src/ and build to dist/ - tslint autofix => eslint prettier autofix
avatest and npm scripts
[node-app]
- ts sourcemap support
- npm start & nodemon dev
- dotenv-cli & .env
- redis options, ioredis
[koa]
- koa, koa-helmet, koa-ratelimit, ioredis, koa error
- nodemon, koa-router, koa-body, api error
- app session, koa middlewares
- fix vscode autofix
- router ctx types
- tsconfig esModuleInterop=false
- definition for dist files
# Node version
# node >= 10
# Install dependencies
npm i
# Live build watch
npx tsc --watch
# Run demo
node dist/hello
- Dependencies
- typescript 3.5.2
- typescriot-eslint 1.11.0
- eslint 6.0.1
- prettier 1.18.2
- npmrc
- packafge-lock=false
- tsconfig
- `compilerOptions.outDir='./dist'`
- `include='src/**/*.ts'`
- VS-Code Extensions
- Prettier 1.9.0
- ESLint 1.9.0
- DotENV 1.0.1