tauri-plugin-live-activity 0.13.0 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ko.md +84 -8
- package/README.md +85 -8
- package/package.json +4 -4
package/README.ko.md
CHANGED
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
[](https://github.com/1eedaegon/tauri-plugin-live-activity/actions/workflows/ci.yml)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
|
-
Tauri 2 앱이 하고 있는 일을 iPhone 잠금 화면과
|
|
9
|
-
|
|
10
|
-
[
|
|
8
|
+
**Tauri 2용 iOS Live Activities와 Android Live Updates.** Tauri 2 앱이 하고 있는 일을 iPhone 잠금 화면과
|
|
9
|
+
Dynamic Island(ActivityKit)에, Android에서는 Live Update나 진행 중 알림으로 보여 줍니다. 레이아웃은 TSX,
|
|
10
|
+
TypeScript 또는 Rust로 적고, 그리는 일은 플러그인이 [liveactivity-rs](https://github.com/1eedaegon/liveactivity-rs)
|
|
11
|
+
브리지를 통해 맡습니다.
|
|
12
|
+
[English](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/README.md) ·
|
|
13
|
+
[사이트](https://1eedaegon.github.io/tauri-plugin-live-activity/ko/)
|
|
11
14
|
|
|
12
15
|
<table>
|
|
13
16
|
<tr><th>iOS 잠금 화면</th><th>Dynamic Island</th></tr>
|
|
@@ -39,11 +42,52 @@ Tauri 2 앱이 하고 있는 일을 iPhone 잠금 화면과 Dynamic Island에, A
|
|
|
39
42
|
<img src="https://raw.githubusercontent.com/1eedaegon/tauri-plugin-live-activity/main/docs/images/live-editing.gif" width="800" alt="왼쪽은 iPhone 17 Pro 시뮬레이터의 화면 녹화로, 데모 위로 끌어내린 잠금 화면과 Mochi의 카드입니다. 오른쪽은 저장 기록으로 그린 편집기 화면의 card.tsx입니다. 값을 저장하면 상태 문구, 남은 시간, 진행률 막대가 그 자리에서 바뀌고, 발바닥을 자전거로 바꾸거나 제목을 키워 저장하면 카드가 사라졌다가 바뀐 모습으로 다시 뜹니다.">
|
|
40
43
|
|
|
41
44
|
모두 고양이 Mochi를 따라가는 [데모 앱](https://github.com/1eedaegon/tauri-plugin-live-activity/tree/main/examples/demo)에서
|
|
42
|
-
캡처했습니다.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
캡처했습니다.
|
|
46
|
+
|
|
47
|
+
## 지원 버전
|
|
48
|
+
|
|
49
|
+
요약하면 iOS 16.1 이상, Android 8 이상에서 동작하고, 데스크톱에는 활동이 없습니다.
|
|
50
|
+
|
|
51
|
+
| 어디서 | 최소 버전 | 무엇이 되나 |
|
|
52
|
+
| --- | --- | --- |
|
|
53
|
+
| iPhone | iOS 16.1 | 잠금 화면의 Live Activity, Dynamic Island가 있는 iPhone에서는 Dynamic Island에도. 오래된 표시(stale)와 relevance는 iOS 16.2부터, 버튼·토글·push-to-start는 iOS 17.2부터 |
|
|
54
|
+
| iPad | iPadOS 17 | 잠금 화면의 같은 Live Activity |
|
|
55
|
+
| Apple Watch | iOS 18과 watchOS 11 | 레이아웃의 `small` 영역이 워치의 Smart Stack에 |
|
|
56
|
+
| Android | Android 8.0 (API 26) | 진행률 막대나 타이머, 동작 최대 세 개가 있는 진행 중 알림. 알림 권한은 Android 13 (API 33)부터 묻습니다 |
|
|
57
|
+
| Android Live Updates | Android 16 (API 36) | 시스템과 사용자 설정이 허락하면 승격된 Live Update, 아니면 진행 중 알림 |
|
|
58
|
+
| Samsung Now Bar | Android 17 (API 37), One UI 9 | One UI의 Now Bar가 보여 주는 제목과 본문. Samsung의 허용 목록에 있는 앱만 |
|
|
59
|
+
| macOS, Windows, Linux | 지원 안 함 | 활동이 없고, 활동 명령은 `UNSUPPORTED_PLATFORM`을 돌려줍니다 |
|
|
60
|
+
|
|
61
|
+
플러그인에는 Tauri 2와 Rust 1.90 이상이 필요합니다. `setup`은 위젯 확장의 배포 대상을 iOS 16.1로, Android
|
|
62
|
+
`minSdk`를 26으로 맞춥니다. 기능마다의 최소 버전은
|
|
63
|
+
[OS 호환성](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/docs/compatibility.md)에 있습니다.
|
|
64
|
+
|
|
65
|
+
## 동작 구조
|
|
66
|
+
|
|
67
|
+
플러그인은 크레이트 네 개 중 Tauri 쪽입니다. Tauri의 명령, 이벤트, 권한과 `setup` 명령을 맡습니다.
|
|
68
|
+
[liveactivity-rs](https://github.com/1eedaegon/liveactivity-rs) 브리지(`liveactivity` 크레이트)가 요청 계약과 그
|
|
69
|
+
검사, 수명 주기를 맡아 각 요청을 플랫폼의 백엔드에서 돌립니다:
|
|
70
|
+
|
|
71
|
+
```text
|
|
72
|
+
Tauri 2 앱 TSX, TypeScript 또는 Rust로 적은 레이아웃
|
|
73
|
+
│ 시작 · 갱신 · 종료 · 이벤트
|
|
74
|
+
▼
|
|
75
|
+
tauri-plugin-live-activity Tauri 명령, 이벤트, 권한, setup
|
|
76
|
+
│
|
|
77
|
+
▼
|
|
78
|
+
liveactivity liveactivity-rs 브리지: 하나의 요청 계약,
|
|
79
|
+
│ 그 검사, 수명 주기
|
|
80
|
+
├─ iOS 16.1+ ────────────► activitykit (activitykit-rs)
|
|
81
|
+
│ Swift 브리지로 부르는 ActivityKit, 앱의 위젯
|
|
82
|
+
│ 확장이 그림: 잠금 화면, Dynamic Island
|
|
83
|
+
└─ Android 8.0+ ─────────► liveupdate (liveupdate-rs)
|
|
84
|
+
진행 중 알림, Android 16부터 Live Update
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
플러그인 자체의 Swift 코드는 없고, Kotlin은 권한 명령과 liveupdate의 Android 어댑터 호출만 맡습니다.
|
|
88
|
+
[iOS 설정](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/docs/ios-integration.md)과
|
|
89
|
+
[Android 설정](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/docs/android-integration.md)이
|
|
90
|
+
`setup`이 각 프로젝트에서 바꾸는 것을 보여 줍니다.
|
|
47
91
|
|
|
48
92
|
## 설치
|
|
49
93
|
|
|
@@ -322,6 +366,38 @@ Auto에는 이를 보여 줄 자리가 없습니다. Android는 `small`을 `degr
|
|
|
322
366
|
Now Bar가 보여 줄 제목과 본문을 보냅니다. One UI는 Samsung의 허용 목록에 있는 앱이나, 개발자 옵션 "모든 앱의
|
|
323
367
|
라이브 알림"이 켜진 동안의 모든 앱에만 Now Bar를 보여 줍니다.
|
|
324
368
|
|
|
369
|
+
## 자주 묻는 질문
|
|
370
|
+
|
|
371
|
+
**iOS Live Activity와 Dynamic Island를 위한 Tauri 플러그인이 있나요?** 네, 이 플러그인입니다.
|
|
372
|
+
tauri-plugin-live-activity는 커뮤니티 플러그인이고, Tauri 공식 플러그인은 없습니다. 이 플러그인으로 Tauri 2 앱은
|
|
373
|
+
iOS 16.1 이상에서 ActivityKit Live Activity를 시작, 갱신, 종료하고, 잠금 화면과 Dynamic Island에 그립니다.
|
|
374
|
+
|
|
375
|
+
**Xcode에서 Widget Extension을 손으로 넣어야 하나요?** 아니요. `npx tauri-plugin-live-activity setup`이 활동을
|
|
376
|
+
그리는 위젯 확장을 `src-tauri/gen/apple`의 Xcode 프로젝트에 넣습니다. `gen/apple`을 새로 만들 때마다 다시
|
|
377
|
+
실행하세요.
|
|
378
|
+
|
|
379
|
+
**Android Live Updates를 지원하나요?** 네. Android 16 (API 36) 이상에서는 시스템과 사용자 설정이 허락하면 승격된
|
|
380
|
+
Live Update를 요청하고, 그 밖에는 Android 8.0 (API 26)부터 같은 요청이 진행 중 알림으로 보입니다.
|
|
381
|
+
|
|
382
|
+
**최소 iOS, Android 버전은요?** iPhone은 iOS 16.1, iPad는 iPadOS 17, Android는 8.0 (API 26)입니다. 더 높은 버전이
|
|
383
|
+
필요한 기능은 [지원 버전](#지원-버전)에 있습니다.
|
|
384
|
+
|
|
385
|
+
**Swift나 Kotlin을 써야 하나요?** 아니요. 레이아웃은 TSX, TypeScript 또는 Rust이고, 네이티브 코드는 플러그인과
|
|
386
|
+
그 크레이트에 들어 있습니다. 직접 만든 뷰는 SwiftUI로 넣을 수도 있습니다([기본 부품 너머](#기본-부품-너머)).
|
|
387
|
+
|
|
388
|
+
**liveactivity-rs가 뭔가요?** 이 플러그인이 올라선 Rust 브리지, `liveactivity` 크레이트입니다. 요청 계약과 수명
|
|
389
|
+
주기를 맡고, iOS는 activitykit-rs, Android는 liveupdate-rs 위에서 돌립니다([동작 구조](#동작-구조)).
|
|
390
|
+
|
|
391
|
+
**홈 화면 위젯 플러그인과 무엇이 다른가요?** tauri-plugin-widgets 같은 위젯 플러그인은 홈 화면에 계속 머무는
|
|
392
|
+
WidgetKit, Android Glance 위젯을 그립니다. 이 플러그인은 작업 하나가 진행되는 동안 그 작업을 따라가는 Live
|
|
393
|
+
Activity와 Android Live Update를 그립니다. 한 앱에서 둘 다 쓸 수 있습니다.
|
|
394
|
+
|
|
395
|
+
**서버가 활동을 갱신할 수 있나요?** iOS에서는 APNs로 됩니다: 푸시 토큰, iOS 17.2부터 push-to-start, iOS 18부터
|
|
396
|
+
broadcast 채널([푸시 (iOS)](#푸시-ios)). Android에는 푸시 경로가 없고, 앱이 알림을 갱신합니다.
|
|
397
|
+
|
|
398
|
+
**macOS, Windows, Linux에서도 되나요?** 아니요. 그곳에서는 활동 명령이 `UNSUPPORTED_PLATFORM`을 돌려주고,
|
|
399
|
+
`getCapabilities()`가 그렇다고 알려 줍니다.
|
|
400
|
+
|
|
325
401
|
## 더 알아보기
|
|
326
402
|
|
|
327
403
|
[문서](https://github.com/1eedaegon/tauri-plugin-live-activity/tree/main/docs)가 나머지를 다룹니다: `setup`이
|
package/README.md
CHANGED
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
[](https://github.com/1eedaegon/tauri-plugin-live-activity/actions/workflows/ci.yml)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
|
-
Show what your Tauri 2 app is doing on the iPhone
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
**iOS Live Activities and Android Live Updates for Tauri 2.** Show what your Tauri 2 app is doing on the iPhone
|
|
9
|
+
Lock Screen and in the Dynamic Island (ActivityKit), and as a Live Update or an ongoing notification on Android.
|
|
10
|
+
You describe the layout in TSX, TypeScript or Rust; the plugin draws it, through the
|
|
11
|
+
[liveactivity-rs](https://github.com/1eedaegon/liveactivity-rs) bridge.
|
|
12
|
+
[한국어](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/README.ko.md) ·
|
|
13
|
+
[Site](https://1eedaegon.github.io/tauri-plugin-live-activity/)
|
|
11
14
|
|
|
12
15
|
<table>
|
|
13
16
|
<tr><th>iOS Lock Screen</th><th>Dynamic Island</th></tr>
|
|
@@ -39,11 +42,52 @@ start it again ([live editing](https://github.com/1eedaegon/tauri-plugin-live-ac
|
|
|
39
42
|
<img src="https://raw.githubusercontent.com/1eedaegon/tauri-plugin-live-activity/main/docs/images/live-editing.gif" width="800" alt="Left, the screen recording of the iPhone 17 Pro simulator: its Lock Screen pulled down over the demo, with Mochi's card. Right, card.tsx as an editor shows it, drawn from the log of the saves. Saves of values change the status, the time and the meter in place; a save that swaps the paw for a bicycle, and one that makes the title larger, each make the card go and come back changed.">
|
|
40
43
|
|
|
41
44
|
All of them come from the [demo app](https://github.com/1eedaegon/tauri-plugin-live-activity/tree/main/examples/demo),
|
|
42
|
-
which follows a cat named Mochi.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
which follows a cat named Mochi.
|
|
46
|
+
|
|
47
|
+
## Supported versions
|
|
48
|
+
|
|
49
|
+
In short: iOS 16.1+ and Android 8+, and no activities on desktop.
|
|
50
|
+
|
|
51
|
+
| Where | From | What you get |
|
|
52
|
+
| --- | --- | --- |
|
|
53
|
+
| iPhone | iOS 16.1 | Live Activities on the Lock Screen and, on iPhones that have one, in the Dynamic Island. Stale dates and relevance from iOS 16.2; buttons, toggles and push-to-start from iOS 17.2 |
|
|
54
|
+
| iPad | iPadOS 17 | The same Live Activities on the Lock Screen |
|
|
55
|
+
| Apple Watch | iOS 18 with watchOS 11 | A layout's `small` region in the watch's Smart Stack |
|
|
56
|
+
| Android | Android 8.0 (API 26) | An ongoing notification with a progress bar or a timer and up to three actions; the notification permission is asked from Android 13 (API 33) |
|
|
57
|
+
| Android Live Updates | Android 16 (API 36) | A promoted Live Update where the system and the person's settings allow one, the ongoing notification otherwise |
|
|
58
|
+
| Samsung Now Bar | Android 17 (API 37), One UI 9 | The title and body that One UI's Now Bar shows, for apps on Samsung's allow list |
|
|
59
|
+
| macOS, Windows, Linux | not supported | No activities: the activity commands answer `UNSUPPORTED_PLATFORM` |
|
|
60
|
+
|
|
61
|
+
The plugin needs Tauri 2 and Rust 1.90 or later. `setup` sets the widget extension's deployment target to iOS 16.1 and
|
|
62
|
+
the Android `minSdk` to 26. The floor of every feature is in
|
|
63
|
+
[OS compatibility](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/docs/compatibility.md).
|
|
64
|
+
|
|
65
|
+
## How it works
|
|
66
|
+
|
|
67
|
+
The plugin is the Tauri side of four crates. It keeps Tauri's commands, events, permissions and the `setup`
|
|
68
|
+
command. The [liveactivity-rs](https://github.com/1eedaegon/liveactivity-rs) bridge, the `liveactivity` crate, holds
|
|
69
|
+
the request contract, its checks and the lifecycle, and runs each request on the platform's backend:
|
|
70
|
+
|
|
71
|
+
```text
|
|
72
|
+
your Tauri 2 app a layout in TSX, TypeScript or Rust
|
|
73
|
+
│ start · update · end · events
|
|
74
|
+
▼
|
|
75
|
+
tauri-plugin-live-activity Tauri commands, events, permissions, setup
|
|
76
|
+
│
|
|
77
|
+
▼
|
|
78
|
+
liveactivity the liveactivity-rs bridge: one request contract,
|
|
79
|
+
│ its checks, the lifecycle
|
|
80
|
+
├─ iOS 16.1+ ────────────► activitykit (activitykit-rs)
|
|
81
|
+
│ ActivityKit through its Swift bridge, drawn by the
|
|
82
|
+
│ app's widget extension: Lock Screen, Dynamic Island
|
|
83
|
+
└─ Android 8.0+ ─────────► liveupdate (liveupdate-rs)
|
|
84
|
+
an ongoing notification, a Live Update on Android 16+
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
The plugin has no Swift of its own; its Kotlin answers the permission commands and carries liveupdate's Android
|
|
88
|
+
adapter. [iOS setup](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/docs/ios-integration.md) and
|
|
89
|
+
[Android setup](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/docs/android-integration.md) show
|
|
90
|
+
what `setup` changes in each project.
|
|
47
91
|
|
|
48
92
|
## Install
|
|
49
93
|
|
|
@@ -332,6 +376,39 @@ at most 1 MiB and 1224 × 480 pixels. [More](https://github.com/1eedaegon/tauri-
|
|
|
332
376
|
the title and body its Now Bar shows. One UI shows the Now Bar only for apps on Samsung's allow list, or for every
|
|
333
377
|
app while the developer option "Live notifications for all apps" is on.
|
|
334
378
|
|
|
379
|
+
## Questions
|
|
380
|
+
|
|
381
|
+
**Is there a Tauri plugin for iOS Live Activities and the Dynamic Island?** Yes: this one. tauri-plugin-live-activity
|
|
382
|
+
is a community plugin; Tauri has no official one. With it a Tauri 2 app starts, updates and ends ActivityKit Live
|
|
383
|
+
Activities on iOS 16.1 and later, drawn on the Lock Screen and in the Dynamic Island.
|
|
384
|
+
|
|
385
|
+
**Do I have to add a Widget Extension in Xcode by hand?** No. `npx tauri-plugin-live-activity setup` adds the widget
|
|
386
|
+
extension that draws the activity to the Xcode project in `src-tauri/gen/apple`. Run it again whenever `gen/apple` is
|
|
387
|
+
made from scratch.
|
|
388
|
+
|
|
389
|
+
**Does it support Android Live Updates?** Yes. On Android 16 (API 36) and later the plugin asks for a promoted Live
|
|
390
|
+
Update where the system and the person's settings allow one; elsewhere, from Android 8.0 (API 26), the same request
|
|
391
|
+
shows as an ongoing notification.
|
|
392
|
+
|
|
393
|
+
**What are the minimum iOS and Android versions?** iOS 16.1 on an iPhone, iPadOS 17 on an iPad and Android 8.0
|
|
394
|
+
(API 26). Some features need more: see [Supported versions](#supported-versions).
|
|
395
|
+
|
|
396
|
+
**Do I have to write Swift or Kotlin?** No. Layouts are TSX, TypeScript or Rust, and the native code comes with the
|
|
397
|
+
plugin and its crates. A view of your own can still be SwiftUI ([Beyond the built-in parts](#beyond-the-built-in-parts)).
|
|
398
|
+
|
|
399
|
+
**What is liveactivity-rs?** The Rust bridge this plugin is built on, the `liveactivity` crate. It owns the request
|
|
400
|
+
contract and the lifecycle, and runs iOS on activitykit-rs and Android on liveupdate-rs ([How it works](#how-it-works)).
|
|
401
|
+
|
|
402
|
+
**How is it different from a home-screen widget plugin?** Widget plugins such as tauri-plugin-widgets draw
|
|
403
|
+
WidgetKit and Android Glance widgets that stay on the home screen. This plugin draws Live Activities and Android Live
|
|
404
|
+
Updates, which follow one task while it runs. An app can use both.
|
|
405
|
+
|
|
406
|
+
**Can a server update an activity?** On iOS, through APNs: push tokens, push-to-start from iOS 17.2 and broadcast
|
|
407
|
+
channels from iOS 18 ([Pushes (iOS)](#pushes-ios)). Android has no push path; the app updates its notification.
|
|
408
|
+
|
|
409
|
+
**Does it work on macOS, Windows or Linux?** No. There the activity commands answer `UNSUPPORTED_PLATFORM`, and
|
|
410
|
+
`getCapabilities()` says so.
|
|
411
|
+
|
|
335
412
|
## More
|
|
336
413
|
|
|
337
414
|
The [docs](https://github.com/1eedaegon/tauri-plugin-live-activity/tree/main/docs) cover the rest: what `setup`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tauri-plugin-live-activity",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "Tauri 2 plugin for iOS Live Activities (ActivityKit and Dynamic Island) and Android Live Updates with ongoing notification fallback",
|
|
5
5
|
"author": "1eedaegon",
|
|
6
6
|
"type": "module",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/1eedaegon/tauri-plugin-live-activity.git"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://github.
|
|
12
|
+
"homepage": "https://1eedaegon.github.io/tauri-plugin-live-activity/",
|
|
13
13
|
"bugs": "https://github.com/1eedaegon/tauri-plugin-live-activity/issues",
|
|
14
|
-
"keywords": ["tauri", "tauri-plugin", "tauri-v2", "ios", "ipados", "android", "live-activity", "live-activities", "activitykit", "dynamic-island", "live-updates", "notifications"],
|
|
14
|
+
"keywords": ["tauri", "tauri-plugin", "tauri-v2", "ios", "ipados", "android", "live-activity", "live-activities", "activitykit", "dynamic-island", "live-updates", "live-update", "android-live-updates", "notifications", "ongoing-notification", "lock-screen", "widgetkit", "now-bar", "liveactivity-rs", "react", "tsx", "rust"],
|
|
15
15
|
"sideEffects": false,
|
|
16
16
|
"types": "./dist-js/index.d.ts",
|
|
17
17
|
"main": "./dist-js/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"build": "tsc -p tsconfig.json && tsc -p cli && node -e \"require('node:fs').chmodSync('cli/bin.mjs', 0o755)\"",
|
|
34
34
|
"typecheck": "npm run build && tsc -p tools && tsc -p tests && tsc -p examples/demo/tsconfig.json && tsc -p examples/demo/tsconfig.node.json && tsc -p examples/demo/tsconfig.live.json",
|
|
35
35
|
"test": "npm run build && npm run test:contracts && npm run test:api && npm run test:jsx && npm run test:react && npm run test:demo && npm run test:setup",
|
|
36
|
-
"test:contracts": "node --experimental-strip-types --test --experimental-test-coverage \"--test-coverage-include=tools/activitykit.ts\" \"--test-coverage-include=tools/sync-liveupdate.ts\" \"--test-coverage-include=tools/cargo.ts\" --test-coverage-lines=80 --test-coverage-branches=80 --test-coverage-functions=80 tests/contract-files.test.ts tests/typescript-requests.test.ts tests/android-liveupdate.test.ts tests/android-contents.test.ts tests/ci.test.ts tests/ci-cache.test.ts tests/ios-run.test.ts tests/spec-coverage.test.ts tests/docs.test.ts",
|
|
36
|
+
"test:contracts": "node --experimental-strip-types --test --experimental-test-coverage \"--test-coverage-include=tools/activitykit.ts\" \"--test-coverage-include=tools/sync-liveupdate.ts\" \"--test-coverage-include=tools/cargo.ts\" --test-coverage-lines=80 --test-coverage-branches=80 --test-coverage-functions=80 tests/contract-files.test.ts tests/typescript-requests.test.ts tests/android-liveupdate.test.ts tests/android-contents.test.ts tests/ci.test.ts tests/ci-cache.test.ts tests/ios-run.test.ts tests/spec-coverage.test.ts tests/docs.test.ts tests/site.test.ts",
|
|
37
37
|
"test:api": "node --experimental-strip-types --test --experimental-test-coverage \"--test-coverage-include=dist-js/*.js\" --test-coverage-lines=80 --test-coverage-branches=80 --test-coverage-functions=80 tests/api.test.ts tests/api-reload.test.ts",
|
|
38
38
|
"test:jsx": "node --experimental-strip-types --test --experimental-test-coverage \"--test-coverage-include=dist-js/jsx/*.js\" --test-coverage-lines=80 --test-coverage-branches=80 --test-coverage-functions=80 tests/jsx.test.ts",
|
|
39
39
|
"test:react": "node --experimental-strip-types --test --experimental-test-coverage \"--test-coverage-include=dist-js/react/*.js\" --test-coverage-lines=80 --test-coverage-branches=80 --test-coverage-functions=80 tests/react.test.ts",
|