From 30e388b669e764ffc5327f9c118f59090924e453 Mon Sep 17 00:00:00 2001 From: Josh Sommer Date: Thu, 22 Jun 2017 20:01:34 -0400 Subject: [PATCH] new tsconfig new tsconfig file derived from the template one in NS 3.0 projects --- tsconfig.json | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 56206b5..080475b 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,15 +1,26 @@ { "compilerOptions": { - "target": "es5", "module": "commonjs", - "removeComments": true, + "target": "es5", "experimentalDecorators": true, - "sourceMap": true, - "declaration": true + "emitDecoratorMetadata": true, + "noEmitHelpers": true, + "noEmitOnError": true, + "lib": [ + "es6", + "dom" + ], + "baseUrl": ".", + "paths": { + "*": [ + "./node_modules/tns-core-modules/*", + "./node_modules/*" + ] + } }, - "files": [ - "demo/node_modules/tns-core-modules/tns-core-modules.d.ts", - "nativescript-slides.ts" - ], - "compileOnSave": false + "exclude": [ + "node_modules", + "demo", + "**/*.aot.ts" + ] } \ No newline at end of file