All Projects → fathyb → Parcel Plugin Typescript

fathyb / Parcel Plugin Typescript

Licence: mit
🚨 Enhanced TypeScript support for Parcel

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Parcel Plugin Typescript

Feflow
🚀 A command line tool aims to improve front-end engineer workflow and standard, powered by TypeScript.
Stars: ✭ 942 (+435.23%)
Mutual labels:  lint, code-quality
eslint-plugin-import
ESLint plugin with rules that help validate proper imports.
Stars: ✭ 4,290 (+2337.5%)
Mutual labels:  lint, code-quality
Cflint
Static code analysis for CFML (a linter)
Stars: ✭ 156 (-11.36%)
Mutual labels:  lint, code-quality
Gradle Code Quality Tools Plugin
Gradle plugin that generates ErrorProne, Findbugs, Checkstyle, PMD, CPD, Lint, Detekt & Ktlint Tasks for every subproject.
Stars: ✭ 282 (+60.23%)
Mutual labels:  lint, code-quality
Eslint Plugin Import
ESLint plugin with rules that help validate proper imports.
Stars: ✭ 3,722 (+2014.77%)
Mutual labels:  lint, code-quality
Reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
Stars: ✭ 4,541 (+2480.11%)
Mutual labels:  lint, code-quality
flake8-broken-line
🚨 Flake8 plugin to forbid backslashes (\) for line breaks
Stars: ✭ 85 (-51.7%)
Mutual labels:  lint, code-quality
Detekt
Static code analysis for Kotlin
Stars: ✭ 4,169 (+2268.75%)
Mutual labels:  lint, code-quality
Editorconfig Checker
A tool to verify that your files are in harmony with your .editorconfig
Stars: ✭ 119 (-32.39%)
Mutual labels:  lint, code-quality
Gradle Pitest Plugin
Gradle plugin for PIT Mutation Testing
Stars: ✭ 144 (-18.18%)
Mutual labels:  code-quality
Dart Lint
An opinionated, community-driven set of lint rules for Dart and Flutter projects. Like pedantic but stricter
Stars: ✭ 141 (-19.89%)
Mutual labels:  lint
Android Development Aircraft Carrier
打造安卓开发航空母舰,Android Studio 使用集锦
Stars: ✭ 138 (-21.59%)
Mutual labels:  lint
Protolint
A pluggable linter and fixer to enforce Protocol Buffer style and conventions.
Stars: ✭ 142 (-19.32%)
Mutual labels:  lint
Clippy Check
📎 GitHub Action for PR annotations with clippy warnings
Stars: ✭ 159 (-9.66%)
Mutual labels:  lint
Openapi Cli
⚒️ OpenAPI 3 CLI toolbox with rich validation and bundling features.
Stars: ✭ 169 (-3.98%)
Mutual labels:  lint
Piranha
A tool for refactoring code related to feature flag APIs
Stars: ✭ 1,840 (+945.45%)
Mutual labels:  code-quality
Syntastic
Syntax checking hacks for vim
Stars: ✭ 11,044 (+6175%)
Mutual labels:  lint
Jscpd
Copy/paste detector for programming source code.
Stars: ✭ 2,397 (+1261.93%)
Mutual labels:  code-quality
Grunt Html
Grunt plugin for html validation
Stars: ✭ 165 (-6.25%)
Mutual labels:  lint
Misspell Fixer
Simple tool for fixing common misspellings, typos in source code
Stars: ✭ 154 (-12.5%)
Mutual labels:  lint

parcel-plugin-typescript

Enhanced TypeScript integration for Parcel.

Screenshot

Differences with Parcel native support

While Parcel has built-in transpiling support for TypeScript, this plugin provides additional features.

If you only need transpiling then this plugin might not be necessary. You can see this plugin as a Parcel version of awesome-typescript-loader or ts-loader.

Features

  • Type checking:
    Checking your TypeScript code for errors, in a separate process for speed.
  • Path mappings:
    Rewriting your import on the fly accordingly to your paths and baseUrl compiler options.
  • Custom AST transformers: Use your own TypeScript transformers

Upcoming features

  • TSLint support

Angular Support

Angular support has been moved to parcel-plugin-angular.

Installation

yarn add parcel-plugin-typescript

or

npm install parcel-plugin-typescript

Configuration

For configuration, you can pass a parcel-plugin-typescript object in your tsconfig.json:

{
  "compilerOptions": {...},
  // the plugin options
  "parcel-plugin-typescript": {
    // If true type-checking is disabled
    "transpileOnly": false
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].