Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.29 KB

DevelopmentWorkflow.md

File metadata and controls

41 lines (25 loc) · 1.29 KB

Development Workflow

Prerequisites

Develop locally

For local development we recommend using the npm commands provided in the plugin's package.json

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:

$ cd nativescript-camera/src
$ npm run demo.ios
$ npm run demo.android

To run and develop using TypeScript + Angular demo:

$ cd nativescript-camera/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 covering that topic.