tsconfig.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "commonjs",
  5. "strict": false,
  6. "sourceMap": true,
  7. "noImplicitAny": false,
  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. "@polkadot/api/types/events": ["./node_modules/@joystream/types/augment/augment-api-events.ts"]
  24. },
  25. "typeRoots": [
  26. "./node_modules/@polkadot/ts",
  27. "./node_modules/@types"
  28. ],
  29. "declarationDir": "lib",
  30. "outDir": "lib"
  31. },
  32. "include": [
  33. "src/*.ts"
  34. ],
  35. "exclude": [
  36. "node_modules",
  37. "**/*.spec.ts",
  38. "**/*.d.ts"
  39. ]
  40. }