Skip to content

Latest commit

 

History

History

tsconfig-dx-team

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Tsconfig dx-team preset

This package provides a custom preset for typescript, specifically designed for the DX team at FingerprintJS.

Installation

To install this package, use the following command:

pnpm install -D @fingerprintjs/tsconfig-dx-team

Configuration

To use this preset in your project, add the following configuration to your project's tsconfig.json configuration file:

{
  "extends": "@fingerprintjs/tsconfig-dx-team/tsconfig.json",
  "compilerOptions": {
    // Specify other configuration
    "outDir": "dist/src",
    "module": "es6",
    "moduleResolution": "node",
    "target": "es2020",
    // Don't forget to specify jsx for react projects - https://www.typescriptlang.org/docs/handbook/jsx.html
    "jsx": "react-jsx"
  },
  "files": ["./src/index.ts"],
  "exclude": ["dist", "node_modules", "**/*.test.ts"]
}

License

This project is licensed under the MIT license. See the LICENSE file for more info.