Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 0493235

Browse files
linting++
1 parent 3190c28 commit 0493235

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

demo-ng/app/main.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
// this import should be first in order to load some required settings (like globals and reflect-metadata)
21
import { platformNativeScriptDynamic } from "nativescript-angular/platform";
32

43
import { AppModule } from "./app.module";
54

65
require("nativescript-plugin-firebase");
76

8-
// A traditional NativeScript application starts by initializing global objects, setting up global CSS rules, creating, and navigating to the main page.
9-
// Angular applications need to take care of their own initialization: modules, components, directives, routes, DI providers.
10-
// A NativeScript Angular app needs to make both paradigms work together, so we provide a wrapper platform object, platformNativeScriptDynamic,
11-
// that sets up a NativeScript application and can bootstrap the Angular framework.
127
platformNativeScriptDynamic().bootstrapModule(AppModule);

src/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@
6161
"setupandinstall": "npm i && npm run tsc && npm run package && cd ../demo && npm i && cd ../demo-ng && npm i && cd ../demo-push && npm i && cd ../src && npm run tsc && cd ../demo && tns plugin add ../src && cd ../demo-ng && tns plugin add ../src && cd ../demo-push && tns plugin add ../src && cd ../src",
6262
"tslint": "tslint --config '../tslint.json' '*.ts' --exclude '**/node_modules/**'",
6363
"tslint.demo": "tslint --config '../tslint.json' '../demo/app/*.ts' --exclude '**/node_modules/**'",
64+
"tslint.demo-ng": "tslint --config '../tslint.json' '../demo-ng/app/*.ts' --exclude '**/node_modules/**'",
65+
"tslint.demo-push": "tslint --config '../tslint.json' '../demo-push/app/*.ts' --exclude '**/node_modules/**'",
6466
"ci.tslint": "npm run tslint && npm run tslint.demo",
6567
"development.setup": "npm run setup && npm link && cd ../demo && npm link nativescript-plugin-firebase && cd ../src",
6668
"android.list-devices": "tns device android --available-devices",

0 commit comments

Comments
 (0)