node+ts+express

91 阅读1分钟

配置文件 tsconfig.json: outDIr:./build es5->es2017

package.json:

start-server:'tsc&&node build/server.js'

npm run start-server

npm install nodemon -g 实时监听

start:'nodemon -e ts -w ./ -x npm run start-server'

接口调试工具postman