69bec3f49f
* chore(NA): move elastic-datemath into a ts package * chore(NA): finish elastic-datemath * chore(NA): finish elastic-datemath * chore(NA): source folder for elastic-datemath * chore(NA): add source-maps ace, analytics, apm-config-loader and apm-utils packages * chore(NA): add sourcemaps to packages on typescript * chore(NA): move test fixtures within source * chore(NA): correct exclusions on packages * chore(NA): correct package.json on all packages * chore(NA): correct package.json on all packages * chore(NA): complete kbn pm * chore(NA): default export on elastic-datemath * chore(NA): include logs on kbn-logging * chore(NA): update bundle ref module to last code used in the webpack upstream * chore(NA): update bundle ref module to last code used in the webpack upstream - refactored * chore(NA): remove override method for exportsArgument * fix(NA): typechecking problems by use @internal at javascript import sources on kbn-test package * fix(NA): typescript projects check * fix(NA): run optimizer integration tests from source * chore(NA): fix usage from target for kbn optimizer * chore(NA): path on tsconfig * chore(NA): move tsignore into ts-expect-error * chore(NA): include souce maps on kbn cli dev * chore(NA): include souce maps on kbn-crypto, kbn-server-http-tools and kbn-telemetry-tools * chore(NA): add issue links into the ts-expect-error comments # Conflicts: # packages/elastic-datemath/README.md # packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts
60 lines
2.5 KiB
JSON
60 lines
2.5 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
// Allows for importing from `kibana` package for the exported types.
|
|
"kibana": ["./kibana"],
|
|
"kibana/public": ["src/core/public"],
|
|
"kibana/server": ["src/core/server"]
|
|
},
|
|
// Support .tsx files and transform JSX into calls to React.createElement
|
|
"jsx": "react",
|
|
// Enables all strict type checking options.
|
|
"strict": true,
|
|
// save information about the project graph on disk
|
|
"incremental": true,
|
|
// Do not check d.ts files by default
|
|
"skipLibCheck": true,
|
|
// enables "core language features"
|
|
"lib": [
|
|
"esnext",
|
|
// includes support for browser APIs
|
|
"dom"
|
|
],
|
|
// Node 8 should support everything output by esnext, we override this
|
|
// in webpack with loader-level compiler options
|
|
"target": "esnext",
|
|
// Use commonjs for node, overridden in webpack to keep import statements
|
|
// to maintain support for things like `await import()`
|
|
"module": "commonjs",
|
|
// Allows default imports from modules with no default export. This does not affect code emit, just type checking.
|
|
// We have to enable this option explicitly since `esModuleInterop` doesn't enable it automatically when ES2015 or
|
|
// ESNext module format is used.
|
|
"allowSyntheticDefaultImports": true,
|
|
// Emits __importStar and __importDefault helpers for runtime babel ecosystem compatibility.
|
|
"esModuleInterop": true,
|
|
// Resolve modules in the same way as Node.js. Aka make `require` works the
|
|
// same in TypeScript as it does in Node.js.
|
|
"moduleResolution": "node",
|
|
// "resolveJsonModule" allows for importing, extracting types from and generating .json files.
|
|
"resolveJsonModule": true,
|
|
// Do not resolve symlinks to their real path; treat a symlinked file like a real one.
|
|
"preserveSymlinks": true,
|
|
// Disallow inconsistently-cased references to the same file.
|
|
"forceConsistentCasingInFileNames": false,
|
|
// Forbid unused local variables as the rule was deprecated by ts-lint
|
|
"noUnusedLocals": true,
|
|
// Provide full support for iterables in for..of, spread and destructuring when targeting ES5 or ES3.
|
|
"downlevelIteration": true,
|
|
// import tslib helpers rather than inlining helpers for iteration or spreading, for instance
|
|
"importHelpers": true,
|
|
// adding global typings
|
|
"types": [
|
|
"node",
|
|
"jest",
|
|
"flot",
|
|
"jest-styled-components",
|
|
"@testing-library/jest-dom"
|
|
]
|
|
}
|
|
}
|