0.1.1 • Published 7 years ago
@instacart/tsconfig v0.1.1
@instacart/tsconfig
Instacart's shared TypeScript configuration
Installation
$ yarn add --dev @instacart/tsconfigUsage
By default the package provides 2 configurations to extend from.
- @instacart/tsconfig- The base configuration.
- @instacart/tsconfig/babelis used for our builds that use TypeScript in conjunction with Babel for the build process and defaults to- esnextfor the ECMAScript target version and module generation. It also preserves- jsxfor babel to take care of.
// tsconfig.json
{
  "extends": "@instacart/tsconfig/babel",
  "compilerOptions": {
    "rootDir": "./",
    ...
  }
}0.1.1
7 years ago