0.0.1 • Published 1 year ago

@channel.io/typescript-config v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

typescript-config

Base typescript configuration for Channel.io

Installation

$ yarn add --dev @channel.io/typescript-config

Usage

React

{
  "extends": "@channel.io/typescript-config/web.json",
  "compilerOptions": {
    "baseUrl": ".",
    "rootDir": "."
  },
  "include": ["./app/**/*", "./client/**/*", "./server/**/*", "./tests/**/*"]
}

React Library

{
  "extends": "@channel.io/typescript-config/web-library.json",
  "compilerOptions": {
    "baseUrl": ".",
    "rootDir": "."
  },
  "include": ["./app/**/*", "./client/**/*", "./server/**/*", "./tests/**/*"]
}

Node

{
  "extends": "@channel.io/typescript-config/node.json",
  "compilerOptions": {
    "baseUrl": ".",
    "rootDir": "."
  },
  "include": ["./app/**/*", "./client/**/*", "./server/**/*", "./tests/**/*"]
}

Node Library

{
  "extends": "@channel.io/typescript-config/node-library.json",
  "compilerOptions": {
    "baseUrl": ".",
    "rootDir": "."
  },
  "include": ["./app/**/*", "./client/**/*", "./server/**/*", "./tests/**/*"]
}
0.0.1

1 year ago