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

NativeScript Build Status

NativeScript logo

NativeScript empowers you to access native api's from JavaScript directly. The framework currently provides iOS and Android runtimes for rich mobile development and can be utilized in a number of diverse use cases.

Develop

# setup workspace for development
$ npm run setup
# list all available commands to run
$ npm start

Packages

  • @nativescript/core
    • Core iOS/Android for NativeScript
  • @nativescript/types
    • Types for both iOS/Android below wrapped up as a convenience. Most commonly used.
  • @nativescript/types-ios
    • Types for iOS
  • @nativescript/types-android
    • Types for Android
  • @nativescript/ui-mobile-base
    • UI mobile base native classes used by core
  • @nativescript/webpack
    • Webpack build utilities and configs used by NativeScript apps

Getting Started and Installation

Our Getting Started Guides are hands-on tutorials that walk you through installing NativeScript and building a real iOS and Android application.

Repositories

Outside of the source centralized in this repo, the NativeScript framework consists of a number of components, all of which are open source and on GitHub. Here are the major ones:

  • iOS runtime npm
    • This repo contains the NativeScript iOS runtime — the code that hosts NativeScript iOS apps, and allows JavaScript code to be executed on iOS devices. The iOS runtime is written in a fun mix of C++, Objective-C, and more.
  • Android runtime npm
    • This repo contains the NativeScript Android — the code that hosts NativeScript Android apps, and allows JavaScript code to be executed on Android devices. The Android runtime is written in a fun mix of C++ and Java.
  • CLI npm
    • This repo contains the NativeScript command-line interface, which lets you create, build, and run apps using the NativeScript framework. The CLI is written in TypeScript.
  • Docs Docs
    • This repo contains the NativeScript framework documentation, which is available at http://docs.nativescript.org/. The docs are written in Markdown.

In addition to the code that makes up the NativeScript framework itself, we also provide a number of open-source sample apps that you can reference while building your NativeScript application.

Contributing

We love PRs, and accept them for all of our repositories — even docs! Please follow our contribution guide if you want to become part of the project.

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 237 MiB
Languages
TypeScript 84.6%
Java 10.4%
Objective-C 2.4%
JavaScript 1.4%
CSS 0.7%
Other 0.5%