mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
95 lines
5.7 KiB
Markdown
95 lines
5.7 KiB
Markdown
[](https://nativescript.org)
|
|
|
|
<p>
|
|
|
|
[](https://github.com/NativeScript/NativeScript/actions/workflows/apps_automated.yml)
|
|
[](https://github.com/NativeScript/NativeScript/blob/main/LICENSE)
|
|
[](https://www.npmjs.com/@nativescript/core)
|
|
[](https://nativescript.org/discord)
|
|
[](https://app.fossa.com/projects/git%2Bgithub.com%2FNativeScript%2FNativeScript?ref=badge_shield)
|
|
[](https://nativescript.org)
|
|
[](https://good-labs.github.io/greater-good-affirmation)
|
|
[](https://opencollective.com/NativeScript)
|
|
|
|
</p>
|
|
|
|
[NativeScript](http://www.nativescript.org) empowers you to access native APIs from JavaScript directly. Currently iOS and Android runtimes are provided for rich mobile development across a variety of diverse use cases.
|
|
|
|
|
|
[](https://app.fossa.com/projects/git%2Bgithub.com%2FNativeScript%2FNativeScript?ref=badge_large)
|
|
|
|
## Contribute
|
|
|
|
1. [Setup your local development environment](https://docs.nativescript.org/environment-setup.html)
|
|
|
|
2. Clone to contribute:
|
|
|
|
```bash
|
|
$ git clone https://github.com/NativeScript/NativeScript.git
|
|
$ cd NativeScript
|
|
|
|
# setup workspace for development
|
|
$ npm run setup
|
|
|
|
# list all available commands to run
|
|
$ npm start
|
|
```
|
|
|
|
We love you and your pull requests 🤗. Please follow our [contributing guide](https://github.com/NativeScript/NativeScript/blob/main/tools/notes/CONTRIBUTING.md) and see [our code of governance](https://github.com/NativeScript/management/blob/master/nativescript-governance.md) to become as involved as you want to be.
|
|
|
|
## @nativescript/*
|
|
|
|
- [@nativescript/core](https://github.com/NativeScript/NativeScript/tree/main/packages/core)
|
|
Core iOS/Android for NativeScript.
|
|
- [@nativescript/types](https://www.npmjs.com/package/@nativescript/types)
|
|
Types for both iOS/Android below wrapped up as a convenience. *Most commonly used.*
|
|
- [@nativescript/types-ios](https://github.com/NativeScript/NativeScript/tree/main/packages/types-ios)
|
|
Types for iOS.
|
|
- [@nativescript/types-android](https://github.com/NativeScript/NativeScript/tree/main/packages/types-android)
|
|
Types for Android.
|
|
- [@nativescript/types-minimal](https://github.com/NativeScript/NativeScript/tree/main/packages/types-minimal)
|
|
A very minimal set of types for only the latest Android and iOS sdks. Most commonly used to optimize Web-based IDE's which auto load all type declarations from node_modules.
|
|
- [@nativescript/ui-mobile-base](https://github.com/NativeScript/NativeScript/tree/main/packages/ui-mobile-base)
|
|
UI mobile base native classes used by core.
|
|
- [@nativescript/webpack](https://github.com/NativeScript/NativeScript/tree/main/packages/webpack5)
|
|
Webpack build utilities and configs used by NativeScript apps.
|
|
|
|
## Quick Links
|
|
|
|
- [NativeScript Home](https://nativescript.org)
|
|
- [NativeScript Tutorials](https://docs.nativescript.org/tutorial/)
|
|
- [NativeScript documentation](https://docs.nativescript.org/)
|
|
- JavaScript starter: https://nativescript.new/javascript
|
|
- TypeScript starter: https://nativescript.new/typescript
|
|
- Angular starter: https://nativescript.new/angular
|
|
- Vue starter: https://nativescript.new/vue
|
|
- Svelte starter: https://nativescript.new/svelte
|
|
- React starter: https://nativescript.new/react
|
|
- [NativeScript on Twitter](http://twitter.com/NativeScript)
|
|
- [NativeScript on Discord](https://nativescript.org/discord)
|
|
- [NativeScript on Stack Overflow](http://stackoverflow.com/questions/tagged/nativescript)
|
|
|
|
## Other source repos
|
|
|
|
Outside the source centralized in this repo, NativeScript consists of a few other source repos. Here are the major ones:
|
|
|
|
- [iOS Runtime](https://github.com/NativeScript/ns-v8ios-runtime)
|
|
NativeScript iOS Runtime: Empowers JavaScript code to be executed on iOS devices written in a mix of C++, Objective-C, and Swift.
|
|
- [Android Runtime](https://github.com/NativeScript/android-runtime)
|
|
NativeScript Android Runtim: Empowers JavaScript code to be executed on Android devices written in a mix of C++, Java and Kotlin.
|
|
- [CLI](//github.com/NativeScript/nativescript-cli)
|
|
NativeScript command-line interface empowering you to create, build, and run apps using NativeScript.
|
|
- [Docs](//github.com/NativeScript/docs-new)
|
|
NativeScript documentation available at <http://docs.nativescript.org/> written in Markdown.
|
|
- [Plugins](https://github.com/NativeScript/plugins)
|
|
A [plugin workspace](https://docs.nativescript.org/plugins/plugin-workspace-guide.html) with several useful plugins.
|
|
- [Firebase](https://github.com/NativeScript/firebase)
|
|
Modular Firebase 🔥 implementation for supported platforms.
|
|
- [ML Kit](https://github.com/NativeScript/mlkit)
|
|
Google's [ML Kit SDKs for supported platforms](https://developers.google.com/ml-kit).
|
|
- [Payments](https://github.com/NativeScript/payments)
|
|
In-App Purchase, Subscriptions, Google Pay and Apple Pay.
|
|
- [Artwork](https://github.com/NativeScript/artwork)
|
|
Want to use our logo or colors? Feel free to use any of our ready-to-use media material.
|
|
|
|
<h3 align="center">Made with ❤️</h3> |