@instacart/tsconfig

0.1.1 • Public • Published

@instacart/tsconfig

NPM version

Instacart's shared TypeScript configuration

Installation

$ yarn add --dev @instacart/tsconfig

Usage

By default the package provides 2 configurations to extend from.

  • @instacart/tsconfig - The base configuration.

  • @instacart/tsconfig/babel is used for our builds that use TypeScript in conjunction with Babel for the build process and defaults to esnext for the ECMAScript target version and module generation. It also preserves jsx for babel to take care of.

// tsconfig.json
{
  "extends": "@instacart/tsconfig/babel",
  "compilerOptions": {
    "rootDir": "./",
    ...
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @instacart/tsconfig

Weekly Downloads

2,202

Version

0.1.1

License

MIT

Unpacked Size

1.9 kB

Total Files

5

Last publish

Collaborators

  • ic-npm
  • nmarks
  • ninjabanjo
  • wfro
  • dcocchia