-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathtsconfig.json
More file actions
33 lines (33 loc) · 1.45 KB
/
Copy pathtsconfig.json
File metadata and controls
33 lines (33 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"compilerOptions": {
// Only for the `baseUrl` that tsup's dts build injects unconditionally
// (node_modules/tsup/dist/rollup.js) - we no longer set one ourselves, and the
// paths below are relative so this config is already TS7-ready. Remove once tsup
// stops injecting it.
"ignoreDeprecations": "6.0",
"skipLibCheck": true,
"target": "es2022",
// node16 rather than the removed node10: it is what makes TypeScript honour the
// "exports" maps of dependencies, which is how the node-opcua-crypto 5.4.0
// per-condition types are resolved correctly from this CommonJS package.
"moduleResolution": "node16",
"module": "node16",
"declaration": true,
"noEmit": true,
"sourceMap": true,
"strict": true,
"listFiles": false,
"traceResolution": false,
"esModuleInterop": true,
"lib": [],
"types": ["node", "mocha", "should"],
// relative on purpose: without baseUrl, TS7 requires a leading "./" (TS5090)
"paths": {
"node-opcua-pki": ["./packages/node-opcua-pki/lib/index.ts"],
"node-opcua-pki-priv/*": ["./packages/node-opcua-pki/lib/*"]
}
},
"include": ["packages/node-opcua-pki/lib/**/*.ts", "test/*.ts"],
"exclude": ["node_modules", "dist"],
"files": ["packages/node-opcua-pki/lib/index.ts", "packages/node-opcua-pki/lib/ca/crypto_create_CA.ts"]
}