2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:30:45 -07:00
2020-08-11 22:50:33 -07:00
2019-01-07 15:12:05 +02:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00
2020-08-11 22:50:33 -07:00

NativeScript

TypeScript driven development for native platform api's.

Develop

npm run setup

Packages

@nativescript/core

npx apps:playground:ios
npm run apps:playground:android


npm run packages:core:build
npm run packages:core:test




// livesync develop changes
nx run core-e2e-playground:ios
nx run core-e2e-playground:android

// clean and reset
nx run core-e2e-playground:clean

// unit tests
nx run core:unit
nx run core:unit.watch

// build/prepare for npm (output: 'dist/packages/core')
nx run core:build.npm

There are additional targets you can test changes against:

// variety of manual ui testing
nx run core-e2e-ui:ios
nx run core-e2e-ui:android
nx run core-e2e-ui:clean

// used in CI automated tests but you can run these manually as well to check if you caused any regressions
nx run core-e2e-automated:ios
nx run core-e2e-automated:android
nx run core-e2e-automated:clean


Compatibility package for old style tns-core-modules

nx run tns-core-modules-compat:build

@nativescript/ui-mobile-base

Base native classes for ui components. Included with @nativescript/core right now as direct dependency but also published separately for others to build on top of if desired.

If you would like to make changes to source just build when ready to test your changes (you can then clean any testing target to try your changes)

nx run ui-mobile-base:build

@nativescript/webpack

// To try any webpack changes, just build and then clean targets to try
nx run webpack:build

// unit tests
nx run webpack:test
Description
Empowering JavaScript with native platform APIs. Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java, Dart). Use what you love ❤️ Angular, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Dart (Flutter) and you name it compatible.
Readme MIT 263 MiB
Languages
TypeScript 85.1%
Java 10.4%
Objective-C 2.3%
JavaScript 0.8%
CSS 0.7%
Other 0.6%