说明:hackernews-async-ts
使用打字稿&& egg的展示
快速开始
发展
$ npm i
$ npm run dev
$ open http://localhost:7001/
不要以开发模式编译tsc,如果您已经运行过tsc则需要在npm run dev之前先进行npm run clean npm run dev 。
部署
$ npm run tsc
$ npm start
Npm脚本
使用npm run lint检查代码样式
使用npm test运行单元测试
se npm r
<weixin_42114046> 上传 | 大小:186kb