mirror of
https://github.com/hanzoai/jose.git
synced 2026-09-24 17:00:01 +00:00
Use NodeNext resolution so imports follow the exports map and require the .js extensions used by the source. Enable stricter checks to catch future regressions. Require isolated declarations before publishing and add the explicit internal annotations needed to keep declaration emit stable. Signed-off-by: Filip Skokan <[email protected]>
26 lines
650 B
JSON
26 lines
650 B
JSON
{
|
|
"files": ["./src/index.ts"],
|
|
"compilerOptions": {
|
|
"rootDir": "./src",
|
|
"outDir": "./dist/webapi",
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"lib": ["ES2022", "DOM"],
|
|
"types": [],
|
|
"strict": true,
|
|
"skipLibCheck": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"allowUnreachableCode": false,
|
|
"allowUnusedLabels": false,
|
|
"sourceMap": false,
|
|
"removeComments": true,
|
|
"verbatimModuleSyntax": true,
|
|
"erasableSyntaxOnly": true
|
|
}
|
|
}
|