@4c/tsconfig

0.4.1 • Public • Published

@4c/tsconfig

A set of shareable tsconfig.json for typescript projects

Install

yarn add @4c/tsconfig -D

Usage

base.json

A generic config meant to be extended for specific use-cases

{
  "extends": "@4c/tsconfig/base.json"
}

web.json

A set of defaults for DOM based projects.

{
  "extends": "@4c/tsconfig/web.json"
}

node.json

A set of defaults for Node.js based projects. Expects @types/node to be installed

{
  "extends": "@4c/tsconfig/node.json"
}

workspaces.json

The web config, but with an added plugin for resolution of yarn workspace projects in VSCode, so each package does not have to be built while developing for types.

{
  "extends": "@4c/tsconfig/workspaces.json"
}

Readme

Keywords

none

Package Sidebar

Install

npm i @4c/tsconfig

Weekly Downloads

1,410

Version

0.4.1

License

MIT

Unpacked Size

3.27 kB

Total Files

7

Last publish

Collaborators

  • stephen_liu
  • monastic.panic
  • sloria