https://github.com/patricktcoakley/swc-starter-template
A template project to quickly start using swc with TypeScript and Jest.
https://github.com/patricktcoakley/swc-starter-template
jest starter-template swc typescript webpack
Last synced: about 2 months ago
JSON representation
A template project to quickly start using swc with TypeScript and Jest.
- Host: GitHub
- URL: https://github.com/patricktcoakley/swc-starter-template
- Owner: patricktcoakley
- License: mit
- Archived: true
- Created: 2021-05-10T23:23:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-07T09:27:36.000Z (about 2 years ago)
- Last Synced: 2025-04-07T05:18:24.242Z (6 months ago)
- Topics: jest, starter-template, swc, typescript, webpack
- Language: JavaScript
- Homepage:
- Size: 1.96 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# swc-starter-template
This is a template project to start using [swc](https://swc.rs/) with [TypeScript](https://www.typescriptlang.org/).
Includes:
- Pre-configured [Webpack](https://webpack.js.org/) config with [swc-loader](https://swc.rs/docs/usage-swc-loader) and other plugins
- Support for [Jest](https://jestjs.io/) using [swc-jest](https://swc.rs/docs/usage-swc-jest)
- A default [ESLint](https://eslint.org/) config and TypeScript config.
- Support for [TypeDoc](https://typedoc.org/).Usage:
- `npm run dev` for local development
- `npm run build` for build
- `npm run test` for tests
- `npm run lint` for linting
- `npm run docs` for document generationNotes:
- The ***noEmit*** rule in tsconfig.json ***must be true*** in order to use swc; TypeScript is included only for linting and enforcement purposes and is otherwise not required to use swc.
- The goal of this project is to focus on TypeScript; JavaScript support is not implemented but is explained [here](https://swc.rs/docs/configuring-swc) in the swc docs.