Skip to content

fish-node/template-node-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

template-node-ts

node-ts项目的基本模板

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

$ npm run serve
# 运行node程序

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

$ npm run compiler
# 将TS编译成js

其他细节请移步wiki

About

使用ts来发node程序的基本模板

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published