@sentry/typescript

5.20.1 • Public • Published


Sentry TypeScript Configuration

npm version npm dm npm dt

typedoc

Links

General

Shared typescript configuration used at Sentry.

Installation

# With Yarn:
yarn add --dev @sentry/typescript

# With NPM:
npm install --save-dev @sentry/typescript

Usage

Add the following config files to your project's root directory:

tslint.json:

{
  "extends": "@sentry/typescript/tslint"
}

tsconfig.json:

{
  "extends": "./node_modules/@sentry/typescript/tsconfig.json",
  "compilerOptions": {
    "baseUrl": ".",
    "rootDir": "src",
    "outDir": "dist"
  }
}

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @sentry/typescript

    Weekly Downloads

    5,248

    Version

    5.20.1

    License

    BSD-3-Clause

    Unpacked Size

    7.27 kB

    Total Files

    5

    Last publish

    Collaborators

    • benvinegar
    • billyvg
    • mitsuhiko
    • haza
    • jauer
    • sentry-bot
    • evanpurkhiser
    • lynnagara
    • leedongwei
    • markstory
    • zeeg