2018-06-08 15:15:20 +02:00
{
"compilerOptions" : {
/ * B a s i c O p t i o n s * /
"target" : "es5" , / * S p e c i f y E C M A S c r i p t t a r g e t v e r s i o n : ' E S 3 ' ( d e f a u l t ) , ' E S 5 ' , ' E S 2015 ' , ' E S 2016 ' , ' E S 2017 ' , ' E S 2018 ' o r ' E S N E X T ' . * /
"module" : "commonjs" , / * S p e c i f y m o d u l e c o d e g e n e r a t i o n : ' n o n e ' , ' c o m m o n j s ' , ' a m d ' , ' s y s t e m ' , ' u m d ' , ' e s 2015 ' , o r ' E S N e x t ' . * /
2020-03-02 14:53:49 +01:00
"lib" : [ "es6" , "dom" ] , / * S p e c i f y l i b r a r y f i l e s t o b e i n c l u d e d i n t h e c o m p i l a t i o n . * /
2018-06-08 15:15:20 +02:00
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
2018-06-09 12:43:00 +02:00
"declaration" : true , / * G e n e r a t e s c o r r e s p o n d i n g ' . d . t s ' f i l e . * /
2018-06-08 15:15:20 +02:00
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
2018-06-08 18:13:19 +02:00
"outDir" : "./lib" , / * R e d i r e c t o u t p u t s t r u c t u r e t o t h e d i r e c t o r y . * /
2019-08-24 14:33:30 +02:00
"rootDir" : "./" , / * S p e c i f y t h e r o o t d i r e c t o r y o f i n p u t f i l e s . U s e t o c o n t r o l t h e o u t p u t d i r e c t o r y s t r u c t u r e w i t h - - o u t D i r . * /
2018-06-08 15:15:20 +02:00
// "composite": true, /* Enable project compilation */
2018-06-08 18:13:19 +02:00
"removeComments" : true , / * D o n o t e m i t c o m m e n t s t o o u t p u t . * /
2018-06-08 15:15:20 +02:00
// "noEmit": true, /* Do not emit outputs. */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
2018-06-08 18:13:19 +02:00
"downlevelIteration" : true , / * P r o v i d e f u l l s u p p o r t f o r i t e r a b l e s i n ' f o r - o f ' , s p r e a d , a n d d e s t r u c t u r i n g w h e n t a r g e t i n g ' E S 5 ' o r ' E S 3 ' . * /
2018-06-08 15:15:20 +02:00
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
/ * S t r i c t T y p e - C h e c k i n g O p t i o n s * /
"strict" : true , / * E n a b l e a l l s t r i c t t y p e - c h e c k i n g o p t i o n s . * /
2018-06-08 18:13:19 +02:00
"noImplicitAny" : true , / * R a i s e e r r o r o n e x p r e s s i o n s a n d d e c l a r a t i o n s w i t h a n i m p l i e d ' a n y ' t y p e . * /
"strictNullChecks" : true , / * E n a b l e s t r i c t null c h e c k s . * /
"strictFunctionTypes" : true , / * E n a b l e s t r i c t c h e c k i n g o f f u n c t i o n t y p e s . * /
"strictPropertyInitialization" : true , / * E n a b l e s t r i c t c h e c k i n g o f p r o p e r t y i n i t i a l i z a t i o n i n c l a s s e s . * /
"noImplicitThis" : true , / * R a i s e e r r o r o n ' t h i s ' e x p r e s s i o n s w i t h a n i m p l i e d ' a n y ' t y p e . * /
"alwaysStrict" : true , / * P a r s e i n s t r i c t m o d e a n d e m i t "use strict" f o r e a c h s o u r c e f i l e . * /
2018-06-08 15:15:20 +02:00
/ * A d d i t i o n a l C h e c k s * /
2018-06-08 18:13:19 +02:00
"noUnusedLocals" : true , / * R e p o r t e r r o r s o n u n u s e d l o c a l s . * /
"noUnusedParameters" : true , / * R e p o r t e r r o r s o n u n u s e d p a r a m e t e r s . * /
"noImplicitReturns" : true , / * R e p o r t e r r o r w h e n n o t a l l c o d e p a t h s i n f u n c t i o n r e t u r n a v a l u e . * /
"noFallthroughCasesInSwitch" : true , / * R e p o r t e r r o r s f o r f a l l t h r o u g h c a s e s i n s w i t c h s t a t e m e n t . * /
2018-06-08 15:15:20 +02:00
/ * M o d u l e R e s o l u t i o n O p t i o n s * /
2019-11-27 15:14:12 +01:00
"moduleResolution" : "node" , / * S p e c i f y m o d u l e r e s o l u t i o n s t r a t e g y : ' n o d e ' ( N o d e . j s ) o r ' c l a s s i c ' ( T y p e S c r i p t p r e -1.6 ) . * /
2019-08-23 17:17:10 +02:00
"baseUrl" : "./" , / * B a s e d i r e c t o r y t o r e s o l v e n o n - a b s o l u t e m o d u l e n a m e s . * /
"paths" : {
"@*" : [ "src*" ] ,
"~*" : [ "./*" ]
} , / * A s e r i e s o f e n t r i e s w h i c h r e - m a p i m p o r t s t o l o o k u p l o c a t i o n s r e l a t i v e t o t h e ' b a s e U r l ' . * /
2018-06-08 15:15:20 +02:00
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
"esModuleInterop" : true / * E n a b l e s e m i t i n t e r o p e r a b i l i t y b e t w e e n C o m m o n J S a n d E S M o d u l e s v i a c r e a t i o n o f n a m e s p a c e o b j e c t s f o r a l l i m p o r t s . I m p l i e s ' a l l o w S y n t h e t i c D e f a u l t I m p o r t s ' . * /
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/ * S o u r c e M a p O p t i o n s * /
// "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/ * E x p e r i m e n t a l O p t i o n s * /
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
2018-06-08 18:13:19 +02:00
} ,
2019-08-24 14:33:30 +02:00
"include" : [ "./src" , "./test" ] ,
2019-08-24 04:37:39 +02:00
"exclude" : [ "node_modules" , "example" ]
2018-06-08 18:13:19 +02:00
}