nativescript
Version:
Command-line interface for building NativeScript projects
29 lines (21 loc) • 1.03 kB
Markdown
<% if (isJekyll) { %>---
title: ns platform
position: 6
---<% } %>
Lists all platforms that the project currently targets. You can build and deploy your project only for these target platforms.
Usage | Synopsis
---|---
General | `$ ns platform list`
<% if(isHtml) { %>
Command | Description
----------|----------
[](install.html) | Installs all platforms and dependencies described in the `package.json` file in the current directory.
[](platform-add.html) | Configures the current project to target the selected platform.
[](platform-remove.html) | Removes the selected platform from the platforms that the project currently targets.
[](platform-update.html) | Updates the NativeScript runtime for the specified platform.
[](prepare.html) | Copies common and relevant platform-specific content from the app directory to the subdirectory for the selected target platform in the platforms directory.
<% } %>