tree: 0b2b9d90cc2309295268b651c2e57a978d22507e [path history] [tgz]
  1. app/
  2. config/
  3. test/
  4. typings/
  5. .autod.conf.js
  6. .gitignore
  7. .travis.yml
  8. app.ts
  9. appveyor.yml
  10. package.json
  11. README.md
  12. tsconfig.json
  13. tslint.json
examples/hello-egg/README.md

hackernews-async-ts

Hacker News showcase using typescript && egg

QuickStart

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Don't tsc compile at development mode, if you had run tsc then you need to npm run clean before npm run dev.

Deploy

$ npm run tsc
$ npm start

Npm Scripts

  • Use npm run lint to check code style
  • Use npm test to run unit test
  • se npm run clean to clean compiled js at development mode once

Requirement

  • Node.js 8.x
  • Typescript 2.8+