view tsconfig.json @ 100:ad08e5e25fc9

revert jsonld a few years to avoid a vite/commonjs build issue the newer jsonld has this dep graph: jsonld 5.2.0 └─┬ rdf-canonize 3.0.0 └── setimmediate 1.0.5 and that setimmediate uses strict in a way that breaks the build, etc.
author drewp@bigasterisk.com
date Fri, 11 Feb 2022 22:57:23 -0800
parents 6ec759f9009f
children 76c1a29a328f
line wrap: on
line source

{
  "compilerOptions": {
    "strict": true,
    "noFallthroughCasesInSwitch": true,
    "noImplicitAny": true,
    "noImplicitReturns": true,
    "noImplicitThis": true,
    "strictFunctionTypes": true,
    "strictNullChecks": true,
    "strictPropertyInitialization": true,
    "alwaysStrict": true,

    "types": ["jest"],

    "module": "ES6",
    "target": "ES6",
    "moduleResolution": "node",
    "sourceMap": true,
    "declaration": true,
    "declarationDir": ".", // relative to outDir
    "experimentalDecorators": true,
    "allowJs": true,
    "esModuleInterop": true,
    // "traceResolution": true,
    // "allowSyntheticDefaultImports": true,
    // "rootDir": ".",
    "outDir": "./build",
    "baseUrl": "."
    // "emitDecoratorMetadata": true,
    // "lib": [ "es6", "dom" ],
  },
  "include": ["src/**/*.ts"],
  "exclude": ["src/**/*.test.ts"]
}