Hacker News showcase using typescript && egg
$ pnpm i
$ pnpm 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
.
$ pnpm run tsc
$ pnpm start
- Use
pnpm run lint
to check code style - Use
pnpm test
to run unit test - se
pnpm run clean
to clean compiled js at development mode once
- Node.js 8.x
- Typescript 2.8+