tree: 03abd7cae52ccd845cedbc87d4712be0f59a12b2 [path history] [tgz]
  1. app/
  2. config/
  3. test/
  4. .autod.conf.js
  5. .gitignore
  6. .travis.yml
  7. app.ts
  8. appveyor.yml
  9. dubbo.json
  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

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+