【文件属性】:
文件名称:express-typescript-jest-sample:具有TypeScript,Jest,ESLint等的Node.js Express项目样板。
文件大小:81KB
文件格式:ZIP
更新时间:2021-02-05 00:15:43
template express typescript eslint jest
带Typescript和Jest的Express Server
入门
运行Express服务器
npm start
发展历程
要通过自动重启来调试Express服务器,
npm run dev:server
要在监视模式下运行单元测试(笑话),
npm run dev:tdd
带有VS Code
使用Attach to Server调试Attach to Server
使用Attach to Jest调试测试
参考
【文件预览】:
express-typescript-jest-sample-master
----.prettierc.js(113B)
----.env(120B)
----.eslintrc.js(766B)
----src()
--------app.ts(651B)
--------index.ts(229B)
--------routes.ts(1KB)
--------sample.ts(115B)
----.vscode()
--------launch.json(637B)
----tsconfig.json(471B)
----jest.config.js(331B)
----__tests__()
--------sample.spec.ts(255B)
--------routes.spec.ts(1KB)
----tslint.json(312B)
----README.md(817B)
----nodemon.json(153B)
----.gitignore(29B)
----package-lock.json(303KB)
----package.json(2KB)