Files
orionprotocol-sdk/tsconfig.json
Aleksandr Kraiz 8588b55725 ESM
2023-03-31 17:47:56 +04:00

36 lines
1.3 KiB
JSON

{
"extends": [
"@tsconfig/strictest/tsconfig.json",
"@tsconfig/esm/tsconfig.json"
],
"files": [
"./src/index.ts"
],
"include": [
"./src/**/*.ts"
],
"exclude": [
"node_modules",
// "**/__tests__/*",
"lib"
],
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "nodenext",
"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
}
}