1.0.0 • Published 2 years ago
@kevinwolfcr/tsconfig-browser v1.0.0
@kevinwolfcr/tsconfig-browser
Kevin Wolf's opinionated TypeScript config optimized for browser-based projects.
Features
- Tailored for projects intended to run in a web browser environment.
- Extends
@kevinwolfcr/tsconfigfor consistent coding standards and best practices.
When to Use
This configuration is ideal for vanilla JavaScript (or TypeScript) projects meant for the browser, such as dynamic websites, web apps not using a modern framework, or browser extensions. Use this configuration to ensure your project is optimized for browser-specific typings and standards.
Installation
With bun:
bun add -D @kevinwolfcr/tsconfig-browserWith npm:
npm install --save-dev @kevinwolfcr/tsconfig-browserWith pnpm:
pnpm add -D @kevinwolfcr/tsconfig-browserWith yarn:
yarn add --dev @kevinwolfcr/tsconfig-browserUsage
To use this configuration, extend it in your tsconfig.json:
{
"extends": "@kevinwolfcr/tsconfig-browser"
}Contributing
Contributions are welcome! If you wish to contribute to this project, please read the Contributing Guidelines first.
License
This project is licensed under the MIT license - see the license file for details.
1.0.0
2 years ago