G
GitIgnore.pro
Back to Templates

Typescript .gitignore Template

Typescript project template

5K downloads
4.5/5.0
Updated 2024-01
.gitignore
19 lines

Using GitIgnore.pro fallback template because the official template was unavailable during generation.

# TypeScript build info
*.tsbuildinfo

# Build output
dist/
lib/
esm/

# Coverage & tests
coverage/
playwright-report/
cypress/videos/
cypress/screenshots/

# Tool caches
.eslintcache
.parcel-cache/
.rpt2_cache/
.ts-node-cache/

How to Use This Template

  1. Copy the template content above
  2. Create a new file named .gitignore in your project root
  3. Paste the content into the file
  4. Customize the patterns for your specific project needs
  5. Commit the .gitignore file to your repository

TypeScript 项目维护

导出 TypeScript 模板

一次性涵盖编译、测试、打包的忽略规则。