1.0.0 • Published 3 years ago

@hedia/tsconfig v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

@hedia/tsconfig

Shared TypeScript config for Hedia.

Install

$ npm i @hedia/tsconfig

This config requires TypeScript 4.7 or later.

Usage

tsconfig.json

{
  "extends": "@hedia/tsconfig",
  "compilerOptions": {
    "rootDir": ".",
    "outDir": "dist" // You must always specify outDir
  },
  "include": ["src", "test"] // You must always specify include
}

We target ECMAScript modules by default. You can target CommonJS by setting the module and moduleResolution:

{
  "extends": "@hedia/tsconfig",
  "compilerOptions": {
    "module": "commonjs",
    "moduleResolution": "node",
    "outDir": "dist" // You must always specify outDir
  },
  "include": ["src", "test"] // You must always specify include
}
1.0.0

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago