tsconfig.json 1.7 KB

12345678910111213141516171819202122232425262728293031
  1. {
  2. "compilerOptions": {
  3. /* Basic Options */
  4. // *"target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
  5. // *"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
  6. // *"lib": [ /* Specify library files to be included in the compilation. */
  7. // * "DOM",
  8. // * "ES2019"
  9. // *],
  10. // *"allowJs": true, /* Allow javascript files to be compiled. */
  11. "jsx": "react",
  12. "noUnusedLocals": false,
  13. // "checkJs": true, /* Report errors in .js files. */
  14. // "declaration": true, /* Generates corresponding '.d.ts' file. */
  15. // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
  16. // *"sourceMap": true, /* Generates corresponding '.map' file. */
  17. // *"outDir": "dist", /* Redirect output structure to the directory. */
  18. // *"strict": true,
  19. "baseUrl": ".", /* Base directory to resolve non-absolute module names. */
  20. "paths": {
  21. "@/*": ["src/main/*"],
  22. "common/*": ["src/common/*"]
  23. },
  24. // *"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
  25. },
  26. // *"include": [
  27. // * "./src"
  28. // *],
  29. // *"exclude": [ "node_modules" ],
  30. "extends": "./node_modules/electron-webpack/tsconfig-base.json"
  31. }