FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

sentry-javascript/packages/typescript at develop · getsentry/sentry-javascript · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Sentry TypeScript Configuration

Note

This package is an internal library published for use by Sentry-owned JavaScript SDK packages and repositories. It is not part of the public API contract and may change in any release. Do not rely on SemVer compatibility if you depend on it directly.

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:

tsconfig.json:

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

For an example of how to use this package in a monorepo, check out this package's own parent repo, https://github.com/getsentry/sentry-javascript.


Back | FazBrowse Home | New Git URL