Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfish2020 authored Jun 12, 2019
1 parent d2f6d1e commit df24310
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,18 @@

node-ts项目的基本模板

- npx ts-node ./src/index.ts
``` bash
$ npx ts-node ./src/index.ts
# 运行一个ts编写的程序

运行一个ts编写的程序
$ npm run serve
# 运行node程序

- npm run serve
$ npm run dev
# 运行node程序并且热更新

运行node程序

- npm run dev

运行node程序并且热更新

- npm run compiler

将TS编译成js

$ npm run compiler
# 将TS编译成js
```

其他细节请移步[wiki](https://github.com/fish-node/template-node-ts/wiki)

0 comments on commit df24310

Please sign in to comment.