tsconfig.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "commonjs",
  5. "strict": false,
  6. "sourceMap": true,
  7. "noImplicitAny": true,
  8. "noUnusedLocals": false,
  9. "noImplicitReturns": true,
  10. "moduleResolution": "node",
  11. "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
  12. "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
  13. "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
  14. "declaration": true,
  15. "resolveJsonModule": true,
  16. "types" : [
  17. "node"
  18. ],
  19. "forceConsistentCasingInFileNames": true,
  20. "baseUrl": ".",
  21. "paths": {
  22. "@polkadot/types/augment": ["./node_modules/@joystream/types/augment-codec/augment-types.ts"]
  23. },
  24. "typeRoots": [
  25. "./node_modules/@polkadot/ts",
  26. "./node_modules/@types"
  27. ],
  28. "declarationDir": "lib",
  29. "outDir": "lib"
  30. },
  31. "include": [
  32. "src/*.ts"
  33. ],
  34. "exclude": [
  35. "node_modules",
  36. "**/*.spec.ts",
  37. "**/*.d.ts"
  38. ]
  39. }