tsconfig.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "compilerOptions": {
  3. "target": "es5",
  4. "alwaysStrict": true,
  5. "noImplicitAny": true,
  6. "noImplicitThis": true,
  7. "sourceMap": false,
  8. "noUnusedLocals": true,
  9. "strictNullChecks": true,
  10. "strictFunctionTypes": true,
  11. //"keyofStringsOnly": true,
  12. // temp fix for immutable package: has(key: string): key is keyof TProps; => has(key: string | number | Symbol): key is keyof TProps;
  13. //"downlevelIteration": true,
  14. "jsx": "react",
  15. "lib": [ "es6", "dom", "esnext.asynciterable", "es2016" ],
  16. "outDir": "build/node_modules",
  17. "baseUrl": "src",
  18. "paths": {
  19. "mol-app": ["./mol-app"],
  20. "mol-data": ["./mol-data", "./mol-data/index.ts"],
  21. "mol-geo": ["./mol-geo"],
  22. "mol-gl": ["./mol-gl"],
  23. "mol-io": ["./mol-io"],
  24. "mol-math": ["./mol-math"],
  25. "mol-model": ["./mol-model"],
  26. "mol-ql": ["./mol-ql"],
  27. "mol-script": ["./mol-script"],
  28. "mol-task": ["./mol-task", "./mol-task/index.ts"],
  29. "mol-util": ["./mol-util", "./mol-util/index.ts"],
  30. "mol-view": ["./mol-view"]
  31. }
  32. },
  33. "include": [ "**/*" ]
  34. }