diff --git a/.gitignore b/.gitignore
index 94beb36..4551980 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,8 @@
.DS_Store
*.js.map
+*.esm.json
+*.config.js
coverage
lib-cov
@@ -32,6 +34,14 @@ demo/node_modules
demo/lib
demo/hooks
demo/app/**/*.css
+
+demo-angular/platforms
+demo-angular/node_modules
+demo-angular/lib
+demo-angular/hooks
+demo-angular/app/**/*.css
+demo-angular/**/*.js
+
npm-debug.log
node_modules
docs/html
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..de68cad
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,51 @@
+matrix:
+ include:
+ - stage: "WebPack, Build and Test"
+ os: osx
+ env:
+ - WebPack="iOS"
+ osx_image: xcode9.2
+ language: node_js
+ node_js: "6"
+ jdk: oraclejdk8
+ script: cd src && npm i && cd ../demo && npm i && tns build ios --bundle --env.uglify && cd ../demo-angular && npm i && tns build ios --bundle --env.uglify
+ - language: android
+ os: linux
+ env:
+ - WebPack="Android"
+ jdk: oraclejdk8
+ before_install: nvm install 6.10.3
+ script: cd src && npm i && cd ../demo && npm i && tns build android --bundle --env.uglify --env.snapshot && cd ../demo-angular && tns build android --bundle --env.uglify --env.snapshot
+ - language: android
+ env:
+ - BuildAndroid="26"
+ os: linux
+ jdk: oraclejdk8
+ before_install: nvm install stable
+ script:
+ - cd src && npm i && cd ../demo && tns build android && cd ../demo-angular && tns build android
+ - os: osx
+ env:
+ - BuildiOS="11"
+ - Xcode="9.2"
+ osx_image: xcode9.2
+ language: node_js
+ node_js: "6"
+ jdk: oraclejdk8
+ script:
+ - cd src && npm i && cd ../demo && tns build ios && cd ../demo-angular && tns build ios
+
+android:
+ components:
+ - tools
+ - platform-tools
+ - build-tools-27.0.3
+ - android-26
+ - android-23
+ - extra-android-m2repository
+ - sys-img-armeabi-v7a-android-21
+
+install:
+ - echo no | npm install -g nativescript
+ - tns usage-reporting disable
+ - tns error-reporting disable
\ No newline at end of file
diff --git a/DevelopmentWorkflow.md b/DevelopmentWorkflow.md
index ccfc01c..b7c4740 100644
--- a/DevelopmentWorkflow.md
+++ b/DevelopmentWorkflow.md
@@ -22,13 +22,19 @@ For local development we recommend using the npm commands provided in the plugin
Basically executing a bunch of commands will be enough for you to start making changes to the plugin and see them live synced in the demo. It's up to you to decide which demo to use for development - TypeScript or TypeScript + Angular.
-To run and develop using TypeScript demo:
+To run and develop using JavaScript demo:
```bash
$ cd nativescript-dev-sass/src
$ npm run demo.ios
$ npm run demo.android
```
+To run and develop using TypeScript + Angular demo:
+```bash
+$ cd nativescript-dev-sass/src
+$ npm run demo.ng.ios
+$ npm run demo.ng.android
+```
After all the changes are done make sure to test them in all the demo apps.
-For details on plugins development workflow, read [NativeScript plugins documentation](https://docs.nativescript.org/plugins/building-plugins#step-2-set-up-a-development-workflow) covering that topic.
\ No newline at end of file
+For details on plugins development workflow, read [NativeScript plugins documentation](https://docs.nativescript.org/plugins/building-plugins#step-2-set-up-a-development-workflow) covering that topic.
diff --git a/README.md b/README.md
index e54f068..d910d7b 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,9 @@ This plugin uses the [node-sass compiler](https://www.npmjs.com/package/node-sas
-- [How to use](#how-to-use)
+- [Installation](#installation)
+- [Configuration](#configuration)
+- [Usage](#usage)
- [LiveSync Support](#livesync-support)
- [Breaking Changes](#breaking-changes)
- [SASS @import syntax](#sass-import-syntax)
@@ -15,7 +17,7 @@ This plugin uses the [node-sass compiler](https://www.npmjs.com/package/node-sas
-## How to use
+## Installation
Add the plug-in to your project:
```
@@ -30,6 +32,15 @@ Either of the above commands installs this module and installs the necessary Nat
After the plugin runs, it will automatically delete all `.scss` and `.sass` files from the app package (leaving only the compiled `.css`)
+## Configuration
+
+No additional configuration required!
+
+## Usage
+
+The best way to explore the usage of the plugin is to inspect the demo apps in the plugin's root folder.
+In `demo` folder you can find the usage of the plugin for JavaScript application. In `demo-angular` folder you can find the usage in an Angular application.
+
## LiveSync Support
This plugin will work in all versions of NativeScript to transpile SCSS and SASS files, but for LiveSync to work as expected with real-time style updates:
diff --git a/demo-angular/app/App_Resources/Android/AndroidManifest.xml b/demo-angular/app/App_Resources/Android/AndroidManifest.xml
new file mode 100644
index 0000000..fe9bada
--- /dev/null
+++ b/demo-angular/app/App_Resources/Android/AndroidManifest.xml
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo-angular/app/App_Resources/Android/app.gradle b/demo-angular/app/App_Resources/Android/app.gradle
new file mode 100644
index 0000000..a66dd3c
--- /dev/null
+++ b/demo-angular/app/App_Resources/Android/app.gradle
@@ -0,0 +1,16 @@
+// Add your native dependencies here:
+
+// Uncomment to add recyclerview-v7 dependency
+//dependencies {
+// compile 'com.android.support:recyclerview-v7:+'
+//}
+
+android {
+ defaultConfig {
+ generatedDensities = []
+ applicationId = "org.nativescript.demoangular"
+ }
+ aaptOptions {
+ additionalParameters "--no-version-vectors"
+ }
+}
diff --git a/demo-angular/app/App_Resources/Android/drawable-hdpi/background.png b/demo-angular/app/App_Resources/Android/drawable-hdpi/background.png
new file mode 100644
index 0000000..eb381c2
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-hdpi/background.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-hdpi/icon.png b/demo-angular/app/App_Resources/Android/drawable-hdpi/icon.png
new file mode 100644
index 0000000..0189648
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-hdpi/icon.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-hdpi/logo.png b/demo-angular/app/App_Resources/Android/drawable-hdpi/logo.png
new file mode 100644
index 0000000..5218f4c
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-hdpi/logo.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-ldpi/background.png b/demo-angular/app/App_Resources/Android/drawable-ldpi/background.png
new file mode 100644
index 0000000..748b2ad
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-ldpi/background.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-ldpi/icon.png b/demo-angular/app/App_Resources/Android/drawable-ldpi/icon.png
new file mode 100644
index 0000000..47a7e94
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-ldpi/icon.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-ldpi/logo.png b/demo-angular/app/App_Resources/Android/drawable-ldpi/logo.png
new file mode 100644
index 0000000..b9e102a
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-ldpi/logo.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-mdpi/background.png b/demo-angular/app/App_Resources/Android/drawable-mdpi/background.png
new file mode 100644
index 0000000..efeaf29
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-mdpi/background.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-mdpi/icon.png b/demo-angular/app/App_Resources/Android/drawable-mdpi/icon.png
new file mode 100644
index 0000000..e8ca6f0
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-mdpi/icon.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-mdpi/logo.png b/demo-angular/app/App_Resources/Android/drawable-mdpi/logo.png
new file mode 100644
index 0000000..6263387
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-mdpi/logo.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-nodpi/splash_screen.xml b/demo-angular/app/App_Resources/Android/drawable-nodpi/splash_screen.xml
new file mode 100644
index 0000000..4c7f9e9
--- /dev/null
+++ b/demo-angular/app/App_Resources/Android/drawable-nodpi/splash_screen.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo-angular/app/App_Resources/Android/drawable-xhdpi/background.png b/demo-angular/app/App_Resources/Android/drawable-xhdpi/background.png
new file mode 100644
index 0000000..612bbd0
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-xhdpi/background.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-xhdpi/icon.png b/demo-angular/app/App_Resources/Android/drawable-xhdpi/icon.png
new file mode 100644
index 0000000..67c9ec4
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-xhdpi/icon.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-xhdpi/logo.png b/demo-angular/app/App_Resources/Android/drawable-xhdpi/logo.png
new file mode 100644
index 0000000..ad8ee2f
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-xhdpi/logo.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-xxhdpi/background.png b/demo-angular/app/App_Resources/Android/drawable-xxhdpi/background.png
new file mode 100644
index 0000000..0fa88e2
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-xxhdpi/background.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-xxhdpi/icon.png b/demo-angular/app/App_Resources/Android/drawable-xxhdpi/icon.png
new file mode 100644
index 0000000..9d23edf
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-xxhdpi/icon.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-xxhdpi/logo.png b/demo-angular/app/App_Resources/Android/drawable-xxhdpi/logo.png
new file mode 100644
index 0000000..6683278
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-xxhdpi/logo.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-xxxhdpi/background.png b/demo-angular/app/App_Resources/Android/drawable-xxxhdpi/background.png
new file mode 100644
index 0000000..c650f64
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-xxxhdpi/background.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-xxxhdpi/icon.png b/demo-angular/app/App_Resources/Android/drawable-xxxhdpi/icon.png
new file mode 100644
index 0000000..7aadcb7
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-xxxhdpi/icon.png differ
diff --git a/demo-angular/app/App_Resources/Android/drawable-xxxhdpi/logo.png b/demo-angular/app/App_Resources/Android/drawable-xxxhdpi/logo.png
new file mode 100644
index 0000000..fa6331c
Binary files /dev/null and b/demo-angular/app/App_Resources/Android/drawable-xxxhdpi/logo.png differ
diff --git a/demo-angular/app/App_Resources/Android/values-v21/colors.xml b/demo-angular/app/App_Resources/Android/values-v21/colors.xml
new file mode 100644
index 0000000..690bb88
--- /dev/null
+++ b/demo-angular/app/App_Resources/Android/values-v21/colors.xml
@@ -0,0 +1,4 @@
+
+
+ #3d5afe
+
\ No newline at end of file
diff --git a/demo-angular/app/App_Resources/Android/values-v21/styles.xml b/demo-angular/app/App_Resources/Android/values-v21/styles.xml
new file mode 100644
index 0000000..1ce00e1
--- /dev/null
+++ b/demo-angular/app/App_Resources/Android/values-v21/styles.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo-angular/app/App_Resources/Android/values/colors.xml b/demo-angular/app/App_Resources/Android/values/colors.xml
new file mode 100644
index 0000000..5735d71
--- /dev/null
+++ b/demo-angular/app/App_Resources/Android/values/colors.xml
@@ -0,0 +1,7 @@
+
+
+ #F5F5F5
+ #757575
+ #33B5E5
+ #272734
+
\ No newline at end of file
diff --git a/demo-angular/app/App_Resources/Android/values/styles.xml b/demo-angular/app/App_Resources/Android/values/styles.xml
new file mode 100644
index 0000000..7d15719
--- /dev/null
+++ b/demo-angular/app/App_Resources/Android/values/styles.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000..a175357
--- /dev/null
+++ b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,98 @@
+{
+ "images" : [
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "icon-29.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "icon-29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "icon-29@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "icon-40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "icon-40@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "icon-60@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "icon-60@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "icon-29.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "icon-29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "icon-40.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "icon-40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "icon-76.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "icon-76@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "icon-83.5@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "1024x1024",
+ "idiom" : "ios-marketing",
+ "filename" : "icon-1024.png",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png
new file mode 100644
index 0000000..c7ded36
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png
new file mode 100644
index 0000000..e5f723c
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png
new file mode 100644
index 0000000..8983ec9
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png
new file mode 100644
index 0000000..5435a47
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png
new file mode 100644
index 0000000..42e364f
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png
new file mode 100644
index 0000000..5214335
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png
new file mode 100644
index 0000000..c40e941
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png
new file mode 100644
index 0000000..c40e941
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png
new file mode 100644
index 0000000..c7b1c12
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png
new file mode 100644
index 0000000..70a38e8
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png
new file mode 100644
index 0000000..a650887
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png
new file mode 100644
index 0000000..f2fcfc7
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/Contents.json b/demo-angular/app/App_Resources/iOS/Assets.xcassets/Contents.json
new file mode 100644
index 0000000..30b9515
--- /dev/null
+++ b/demo-angular/app/App_Resources/iOS/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json
new file mode 100644
index 0000000..6734c2c
--- /dev/null
+++ b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json
@@ -0,0 +1,176 @@
+{
+ "images" : [
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "2436h",
+ "filename" : "Default-1125h.png",
+ "minimum-system-version" : "11.0",
+ "orientation" : "portrait",
+ "scale" : "3x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "iphone",
+ "extent" : "full-screen",
+ "filename" : "Default-Landscape-X.png",
+ "minimum-system-version" : "11.0",
+ "subtype" : "2436h",
+ "scale" : "3x"
+ },
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "736h",
+ "filename" : "Default-736h@3x.png",
+ "minimum-system-version" : "8.0",
+ "orientation" : "portrait",
+ "scale" : "3x"
+ },
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "736h",
+ "filename" : "Default-Landscape@3x.png",
+ "minimum-system-version" : "8.0",
+ "orientation" : "landscape",
+ "scale" : "3x"
+ },
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "667h",
+ "filename" : "Default-667h@2x.png",
+ "minimum-system-version" : "8.0",
+ "orientation" : "portrait",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "filename" : "Default@2x.png",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "2x"
+ },
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "retina4",
+ "filename" : "Default-568h@2x.png",
+ "minimum-system-version" : "7.0",
+ "orientation" : "portrait",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "filename" : "Default-Portrait.png",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "filename" : "Default-Landscape.png",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "filename" : "Default-Portrait@2x.png",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "filename" : "Default-Landscape@2x.png",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "filename" : "Default.png",
+ "extent" : "full-screen",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "filename" : "Default@2x.png",
+ "extent" : "full-screen",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "filename" : "Default-568h@2x.png",
+ "extent" : "full-screen",
+ "subtype" : "retina4",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "extent" : "to-status-bar",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "filename" : "Default-Portrait.png",
+ "extent" : "full-screen",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "extent" : "to-status-bar",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "filename" : "Default-Landscape.png",
+ "extent" : "full-screen",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "extent" : "to-status-bar",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "filename" : "Default-Portrait@2x.png",
+ "extent" : "full-screen",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "extent" : "to-status-bar",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "filename" : "Default-Landscape@2x.png",
+ "extent" : "full-screen",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png
new file mode 100644
index 0000000..2913f85
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png
new file mode 100644
index 0000000..d7f17fc
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png
new file mode 100644
index 0000000..b884154
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png
new file mode 100644
index 0000000..faab4b6
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png
new file mode 100644
index 0000000..cd94a3a
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png
new file mode 100644
index 0000000..3365ba3
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png
new file mode 100644
index 0000000..a44945c
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png
new file mode 100644
index 0000000..e6dca62
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png
new file mode 100644
index 0000000..1a50079
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png
new file mode 100644
index 0000000..73d8b92
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png
new file mode 100644
index 0000000..9f1f6ce
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png
new file mode 100644
index 0000000..514fc5c
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json
new file mode 100644
index 0000000..4e8d9ba
--- /dev/null
+++ b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json
@@ -0,0 +1,22 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchScreen-AspectFill.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchScreen-AspectFill@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png
new file mode 100644
index 0000000..c293f9c
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png
new file mode 100644
index 0000000..233693a
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json
new file mode 100644
index 0000000..acc581b
--- /dev/null
+++ b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json
@@ -0,0 +1,22 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchScreen-Center.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchScreen-Center@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png
new file mode 100644
index 0000000..a5a775a
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png
new file mode 100644
index 0000000..154c193
Binary files /dev/null and b/demo-angular/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png differ
diff --git a/demo-angular/app/App_Resources/iOS/Info.plist b/demo-angular/app/App_Resources/iOS/Info.plist
new file mode 100644
index 0000000..55d3e33
--- /dev/null
+++ b/demo-angular/app/App_Resources/iOS/Info.plist
@@ -0,0 +1,47 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleDisplayName
+ ${PRODUCT_NAME}
+ CFBundleExecutable
+ ${EXECUTABLE_NAME}
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ ${PRODUCT_NAME}
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ LSRequiresIPhoneOS
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIRequiresFullScreen
+
+ UIRequiredDeviceCapabilities
+
+ armv7
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+
+
diff --git a/demo-angular/app/App_Resources/iOS/LaunchScreen.storyboard b/demo-angular/app/App_Resources/iOS/LaunchScreen.storyboard
new file mode 100644
index 0000000..00d74d9
--- /dev/null
+++ b/demo-angular/app/App_Resources/iOS/LaunchScreen.storyboard
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo-angular/app/App_Resources/iOS/build.xcconfig b/demo-angular/app/App_Resources/iOS/build.xcconfig
new file mode 100644
index 0000000..171149a
--- /dev/null
+++ b/demo-angular/app/App_Resources/iOS/build.xcconfig
@@ -0,0 +1,7 @@
+// You can add custom settings here
+// for example you can uncomment the following line to force distribution code signing
+// CODE_SIGN_IDENTITY = iPhone Distribution
+// To build for device with XCode 8 you need to specify your development team.
+// DEVELOPMENT_TEAM = YOUR_TEAM_ID;
+ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
diff --git a/demo-angular/app/CODE_OF_CONDUCT.md b/demo-angular/app/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000..62ce878
--- /dev/null
+++ b/demo-angular/app/CODE_OF_CONDUCT.md
@@ -0,0 +1,83 @@
+# NativeScript Community Code of Conduct
+
+Our community members come from all walks of life and are all at different stages of their personal and professional journeys. To support everyone, we've prepared a short code of conduct. Our mission is best served in an environment that is friendly, safe, and accepting; free from intimidation or harassment.
+
+Towards this end, certain behaviors and practices will not be tolerated.
+
+## tl;dr
+
+- Be respectful.
+- We're here to help.
+- Abusive behavior is never tolerated.
+- Violations of this code may result in swift and permanent expulsion from the NativeScript community channels.
+
+## Administrators
+
+- Dan Wilson (@DanWilson on Slack)
+- Jen Looper (@jen.looper on Slack)
+- TJ VanToll (@tjvantoll on Slack)
+
+## Scope
+
+We expect all members of the NativeScript community, including administrators, users, facilitators, and vendors to abide by this Code of Conduct at all times in our community venues, online and in person, and in one-on-one communications pertaining to NativeScript affairs.
+
+This policy covers the usage of the NativeScript Slack community, as well as the NativeScript support forums, NativeScript GitHub repositories, the NativeScript website, and any NativeScript-related events. This Code of Conduct is in addition to, and does not in any way nullify or invalidate, any other terms or conditions related to use of NativeScript.
+
+The definitions of various subjective terms such as "discriminatory", "hateful", or "confusing" will be decided at the sole discretion of the NativeScript administrators.
+
+## Friendly, Harassment-Free Space
+
+We are committed to providing a friendly, safe, and welcoming environment for all, regardless of gender identity, sexual orientation, disability, ethnicity, religion, age, physical appearance, body size, race, or similar personal characteristics.
+
+We ask that you please respect that people have differences of opinion regarding technical choices, and acknowledge that every design or implementation choice carries a trade-off and numerous costs. There is seldom a single right answer. A difference of technology preferences is never a license to be rude.
+
+Any spamming, trolling, flaming, baiting, or other attention-stealing behaviour is not welcome, and will not be tolerated.
+
+Harassing other users of NativeScript is never tolerated, whether via public or private media.
+
+Avoid using offensive or harassing package names, nicknames, or other identifiers that might detract from a friendly, safe, and welcoming environment for all.
+
+Harassment includes, but is not limited to: harmful or prejudicial verbal or written comments related to gender identity, sexual orientation, disability, ethnicity, religion, age, physical appearance, body size, race, or similar personal characteristics; inappropriate use of nudity, sexual images, and/or sexually explicit language in public spaces; threats of physical or non-physical harm; deliberate intimidation, stalking or following; harassing photography or recording; sustained disruption of talks or other events; inappropriate physical contact; and unwelcome sexual attention.
+
+## Acceptable Content
+
+The NativeScript administrators reserve the right to make judgement calls about what is and isn't appropriate in published content. These are guidelines to help you be successful in our community.
+
+Content must contain something applicable to the previously stated goals of the NativeScript community. "Spamming", that is, publishing any form of content that is not applicable, is not allowed.
+
+Content must not contain illegal or infringing content. You should only publish content to NativeScript properties if you have the right to do so. This includes complying with all software license agreements or other intellectual property restrictions. For example, redistributing an MIT-licensed module with the copyright notice removed, would not be allowed. You will be responsible for any violation of laws or others’ intellectual property rights.
+
+Content must not be malware. For example, content (code, video, pictures, words, etc.) which is designed to maliciously exploit or damage computer systems, is not allowed.
+
+Content name, description, and other visible metadata must not include abusive, inappropriate, or harassing content.
+
+## Reporting Violations of this Code of Conduct
+
+If you believe someone is harassing you or has otherwise violated this Code of Conduct, please contact the administrators and send us an abuse report. If this is the initial report of a problem, please include as much detail as possible. It is easiest for us to address issues when we have more context.
+
+## Consequences
+
+All content published to the NativeScript community channels is hosted at the sole discretion of the NativeScript administrators.
+
+Unacceptable behavior from any community member, including sponsors, employees, customers, or others with decision-making authority, will not be tolerated.
+
+Anyone asked to stop unacceptable behavior is expected to comply immediately.
+
+If a community member engages in unacceptable behavior, the NativeScript administrators may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event or service).
+
+## Addressing Grievances
+
+If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify the administrators. We will do our best to ensure that your grievance is handled appropriately.
+
+In general, we will choose the course of action that we judge as being most in the interest of fostering a safe and friendly community.
+
+## Contact Info
+Please contact Dan Wilson @DanWilson if you need to report a problem or address a grievance related to an abuse report.
+
+You are also encouraged to contact us if you are curious about something that might be "on the line" between appropriate and inappropriate content. We are happy to provide guidance to help you be a successful part of our community.
+
+## Credit and License
+
+This Code of Conduct borrows heavily from the WADE Code of Conduct, which is derived from the NodeBots Code of Conduct, which in turn borrows from the npm Code of Conduct, which was derived from the Stumptown Syndicate Citizen's Code of Conduct, and the Rust Project Code of Conduct.
+
+This document may be reused under a Creative Commons Attribution-ShareAlike License.
\ No newline at end of file
diff --git a/demo-angular/app/LICENSE b/demo-angular/app/LICENSE
new file mode 100644
index 0000000..af0246d
--- /dev/null
+++ b/demo-angular/app/LICENSE
@@ -0,0 +1,201 @@
+Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright (c) 2015-2018 Telerik AD
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
\ No newline at end of file
diff --git a/demo-angular/app/README.md b/demo-angular/app/README.md
new file mode 100644
index 0000000..cf8c5ad
--- /dev/null
+++ b/demo-angular/app/README.md
@@ -0,0 +1,43 @@
+# NativeScript with Angular Blank Template
+App templates help you jump start your native cross-platform apps with built-in UI elements and best practices. Save time writing boilerplate code over and over again when you create new apps.
+
+## Quick Start
+Execute the following command to create an app from this template:
+
+```
+tns create my-blank-ng --template tns-template-blank-ng
+```
+
+> Note: This command will create a new NativeScript app that uses the latest version of this template published to [npm] (https://www.npmjs.com/package/tns-template-blank-ng).
+
+If you want to create a new app that uses the source of the template from the `master` branch, you can execute the following:
+
+```
+tns create my-blank-ng --template https://github.com/NativeScript/template-blank-ng
+```
+
+**NB:** Please, have in mind that the master branch may refer to dependencies that are not on NPM yet!
+
+## Walkthrough
+
+### Architecture
+The application component:
+- `app.component.ts` - sets up a page router outlet that lets you navigate between pages.
+
+There is a single blank component that sets up an empty page layout:
+- `/home`
+
+**Home** page has the following components:
+- `ActionBar` - It holds the title of the page.
+- `GridLayout` - The main page layout that should contains all the page content.
+
+## Get Help
+The NativeScript framework has a vibrant community that can help when you run into problems.
+
+Try [joining the NativeScript community Slack](http://developer.telerik.com/wp-login.php?action=slack-invitation). The Slack channel is a great place to get help troubleshooting problems, as well as connect with other NativeScript developers.
+
+If you have found an issue with this template, please report the problem in the [Issues](https://github.com/NativeScript/template-blank-ng/issues).
+
+## Contributing
+
+We love PRs, and accept them gladly. Feel free to propose changes and new ideas. We will review and discuss, so that they can be accepted and better integrated.
diff --git a/demo-angular/app/_app-common.scss b/demo-angular/app/_app-common.scss
new file mode 100644
index 0000000..fcf3902
--- /dev/null
+++ b/demo-angular/app/_app-common.scss
@@ -0,0 +1,33 @@
+@import '~nativescript-theme-core/scss/light';
+@import 'variables';
+@import '~/styles/_helpers';
+
+// Customize any of the NativeScript Core theme’s variables here, for instance
+$error: orange;
+
+// Import the theme’s main ruleset.
+@import '~nativescript-theme-core/scss/index';
+
+// Place any CSS rules you want to apply on both iOS and Android here.
+// This is where the vast majority of your CSS code goes.
+
+.title {
+ font-size: 30;
+ horizontal-align: center;
+ margin: 20;
+ color: $primaryColor;
+}
+
+button {
+ font-size: 42;
+ horizontal-align: center;
+ @include buttonColor();
+}
+
+.message {
+ font-size: 20;
+ color: $error;
+ horizontal-align: center;
+ margin: 0 20;
+ text-align: center;
+}
diff --git a/demo-angular/app/_variables.scss b/demo-angular/app/_variables.scss
new file mode 100644
index 0000000..aa1116a
--- /dev/null
+++ b/demo-angular/app/_variables.scss
@@ -0,0 +1 @@
+$primaryColor: green;
\ No newline at end of file
diff --git a/demo-angular/app/app-routing.module.ts b/demo-angular/app/app-routing.module.ts
new file mode 100644
index 0000000..d220419
--- /dev/null
+++ b/demo-angular/app/app-routing.module.ts
@@ -0,0 +1,14 @@
+import { NgModule } from "@angular/core";
+import { Routes } from "@angular/router";
+import { NativeScriptRouterModule } from "nativescript-angular/router";
+
+const routes: Routes = [
+ { path: "", redirectTo: "/home", pathMatch: "full" },
+ { path: "home", loadChildren: "./home/home.module#HomeModule" }
+];
+
+@NgModule({
+ imports: [NativeScriptRouterModule.forRoot(routes)],
+ exports: [NativeScriptRouterModule]
+})
+export class AppRoutingModule { }
diff --git a/demo-angular/app/app.android.scss b/demo-angular/app/app.android.scss
new file mode 100644
index 0000000..efb3d6b
--- /dev/null
+++ b/demo-angular/app/app.android.scss
@@ -0,0 +1,2 @@
+@import 'app-common';
+@import '~nativescript-theme-core/scss/platforms/index.android';
\ No newline at end of file
diff --git a/demo-angular/app/app.component.html b/demo-angular/app/app.component.html
new file mode 100644
index 0000000..e343e85
--- /dev/null
+++ b/demo-angular/app/app.component.html
@@ -0,0 +1 @@
+
diff --git a/demo-angular/app/app.component.ts b/demo-angular/app/app.component.ts
new file mode 100644
index 0000000..f6d20eb
--- /dev/null
+++ b/demo-angular/app/app.component.ts
@@ -0,0 +1,7 @@
+import { Component } from "@angular/core";
+
+@Component({
+ selector: "ns-app",
+ templateUrl: "app.component.html"
+})
+export class AppComponent { }
diff --git a/demo-angular/app/app.ios.scss b/demo-angular/app/app.ios.scss
new file mode 100644
index 0000000..c113439
--- /dev/null
+++ b/demo-angular/app/app.ios.scss
@@ -0,0 +1,2 @@
+@import 'app-common';
+@import '~nativescript-theme-core/scss/platforms/index.ios';
\ No newline at end of file
diff --git a/demo-angular/app/app.module.ngfactory.d.ts b/demo-angular/app/app.module.ngfactory.d.ts
new file mode 100644
index 0000000..8d883fa
--- /dev/null
+++ b/demo-angular/app/app.module.ngfactory.d.ts
@@ -0,0 +1,4 @@
+/**
+ * A dynamically generated module when compiled with AoT.
+ */
+export const AppModuleNgFactory: any;
diff --git a/demo-angular/app/app.module.ts b/demo-angular/app/app.module.ts
new file mode 100644
index 0000000..a477202
--- /dev/null
+++ b/demo-angular/app/app.module.ts
@@ -0,0 +1,22 @@
+import { NgModule, NgModuleFactoryLoader, NO_ERRORS_SCHEMA } from "@angular/core";
+import { NativeScriptModule } from "nativescript-angular/nativescript.module";
+
+import { AppRoutingModule } from "./app-routing.module";
+import { AppComponent } from "./app.component";
+
+@NgModule({
+ bootstrap: [
+ AppComponent
+ ],
+ imports: [
+ NativeScriptModule,
+ AppRoutingModule
+ ],
+ declarations: [
+ AppComponent
+ ],
+ schemas: [
+ NO_ERRORS_SCHEMA
+ ]
+})
+export class AppModule { }
diff --git a/demo-angular/app/home/home-routing.module.ts b/demo-angular/app/home/home-routing.module.ts
new file mode 100644
index 0000000..6428315
--- /dev/null
+++ b/demo-angular/app/home/home-routing.module.ts
@@ -0,0 +1,15 @@
+import { NgModule } from "@angular/core";
+import { Routes } from "@angular/router";
+import { NativeScriptRouterModule } from "nativescript-angular/router";
+
+import { HomeComponent } from "./home.component";
+
+const routes: Routes = [
+ { path: "", component: HomeComponent }
+];
+
+@NgModule({
+ imports: [NativeScriptRouterModule.forChild(routes)],
+ exports: [NativeScriptRouterModule]
+})
+export class HomeRoutingModule { }
diff --git a/demo-angular/app/home/home.component.html b/demo-angular/app/home/home.component.html
new file mode 100644
index 0000000..20597cb
--- /dev/null
+++ b/demo-angular/app/home/home.component.html
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo-angular/app/home/home.component.ts b/demo-angular/app/home/home.component.ts
new file mode 100644
index 0000000..f6bb98e
--- /dev/null
+++ b/demo-angular/app/home/home.component.ts
@@ -0,0 +1,31 @@
+import { Component, OnInit } from "@angular/core";
+
+@Component({
+ selector: "Home",
+ moduleId: module.id,
+ templateUrl: "./home.component.html"
+})
+export class HomeComponent implements OnInit {
+
+ constructor() {
+ // Use the component constructor to inject providers.
+ }
+
+ ngOnInit(): void {
+ // Init your component properties here.
+ }
+
+ public counter = 42;
+
+ get message() {
+ if (this.counter <= 0) {
+ return "Hoorraaay! You unlocked the NativeScript clicker achievement!";
+ } else {
+ return this.counter + " taps left";
+ }
+ }
+
+ public onTap(args: any) {
+ this.counter--;
+ }
+}
diff --git a/demo-angular/app/home/home.module.ts b/demo-angular/app/home/home.module.ts
new file mode 100644
index 0000000..0855e17
--- /dev/null
+++ b/demo-angular/app/home/home.module.ts
@@ -0,0 +1,19 @@
+import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
+import { NativeScriptCommonModule } from "nativescript-angular/common";
+
+import { HomeRoutingModule } from "./home-routing.module";
+import { HomeComponent } from "./home.component";
+
+@NgModule({
+ imports: [
+ NativeScriptCommonModule,
+ HomeRoutingModule
+ ],
+ declarations: [
+ HomeComponent
+ ],
+ schemas: [
+ NO_ERRORS_SCHEMA
+ ]
+})
+export class HomeModule { }
diff --git a/demo-angular/app/main.aot.ts b/demo-angular/app/main.aot.ts
new file mode 100644
index 0000000..7094aaa
--- /dev/null
+++ b/demo-angular/app/main.aot.ts
@@ -0,0 +1,6 @@
+// this import should be first in order to load some required settings (like globals and reflect-metadata)
+import { platformNativeScript } from "nativescript-angular/platform-static";
+
+import { AppModuleNgFactory } from "./app.module.ngfactory";
+
+platformNativeScript().bootstrapModuleFactory(AppModuleNgFactory);
diff --git a/demo-angular/app/main.ts b/demo-angular/app/main.ts
new file mode 100644
index 0000000..df3de78
--- /dev/null
+++ b/demo-angular/app/main.ts
@@ -0,0 +1,6 @@
+// this import should be first in order to load some required settings (like globals and reflect-metadata)
+import { platformNativeScriptDynamic } from "nativescript-angular/platform";
+
+import { AppModule } from "./app.module";
+
+platformNativeScriptDynamic().bootstrapModule(AppModule);
diff --git a/demo-angular/app/package.json b/demo-angular/app/package.json
new file mode 100644
index 0000000..c9ef33d
--- /dev/null
+++ b/demo-angular/app/package.json
@@ -0,0 +1,8 @@
+{
+ "android": {
+ "v8Flags": "--expose_gc"
+ },
+ "main": "main.js",
+ "name": "tns-template-blank-ng",
+ "version": "4.0.0"
+}
\ No newline at end of file
diff --git a/demo-angular/app/styles/_helpers.scss b/demo-angular/app/styles/_helpers.scss
new file mode 100644
index 0000000..0f5c34f
--- /dev/null
+++ b/demo-angular/app/styles/_helpers.scss
@@ -0,0 +1,3 @@
+@mixin buttonColor() {
+ color: blue;
+}
\ No newline at end of file
diff --git a/demo-angular/app/tools/assets/appTemplate-android.png b/demo-angular/app/tools/assets/appTemplate-android.png
new file mode 100644
index 0000000..fb1b1bc
Binary files /dev/null and b/demo-angular/app/tools/assets/appTemplate-android.png differ
diff --git a/demo-angular/app/tools/assets/appTemplate-ios.png b/demo-angular/app/tools/assets/appTemplate-ios.png
new file mode 100644
index 0000000..21e8d5f
Binary files /dev/null and b/demo-angular/app/tools/assets/appTemplate-ios.png differ
diff --git a/demo-angular/app/tools/assets/marketplace.png b/demo-angular/app/tools/assets/marketplace.png
new file mode 100644
index 0000000..21e8d5f
Binary files /dev/null and b/demo-angular/app/tools/assets/marketplace.png differ
diff --git a/demo-angular/app/tools/assets/thumbnail.png b/demo-angular/app/tools/assets/thumbnail.png
new file mode 100644
index 0000000..85834d0
Binary files /dev/null and b/demo-angular/app/tools/assets/thumbnail.png differ
diff --git a/demo-angular/app/tools/assets/thumbnail.svg b/demo-angular/app/tools/assets/thumbnail.svg
new file mode 100644
index 0000000..0c7d757
--- /dev/null
+++ b/demo-angular/app/tools/assets/thumbnail.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo-angular/package.json b/demo-angular/package.json
new file mode 100644
index 0000000..c44b670
--- /dev/null
+++ b/demo-angular/package.json
@@ -0,0 +1,59 @@
+{
+ "description": "NativeScript Application",
+ "license": "SEE LICENSE IN ",
+ "readme": "NativeScript Application",
+ "repository": "",
+ "nativescript": {
+ "id": "org.nativescript.demoangular",
+ "tns-android": {
+ "version": "4.1.1"
+ },
+ "tns-ios": {
+ "version": "4.1.0"
+ }
+ },
+ "dependencies": {
+ "@angular/animations": "~6.0.0",
+ "@angular/common": "~6.0.0",
+ "@angular/compiler": "~6.0.0",
+ "@angular/core": "~6.0.0",
+ "@angular/forms": "~6.0.0",
+ "@angular/http": "~6.0.0",
+ "@angular/platform-browser": "~6.0.0",
+ "@angular/platform-browser-dynamic": "~6.0.0",
+ "@angular/router": "~6.0.0",
+ "nativescript-angular": "^6.0.0",
+ "nativescript-theme-core": "~1.0.4",
+ "reflect-metadata": "~0.1.10",
+ "rxjs": "~6.0.0 || >=6.1.0",
+ "tns-core-modules": "4.0.1",
+ "zone.js": "^0.8.26"
+ },
+ "devDependencies": {
+ "@angular/compiler-cli": "~6.0.0",
+ "@ngtools/webpack": "~6.0.3",
+ "babel-traverse": "6.26.0",
+ "babel-types": "6.26.0",
+ "babylon": "6.18.0",
+ "clean-webpack-plugin": "~0.1.19",
+ "copy-webpack-plugin": "~4.5.1",
+ "css-loader": "~0.28.11",
+ "extract-text-webpack-plugin": "~3.0.2",
+ "lazy": "1.0.11",
+ "node-sass": "^4.7.1",
+ "nativescript-dev-sass": "file:../src",
+ "nativescript-dev-typescript": "~0.7.0",
+ "nativescript-dev-webpack": "^0.12.0",
+ "nativescript-worker-loader": "~0.9.0",
+ "raw-loader": "~0.5.1",
+ "resolve-url-loader": "~2.3.0",
+ "typescript": "~2.7.2",
+ "uglifyjs-webpack-plugin": "~1.2.5",
+ "webpack": "~4.6.0",
+ "webpack-bundle-analyzer": "~2.13.0",
+ "webpack-sources": "~1.1.0",
+ "webpack-cli": "~2.1.3",
+ "@angular-devkit/core": "~0.6.3",
+ "sass-loader": "~7.0.1"
+ }
+}
diff --git a/demo-angular/tsconfig.json b/demo-angular/tsconfig.json
new file mode 100644
index 0000000..4d138d1
--- /dev/null
+++ b/demo-angular/tsconfig.json
@@ -0,0 +1,29 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es5",
+ "experimentalDecorators": true,
+ "emitDecoratorMetadata": true,
+ "noEmitHelpers": true,
+ "noEmitOnError": true,
+ "lib": [
+ "es6",
+ "dom",
+ "es2015.iterable"
+ ],
+ "baseUrl": ".",
+ "paths": {
+ "~/*": [
+ "app/*"
+ ],
+ "*": [
+ "./node_modules/tns-core-modules/*",
+ "./node_modules/*"
+ ]
+ }
+ },
+ "exclude": [
+ "node_modules",
+ "platforms"
+ ]
+}
\ No newline at end of file
diff --git a/demo/app/_app-common.scss b/demo/app/_app-common.scss
index 6660007..89fbb7c 100644
--- a/demo/app/_app-common.scss
+++ b/demo/app/_app-common.scss
@@ -1,6 +1,6 @@
@import '~nativescript-theme-core/scss/light';
@import 'variables';
-@import '~/styles/helpers';
+@import '~/styles/_helpers';
// Customize any of the NativeScript Core theme’s variables here, for instance
$error: orange;
diff --git a/demo/package.json b/demo/package.json
index 45b40ed..f29ef6e 100644
--- a/demo/package.json
+++ b/demo/package.json
@@ -2,14 +2,14 @@
"description": "NativeScript SASS Plugin Demo",
"license": "MIT",
"readme": "NativeScript SASS Plugin Demo Project",
- "repository": "https://github.com/toddanglin/nativescript-dev-sass",
+ "repository": "https://github.com/NativeScript/nativescript-dev-sass",
"nativescript": {
"id": "org.nativescript.demo",
"tns-android": {
- "version": "4.0.0"
+ "version": "4.1.1"
},
"tns-ios": {
- "version": "4.0.1"
+ "version": "4.1.0"
}
},
"dependencies": {
@@ -20,7 +20,21 @@
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"babylon": "6.18.0",
+ "clean-webpack-plugin": "~0.1.19",
+ "copy-webpack-plugin": "~4.5.1",
+ "css-loader": "~0.28.11",
+ "extract-text-webpack-plugin": "~3.0.2",
"lazy": "1.0.11",
- "nativescript-dev-sass": "file:../src"
+ "node-sass": "^4.7.1",
+ "nativescript-dev-sass": "file:../src",
+ "nativescript-dev-webpack": "^0.12.0",
+ "nativescript-worker-loader": "~0.9.0",
+ "raw-loader": "~0.5.1",
+ "sass-loader": "~7.0.1",
+ "uglifyjs-webpack-plugin": "~1.2.5",
+ "webpack": "~4.6.0",
+ "webpack-bundle-analyzer": "~2.13.0",
+ "webpack-cli": "~2.1.3",
+ "webpack-sources": "~1.1.0"
}
}
diff --git a/src/package.json b/src/package.json
index 0fccf9a..b49dea9 100644
--- a/src/package.json
+++ b/src/package.json
@@ -6,13 +6,16 @@
"test": "exit 0",
"postinstall": "node postinstall.js",
"preuninstall": "node preuninstall.js",
- "demo.ios": "npm run preparedemo && cd ../demo && tns run ios --emulator",
+ "demo.ios": "npm run preparedemo && cd ../demo && tns run ios --syncAllFiles",
"demo.ios.device": "npm run preparedemo && cd ../demo && tns run ios",
- "demo.android": "npm run preparedemo && cd ../demo && tns run android --emulator",
+ "demo.android": "npm run preparedemo && cd ../demo && tns run android --syncAllFiles",
+ "demo.ng.ios": "npm run preparedemong && cd ../demo-angular && tns run ios --syncAllFiles",
+ "demo.ng.android": "npm run preparedemong && cd ../demo-angular && tns run android --syncAllFiles",
"test.ios": "cd ../demo && tns test ios --emulator",
"test.ios.device": "cd ../demo && tns test ios",
"test.android": "cd ../demo && tns test android",
"preparedemo": "cd ../demo && npm uninstall nativescript-dev-sass && npm install ../src --save-dev && tns install",
+ "preparedemong": "cd ../demo-angular && npm uninstall nativescript-dev-sass && npm install ../src --save-dev && tns install",
"setup": "npm i && cd ../demo && npm i && npm install ../src --save-dev"
},
"nativescript": {