template-node-typescript
模板节点类型脚本template-node-typescript是一个模板,其中包含带有Typescript和Jest的Node项目的初始设置。具有配置eslint,prettier,jest和tsconfig的功能发展下载依赖项要安装依赖项,请运行以下命令: npm ci编辑器配置(VSCode)有必要在vscode中安装ESlint和Prettier扩展。执行安装依赖项后,运行命令: npm run build && npm run start ;要使用nodemon,请运行以下命令: npm run dev ;统一测试要运行测试文件夹中包含的测试,请执行: npm run test要运行带有coverage文件夹的测试中包含的测试,请执行: npm run test:coverage要使用watch文件夹运行包含在测试中的测试,请执行: np
69.05KB
文件大小:
评论区