@flare-engine/haptics 0.2.0
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/LICENSE +21 -0
- package/README.md +33 -0
- package/dist/index.d.mts +45 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.js +56 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +27 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +45 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Grzegorz Otto
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @flare-engine/haptics
|
|
2
|
+
|
|
3
|
+
Typed `HapticsProvider` interface + `NoopHapticsProvider` + React context. Stub-only at 0.1.0; a concrete adapter (`@flare-engine/haptics-expo`, wrapping Expo Haptics) lands at 0.2.0.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
bun add @flare-engine/haptics
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```tsx
|
|
14
|
+
import {
|
|
15
|
+
HapticsContext,
|
|
16
|
+
useHaptics,
|
|
17
|
+
NoopHapticsProvider,
|
|
18
|
+
} from '@flare-engine/haptics';
|
|
19
|
+
|
|
20
|
+
export function App() {
|
|
21
|
+
return (
|
|
22
|
+
<HapticsContext.Provider value={NoopHapticsProvider}>
|
|
23
|
+
{/* ... */}
|
|
24
|
+
</HapticsContext.Provider>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
`useHaptics()` returns the provider; call `impact(style?)` for weapon / hit / bomb feel, `notification(type?)` for victory / error cues, and `selection()` for light UI ticks. The `isEnabled()` / `setEnabled(enabled)` gate lets the user's haptics setting and the reduced-motion gate (`@flare-engine/a11y`) live in one place — when disabled, the cue methods are no-ops. Swapping `NoopHapticsProvider` for a real adapter at 0.2.0 requires no consumer changes.
|
|
30
|
+
|
|
31
|
+
## Recipe — env-var-gated lazy load
|
|
32
|
+
|
|
33
|
+
When the 0.2.0 adapter lands, wrap it behind an env-var gate so CI / unit tests / dev builds without the native module fall back to `NoopHapticsProvider` and never touch the SDK. See the [Lazy-SDK adapter recipe](https://github.com/grzott/flare-engine/blob/main/.claude/skills/flare-tier2-stubs/SKILL.md#lazy-sdk-adapter-recipe) for the full pattern.
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
/** iOS `UIFeedbackGenerator`-style impact intensities; adapters map to platform APIs. */
|
|
4
|
+
type HapticImpactStyle = 'light' | 'medium' | 'heavy' | 'soft' | 'rigid';
|
|
5
|
+
/** Notification feedback categories. */
|
|
6
|
+
type HapticNotificationType = 'success' | 'warning' | 'error';
|
|
7
|
+
/**
|
|
8
|
+
* Haptics (tactile feedback) provider interface. Consumers supply a concrete
|
|
9
|
+
* adapter (Expo Haptics, react-native `Vibration`, a Core Haptics bridge) at the
|
|
10
|
+
* app boundary. The cue surface is deliberately thin — three semantic calls
|
|
11
|
+
* mirroring the iOS `UIFeedbackGenerator` family so any platform SDK can back it
|
|
12
|
+
* — plus an enabled gate, so the user's haptics setting and the reduced-motion
|
|
13
|
+
* gate (`@flare-engine/a11y`) live in one place instead of at every call site.
|
|
14
|
+
*/
|
|
15
|
+
interface HapticsProvider {
|
|
16
|
+
/** A physical impact cue — weapon fire, projectile hit, bomb detonation. */
|
|
17
|
+
impact(style?: HapticImpactStyle): Promise<void>;
|
|
18
|
+
/** A notification cue — victory, medal earned, error / deny. */
|
|
19
|
+
notification(type?: HapticNotificationType): Promise<void>;
|
|
20
|
+
/** A light selection tick — menu focus, toggle, pickup. */
|
|
21
|
+
selection(): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Whether cues currently fire. Reflects the user setting and the reduced-motion
|
|
24
|
+
* gate; when `false`, `impact` / `notification` / `selection` are no-ops.
|
|
25
|
+
*/
|
|
26
|
+
isEnabled(): boolean;
|
|
27
|
+
/** Enable or disable all feedback. When disabled, cue methods resolve without firing. */
|
|
28
|
+
setEnabled(enabled: boolean): void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Default no-op provider. Reports disabled and fires nothing — the safe default
|
|
32
|
+
* where there is no haptics backend (web, CI, tests). All cues resolve
|
|
33
|
+
* immediately; `setEnabled` is inert because there is nothing to drive.
|
|
34
|
+
*/
|
|
35
|
+
declare const NoopHapticsProvider: HapticsProvider;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* React context carrying the active `HapticsProvider`. Defaults to
|
|
39
|
+
* `NoopHapticsProvider`.
|
|
40
|
+
*/
|
|
41
|
+
declare const HapticsContext: react.Context<HapticsProvider>;
|
|
42
|
+
/** Hook returning the current `HapticsProvider`. */
|
|
43
|
+
declare function useHaptics(): HapticsProvider;
|
|
44
|
+
|
|
45
|
+
export { type HapticImpactStyle, type HapticNotificationType, HapticsContext, type HapticsProvider, NoopHapticsProvider, useHaptics };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
/** iOS `UIFeedbackGenerator`-style impact intensities; adapters map to platform APIs. */
|
|
4
|
+
type HapticImpactStyle = 'light' | 'medium' | 'heavy' | 'soft' | 'rigid';
|
|
5
|
+
/** Notification feedback categories. */
|
|
6
|
+
type HapticNotificationType = 'success' | 'warning' | 'error';
|
|
7
|
+
/**
|
|
8
|
+
* Haptics (tactile feedback) provider interface. Consumers supply a concrete
|
|
9
|
+
* adapter (Expo Haptics, react-native `Vibration`, a Core Haptics bridge) at the
|
|
10
|
+
* app boundary. The cue surface is deliberately thin — three semantic calls
|
|
11
|
+
* mirroring the iOS `UIFeedbackGenerator` family so any platform SDK can back it
|
|
12
|
+
* — plus an enabled gate, so the user's haptics setting and the reduced-motion
|
|
13
|
+
* gate (`@flare-engine/a11y`) live in one place instead of at every call site.
|
|
14
|
+
*/
|
|
15
|
+
interface HapticsProvider {
|
|
16
|
+
/** A physical impact cue — weapon fire, projectile hit, bomb detonation. */
|
|
17
|
+
impact(style?: HapticImpactStyle): Promise<void>;
|
|
18
|
+
/** A notification cue — victory, medal earned, error / deny. */
|
|
19
|
+
notification(type?: HapticNotificationType): Promise<void>;
|
|
20
|
+
/** A light selection tick — menu focus, toggle, pickup. */
|
|
21
|
+
selection(): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Whether cues currently fire. Reflects the user setting and the reduced-motion
|
|
24
|
+
* gate; when `false`, `impact` / `notification` / `selection` are no-ops.
|
|
25
|
+
*/
|
|
26
|
+
isEnabled(): boolean;
|
|
27
|
+
/** Enable or disable all feedback. When disabled, cue methods resolve without firing. */
|
|
28
|
+
setEnabled(enabled: boolean): void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Default no-op provider. Reports disabled and fires nothing — the safe default
|
|
32
|
+
* where there is no haptics backend (web, CI, tests). All cues resolve
|
|
33
|
+
* immediately; `setEnabled` is inert because there is nothing to drive.
|
|
34
|
+
*/
|
|
35
|
+
declare const NoopHapticsProvider: HapticsProvider;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* React context carrying the active `HapticsProvider`. Defaults to
|
|
39
|
+
* `NoopHapticsProvider`.
|
|
40
|
+
*/
|
|
41
|
+
declare const HapticsContext: react.Context<HapticsProvider>;
|
|
42
|
+
/** Hook returning the current `HapticsProvider`. */
|
|
43
|
+
declare function useHaptics(): HapticsProvider;
|
|
44
|
+
|
|
45
|
+
export { type HapticImpactStyle, type HapticNotificationType, HapticsContext, type HapticsProvider, NoopHapticsProvider, useHaptics };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
HapticsContext: () => HapticsContext,
|
|
24
|
+
NoopHapticsProvider: () => NoopHapticsProvider,
|
|
25
|
+
useHaptics: () => useHaptics
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(index_exports);
|
|
28
|
+
|
|
29
|
+
// src/provider.ts
|
|
30
|
+
var NoopHapticsProvider = {
|
|
31
|
+
async impact() {
|
|
32
|
+
},
|
|
33
|
+
async notification() {
|
|
34
|
+
},
|
|
35
|
+
async selection() {
|
|
36
|
+
},
|
|
37
|
+
isEnabled() {
|
|
38
|
+
return false;
|
|
39
|
+
},
|
|
40
|
+
setEnabled() {
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
// src/context.ts
|
|
45
|
+
var import_react = require("react");
|
|
46
|
+
var HapticsContext = (0, import_react.createContext)(NoopHapticsProvider);
|
|
47
|
+
function useHaptics() {
|
|
48
|
+
return (0, import_react.useContext)(HapticsContext);
|
|
49
|
+
}
|
|
50
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
51
|
+
0 && (module.exports = {
|
|
52
|
+
HapticsContext,
|
|
53
|
+
NoopHapticsProvider,
|
|
54
|
+
useHaptics
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/provider.ts","../src/context.ts"],"sourcesContent":["export {\n NoopHapticsProvider,\n type HapticImpactStyle,\n type HapticNotificationType,\n type HapticsProvider,\n} from './provider.js';\nexport { HapticsContext, useHaptics } from './context.js';\n","/** iOS `UIFeedbackGenerator`-style impact intensities; adapters map to platform APIs. */\nexport type HapticImpactStyle = 'light' | 'medium' | 'heavy' | 'soft' | 'rigid';\n\n/** Notification feedback categories. */\nexport type HapticNotificationType = 'success' | 'warning' | 'error';\n\n/**\n * Haptics (tactile feedback) provider interface. Consumers supply a concrete\n * adapter (Expo Haptics, react-native `Vibration`, a Core Haptics bridge) at the\n * app boundary. The cue surface is deliberately thin — three semantic calls\n * mirroring the iOS `UIFeedbackGenerator` family so any platform SDK can back it\n * — plus an enabled gate, so the user's haptics setting and the reduced-motion\n * gate (`@flare-engine/a11y`) live in one place instead of at every call site.\n */\nexport interface HapticsProvider {\n /** A physical impact cue — weapon fire, projectile hit, bomb detonation. */\n impact(style?: HapticImpactStyle): Promise<void>;\n /** A notification cue — victory, medal earned, error / deny. */\n notification(type?: HapticNotificationType): Promise<void>;\n /** A light selection tick — menu focus, toggle, pickup. */\n selection(): Promise<void>;\n /**\n * Whether cues currently fire. Reflects the user setting and the reduced-motion\n * gate; when `false`, `impact` / `notification` / `selection` are no-ops.\n */\n isEnabled(): boolean;\n /** Enable or disable all feedback. When disabled, cue methods resolve without firing. */\n setEnabled(enabled: boolean): void;\n}\n\n/**\n * Default no-op provider. Reports disabled and fires nothing — the safe default\n * where there is no haptics backend (web, CI, tests). All cues resolve\n * immediately; `setEnabled` is inert because there is nothing to drive.\n */\nexport const NoopHapticsProvider: HapticsProvider = {\n async impact(): Promise<void> {\n // no-op\n },\n async notification(): Promise<void> {\n // no-op\n },\n async selection(): Promise<void> {\n // no-op\n },\n isEnabled(): boolean {\n return false;\n },\n setEnabled(): void {\n // no-op\n },\n};\n","import { createContext, useContext } from 'react';\nimport { type HapticsProvider, NoopHapticsProvider } from './provider.js';\n\n/**\n * React context carrying the active `HapticsProvider`. Defaults to\n * `NoopHapticsProvider`.\n */\nexport const HapticsContext = createContext<HapticsProvider>(NoopHapticsProvider);\n\n/** Hook returning the current `HapticsProvider`. */\nexport function useHaptics(): HapticsProvider {\n return useContext(HapticsContext);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACmCO,IAAM,sBAAuC;AAAA,EAClD,MAAM,SAAwB;AAAA,EAE9B;AAAA,EACA,MAAM,eAA8B;AAAA,EAEpC;AAAA,EACA,MAAM,YAA2B;AAAA,EAEjC;AAAA,EACA,YAAqB;AACnB,WAAO;AAAA,EACT;AAAA,EACA,aAAmB;AAAA,EAEnB;AACF;;;ACnDA,mBAA0C;AAOnC,IAAM,qBAAiB,4BAA+B,mBAAmB;AAGzE,SAAS,aAA8B;AAC5C,aAAO,yBAAW,cAAc;AAClC;","names":[]}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// src/provider.ts
|
|
2
|
+
var NoopHapticsProvider = {
|
|
3
|
+
async impact() {
|
|
4
|
+
},
|
|
5
|
+
async notification() {
|
|
6
|
+
},
|
|
7
|
+
async selection() {
|
|
8
|
+
},
|
|
9
|
+
isEnabled() {
|
|
10
|
+
return false;
|
|
11
|
+
},
|
|
12
|
+
setEnabled() {
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
// src/context.ts
|
|
17
|
+
import { createContext, useContext } from "react";
|
|
18
|
+
var HapticsContext = createContext(NoopHapticsProvider);
|
|
19
|
+
function useHaptics() {
|
|
20
|
+
return useContext(HapticsContext);
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
HapticsContext,
|
|
24
|
+
NoopHapticsProvider,
|
|
25
|
+
useHaptics
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/provider.ts","../src/context.ts"],"sourcesContent":["/** iOS `UIFeedbackGenerator`-style impact intensities; adapters map to platform APIs. */\nexport type HapticImpactStyle = 'light' | 'medium' | 'heavy' | 'soft' | 'rigid';\n\n/** Notification feedback categories. */\nexport type HapticNotificationType = 'success' | 'warning' | 'error';\n\n/**\n * Haptics (tactile feedback) provider interface. Consumers supply a concrete\n * adapter (Expo Haptics, react-native `Vibration`, a Core Haptics bridge) at the\n * app boundary. The cue surface is deliberately thin — three semantic calls\n * mirroring the iOS `UIFeedbackGenerator` family so any platform SDK can back it\n * — plus an enabled gate, so the user's haptics setting and the reduced-motion\n * gate (`@flare-engine/a11y`) live in one place instead of at every call site.\n */\nexport interface HapticsProvider {\n /** A physical impact cue — weapon fire, projectile hit, bomb detonation. */\n impact(style?: HapticImpactStyle): Promise<void>;\n /** A notification cue — victory, medal earned, error / deny. */\n notification(type?: HapticNotificationType): Promise<void>;\n /** A light selection tick — menu focus, toggle, pickup. */\n selection(): Promise<void>;\n /**\n * Whether cues currently fire. Reflects the user setting and the reduced-motion\n * gate; when `false`, `impact` / `notification` / `selection` are no-ops.\n */\n isEnabled(): boolean;\n /** Enable or disable all feedback. When disabled, cue methods resolve without firing. */\n setEnabled(enabled: boolean): void;\n}\n\n/**\n * Default no-op provider. Reports disabled and fires nothing — the safe default\n * where there is no haptics backend (web, CI, tests). All cues resolve\n * immediately; `setEnabled` is inert because there is nothing to drive.\n */\nexport const NoopHapticsProvider: HapticsProvider = {\n async impact(): Promise<void> {\n // no-op\n },\n async notification(): Promise<void> {\n // no-op\n },\n async selection(): Promise<void> {\n // no-op\n },\n isEnabled(): boolean {\n return false;\n },\n setEnabled(): void {\n // no-op\n },\n};\n","import { createContext, useContext } from 'react';\nimport { type HapticsProvider, NoopHapticsProvider } from './provider.js';\n\n/**\n * React context carrying the active `HapticsProvider`. Defaults to\n * `NoopHapticsProvider`.\n */\nexport const HapticsContext = createContext<HapticsProvider>(NoopHapticsProvider);\n\n/** Hook returning the current `HapticsProvider`. */\nexport function useHaptics(): HapticsProvider {\n return useContext(HapticsContext);\n}\n"],"mappings":";AAmCO,IAAM,sBAAuC;AAAA,EAClD,MAAM,SAAwB;AAAA,EAE9B;AAAA,EACA,MAAM,eAA8B;AAAA,EAEpC;AAAA,EACA,MAAM,YAA2B;AAAA,EAEjC;AAAA,EACA,YAAqB;AACnB,WAAO;AAAA,EACT;AAAA,EACA,aAAmB;AAAA,EAEnB;AACF;;;ACnDA,SAAS,eAAe,kBAAkB;AAOnC,IAAM,iBAAiB,cAA+B,mBAAmB;AAGzE,SAAS,aAA8B;AAC5C,SAAO,WAAW,cAAc;AAClC;","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@flare-engine/haptics",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Haptics (tactile feedback) provider interface (consumer-supplied adapter)",
|
|
5
|
+
"keywords": ["flare-engine", "haptics", "provider", "interface"],
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Grzegorz Otto",
|
|
8
|
+
"homepage": "https://github.com/grzott/flare-engine#readme",
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/grzott/flare-engine/issues"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/grzott/flare-engine.git",
|
|
15
|
+
"directory": "packages/haptics"
|
|
16
|
+
},
|
|
17
|
+
"main": "dist/index.js",
|
|
18
|
+
"module": "dist/index.mjs",
|
|
19
|
+
"types": "dist/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.mjs",
|
|
24
|
+
"require": "./dist/index.js"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"files": ["dist", "README.md", "LICENSE"],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsup",
|
|
30
|
+
"test": "bun test",
|
|
31
|
+
"lint": "biome check src/",
|
|
32
|
+
"typecheck": "tsc --noEmit"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@types/react": "^18.0.0"
|
|
36
|
+
},
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"react": ">=18.0.0"
|
|
39
|
+
},
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"access": "restricted",
|
|
42
|
+
"registry": "https://registry.npmjs.org/"
|
|
43
|
+
},
|
|
44
|
+
"sideEffects": false
|
|
45
|
+
}
|