This package provides a custom preset for typescript, specifically designed for the DX team at FingerprintJS.
To install this package, use the following command:
pnpm install -D @fingerprintjs/tsconfig-dx-team
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"]
}
This project is licensed under the MIT license. See the LICENSE file for more info.