@alwaysai/tsconfig

0.0.1 • Public • Published

@alwaysai/tsconfig

TypeScript configurations for alwaysAI projects

Usage

These instructions assume that you're using TypeScript >=3.2 with support for "tsconfig.json inheritance via Node.js packages".

npm install --save-dev typescript @alwaysai/tsconfig

Create a file tsconfig.json at the root of your project with contents:

{
  "extends": "@alwaysai/tsconfig"
}

Add your own compilerOptions or any other properties described here in the TypeScript docs.

The @alwaysai/tsconfig base configuration sets some desirable non-default values such as "strict": true. It also enumerates as comments most of the other available configuration options. The base configuration can be used directly as "extends": "@alwaysai/tsconfig". This package also makes available a Node.js-specific configuration usable as "extends": "@alwaysai/tsconfig/nodejs/tsconfig.json". The nodejs configuration extends the base one and also sets "es2017" as the compiler target, suitable for use with Node.js >=8.

Related

License

MIT © alwaysAI, Inc.

Readme

Keywords

none

Package Sidebar

Install

npm i @alwaysai/tsconfig

Weekly Downloads

410

Version

0.0.1

License

MIT

Unpacked Size

5.84 kB

Total Files

5

Last publish

Collaborators

  • toddathan
  • sheshalwaysai
  • alexbigkid
  • tony-alwaysai
  • jarrett.thompson
  • dwolner
  • olaf.ziel
  • lilamullany
  • mitchrosenlof
  • carloslazo
  • ericvanbuhler
  • socalrunner