mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
33 lines
1.2 KiB
JSON
33 lines
1.2 KiB
JSON
{
|
|
"extends": [
|
|
"@tsconfig/strictest/tsconfig.json",
|
|
"@tsconfig/esm/tsconfig.json"
|
|
],
|
|
"files": ["./src/index.ts"],
|
|
"include": ["./src/**/*.ts"],
|
|
"exclude": [
|
|
"node_modules",
|
|
// "**/__tests__/*",
|
|
"lib"
|
|
],
|
|
"compilerOptions": {
|
|
"moduleResolution": "node",
|
|
"target": "esnext",
|
|
"module": "ESNext",
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true /* Enable importing .json files */,
|
|
"declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
|
|
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
|
|
"outDir": "./lib/esm" /* Specify an output folder for all emitted files. */,
|
|
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
|
|
"noUnusedLocals": true /* Enable error reporting when a local variables aren't read. */,
|
|
"noUnusedParameters": true /* Raise an error when a function parameter isn't read */,
|
|
"noUncheckedIndexedAccess": true,
|
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
},
|
|
"ts-node": {
|
|
// Tell ts-node CLI to install the --loader automatically, explained below
|
|
"esm": true
|
|
}
|
|
}
|