@grupor5/tsconfig

0.0.1 • Public • Published

@grupor5/tsconfig

A comprehensive TypeScript configuration file for seamless development across Grupo R5 projects.

Installation

$ npm install -D @grupor5/tsconfig

Usage

Base Configuration

To use the base configuration, simply extend it in your tsconfig.json:

{ 
  "extends": "@grupor5/tsconfig/base.json" 
}

React with Vite

For a hassle-free setup in a Vite and React environment, extend the following configuration:

{
  "extends": "@grupor5/tsconfig/react-vite.json"
}

Additional Configurations

ESM (ECMAScript Modules) If you are working with ECMAScript Modules, extend the configuration in your esm.json:

{
  "extends": "@grupor5/tsconfig/esm.json"
}

DOM (Document Object Model)

For projects involving the Document Object Model, extend the configuration in your dom.json:

{
  "extends": "@grupor5/tsconfig/dom.json"
}

CommonJS (Node.js)

When working with Node.js and CommonJS, extend the configuration in your cjs.json:

{
  "extends": "@grupor5/tsconfig/cjs.json"
}

Vite Testing

To set up testing in a Vite environment, extend the configuration in your vitest.json:

{
  "extends": "@grupor5/tsconfig/vitest.json"
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.12latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.12

Package Sidebar

Install

npm i @grupor5/tsconfig

Weekly Downloads

2

Version

0.0.1

License

ISC

Unpacked Size

3.4 kB

Total Files

8

Last publish

Collaborators

  • henrynunezl
  • grupor5_platforms
  • cristianv975
  • cfvargas
  • andresleoon