# microsoft/TypeScript-Babel-Starter

A sample setup using Babel CLI to build TypeScript code, and using TypeScript for type-checking.

Repository: https://github.com/microsoft/TypeScript-Babel-Starter
Canonical: https://ross.abutalabs.com/products/typescript-babel-starter
Language: TypeScript
License: MIT
License Family: permissive
Archived: true
Last push: 2022-08-15T21:15:29+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3148, "days_push": 1479, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1978, forks 217 (observed 2026-08-28T04:06:01.525877+00:00)

## What it is
A sample repository from Microsoft demonstrating how to use Babel CLI to transpile TypeScript to JavaScript while using the TypeScript compiler for type-checking. It includes step-by-step setup instructions and examples for integrating JSX/React, Webpack, and Rollup.

## Use cases
- set up a TypeScript project that builds with Babel
- use Babel for transpilation and tsc only for type-checking
- configure a TypeScript React project with Babel and Webpack
- bundle a TypeScript library with Rollup and Babel
- learn how Babel and TypeScript fit together in a build pipeline

## When to choose
- you want fast TypeScript transpilation via Babel with separate type-checking
- you need a reference setup for TypeScript with JSX/React and bundlers
- you are learning how to wire Babel and TypeScript together manually

## When to avoid
- you want a full-featured production build system with batteries included
- you prefer an all-in-one toolchain like ts-node, esbuild, or Vite
- you need an actively maintained template with recent updates

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: build-tool, developer-tools
- domain: developer-tools, web-development, tutorials
- platform: cross-platform
- tags: babel, typescript, starter-template, boilerplate, type-checking, webpack, rollup, nodejs

## Member repositories
- microsoft/TypeScript-Babel-Starter (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:01.525877+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:04:44.852317+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/TypeScript-Babel-Starter (fetched 2026-08-28T04:06:01.525877+00:00, sha 0c6294649074)
- Data as of 2026-08-30T08:39:29.467469+00:00.
