From 3d0592bcb89f1031873456e2fe3066e4fc6d9741 Mon Sep 17 00:00:00 2001 From: EddyVerbruggen Date: Sun, 3 Feb 2019 15:36:40 +0100 Subject: [PATCH] ci --- demo/app/main-page.ts | 2 -- demo/package.json | 3 +-- demo/tsconfig.json | 4 ++-- src/package.json | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/demo/app/main-page.ts b/demo/app/main-page.ts index 1bc597b..3eaab03 100644 --- a/demo/app/main-page.ts +++ b/demo/app/main-page.ts @@ -1,7 +1,6 @@ import * as observable from "tns-core-modules/data/observable"; import * as pages from "tns-core-modules/ui/page"; import {HelloWorldModel} from "./main-view-model"; -import * as Toast from "nativescript-toast"; // Event handler for Page "loaded" event attached in main-page.xml export function pageLoaded(args: observable.EventData) { @@ -12,5 +11,4 @@ export function pageLoaded(args: observable.EventData) { export function onScanResult(scanResult: any) { console.log(`onScanResult: ${scanResult.text} (${scanResult.format})`); - Toast.makeText(`${scanResult.text} (${scanResult.format})`, "long").show(); } diff --git a/demo/package.json b/demo/package.json index d0c03ed..9ba054a 100644 --- a/demo/package.json +++ b/demo/package.json @@ -11,7 +11,6 @@ "dependencies": { "nativescript-barcodescanner": "file:../src", "nativescript-theme-core": "^1.0.4", - "nativescript-toast": "^1.4.6", "nativescript-unit-test-runner": "^0.3.4", "tns-core-modules": "~5.1.2" }, @@ -25,7 +24,7 @@ "nativescript-dev-webpack": "~0.17.0", "tns-platform-declarations": "^5.0.0", "tslint": "~5.11.0", - "typescript": "~2.8.2" + "typescript": "~3.1.2" }, "scripts": { "build.plugin": "cd ../src && npm run build" diff --git a/demo/tsconfig.json b/demo/tsconfig.json index e5a86c7..c12000b 100644 --- a/demo/tsconfig.json +++ b/demo/tsconfig.json @@ -5,6 +5,7 @@ "declaration": false, "removeComments": true, "noLib": false, + "skipLibCheck": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "lib": [ @@ -31,8 +32,7 @@ } }, "include": [ - "../src", - "**/*" + "./" ], "exclude": [ "../src/node_modules", diff --git a/src/package.json b/src/package.json index 08d1b04..560762d 100644 --- a/src/package.json +++ b/src/package.json @@ -71,7 +71,7 @@ "devDependencies": { "tns-core-modules": "~5.1.2", "tns-platform-declarations": "~5.1.2", - "typescript": "~2.8.2", + "typescript": "~3.1.2", "prompt": "^1.0.0", "rimraf": "^2.6.2", "tslint": "^5.11.0",