tree: 5359503aede8963969c9e4fa36b9d75dc85f2e4a [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. dubbo.json
  11. package.json
  12. README.md
  13. tsconfig.json
  14. 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

Regenerate

$ npm run interpret

Note: Install MVN Java node locally;

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+