Files
NativeScript/README.md
2020-07-12 19:08:49 -07:00

1.9 KiB

NativeScript

TypeScript driven development for native platform api's.

Develop

npm run setup

Packages

@nativescript/core

// 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:

// livesync develop changes (used in CI automated tests)
nx run core-e2e-automated:ios
nx run core-e2e-automated:android
nx run core-e2e-automated:clean

// various ui testing
nx run core-e2e-ui:ios
nx run core-e2e-ui:android
nx run core-e2e-ui:clean

@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