@nodecfdi/tsconfig

1.5.0 • Public • Published

@nodecfdi/tsconfig

La libreria @nodecfdi/tsconfig exporta la configuración base para Typescript usada en los proyectos de NodeCfdi.

🇺🇸 The documentation of this project is in spanish as this is the natural language for intended audience.

🇲🇽 La documentación del proyecto está en español porque ese es el lenguaje principal de los usuarios.

Instalación

NPM

npm i -D typescript @nodecfdi/tsconfig

Yarn

yarn add -D typescript @nodecfdi/tsconfig

PNPM

pnpm add -D typescript @nodecfdi/tsconfig

Uso básico

Para libs de NodeCfdi, deberás de extender del archivo tsconfig.package.json:

{
  "extends": "@nodecfdi/tsconfig/tsconfig.package.json"
}

Si tu estás creando un proyecto NodeCfdi web backend, deberás de extender del archivo tsconfig.app.json:

{
  "extends": "@nodecfdi/tsconfig/tsconfig.app.json"
}

Si estás creando un proyecto NodeCfdi web frontend o con algún bundler resolver, deberás de extender del archivo tsconfig.client.json:

{
  "extends": "@nodecfdi/tsconfig/tsconfig.client.json"
}

Package Sidebar

Install

npm i @nodecfdi/tsconfig

Weekly Downloads

30

Version

1.5.0

License

MIT

Unpacked Size

4.33 kB

Total Files

7

Last publish

Collaborators

  • luffynando
  • celli33