mcpField
E
express-typescript-starter

express-typescript-starter

github.com/rebyteai-template开发1752 次安装19 周前更新
代码仓库

关于 express-typescript-starter

面向应用开发者的 Express.js 与 TypeScript 项目模板,包含 Biome 代码检查、Vitest 测试和 Docker 支持。

主要功能

  1. 01Express.js 与 TypeScript 配置
  2. 02Biome 代码检查
  3. 03Vitest 测试
  4. 04Docker 支持
  5. 05基于 npm 的安装与脚本

适用场景

  1. 01启动 TypeScript Express.js 服务
  2. 02使用 Vitest 构建和测试应用

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/rebyteai-template/rebyte-skills --skill express-typescript-starter

安装后在 Claude Code 中输入/express-typescript-starter确认已加载。

详细介绍

Express TypeScript 入门模板

Express + TypeScript 入门模板,支持 Biome lint、Docker 和 Vitest 测试。

技术栈

  • 框架:Express.js
  • 语言:TypeScript
  • Lint:Biome
  • 测试:Vitest
  • 包管理器:npm

设置

1. 克隆模板
git clone --depth 1 https://github.com/edwinhern/express-typescript.git .

如果目录不为空:

git clone --depth 1 https://github.com/edwinhern/express-typescript.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template
2. 移除 Git 历史记录(可选)
rm -rf .git
git init
3. 安装依赖项
npm install

构建

npm run build

开发

npm run dev

评论

支持 Markdown