pixi-solid 0.0.1

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.
Files changed (90) hide show
  1. package/LICENSE.txt +21 -0
  2. package/README.md +115 -0
  3. package/dist/examples/AnimatedSprite.example.jsx +17 -0
  4. package/dist/examples/AnimatedSprite.example.jsx.map +1 -0
  5. package/dist/examples/BitmapText.example.jsx +8 -0
  6. package/dist/examples/BitmapText.example.jsx.map +1 -0
  7. package/dist/examples/Container.example.jsx +8 -0
  8. package/dist/examples/Container.example.jsx.map +1 -0
  9. package/dist/examples/Graphics.example.jsx +7 -0
  10. package/dist/examples/Graphics.example.jsx.map +1 -0
  11. package/dist/examples/HTMLText.example.jsx +5 -0
  12. package/dist/examples/HTMLText.example.jsx.map +1 -0
  13. package/dist/examples/MeshPlane.example.jsx +6 -0
  14. package/dist/examples/MeshPlane.example.jsx.map +1 -0
  15. package/dist/examples/MeshRope.example.jsx +10 -0
  16. package/dist/examples/MeshRope.example.jsx.map +1 -0
  17. package/dist/examples/MeshSimple.example.jsx +9 -0
  18. package/dist/examples/MeshSimple.example.jsx.map +1 -0
  19. package/dist/examples/NineSliceSprite.example.jsx +7 -0
  20. package/dist/examples/NineSliceSprite.example.jsx.map +1 -0
  21. package/dist/examples/ParticleContainer.example.jsx +30 -0
  22. package/dist/examples/ParticleContainer.example.jsx.map +1 -0
  23. package/dist/examples/PerspectiveMesh.example.jsx +6 -0
  24. package/dist/examples/PerspectiveMesh.example.jsx.map +1 -0
  25. package/dist/examples/PixiApplication.example.jsx +12 -0
  26. package/dist/examples/PixiApplication.example.jsx.map +1 -0
  27. package/dist/examples/PixiCanvas.example.jsx +12 -0
  28. package/dist/examples/PixiCanvas.example.jsx.map +1 -0
  29. package/dist/examples/PixiStage.example.jsx +12 -0
  30. package/dist/examples/PixiStage.example.jsx.map +1 -0
  31. package/dist/examples/RenderContainer.example.jsx +8 -0
  32. package/dist/examples/RenderContainer.example.jsx.map +1 -0
  33. package/dist/examples/RenderLayer.example.jsx +10 -0
  34. package/dist/examples/RenderLayer.example.jsx.map +1 -0
  35. package/dist/examples/Sprite.example.jsx +6 -0
  36. package/dist/examples/Sprite.example.jsx.map +1 -0
  37. package/dist/examples/Text.example.jsx +9 -0
  38. package/dist/examples/Text.example.jsx.map +1 -0
  39. package/dist/examples/TilingSprite.example.jsx +6 -0
  40. package/dist/examples/TilingSprite.example.jsx.map +1 -0
  41. package/dist/examples/useTick.example.jsx +12 -0
  42. package/dist/examples/useTick.example.jsx.map +1 -0
  43. package/dist/examples/useTicker.example.jsx +8 -0
  44. package/dist/examples/useTicker.example.jsx.map +1 -0
  45. package/dist/index.js +7 -0
  46. package/dist/index.js.map +1 -0
  47. package/dist/pixi-application.jsx +86 -0
  48. package/dist/pixi-application.jsx.map +1 -0
  49. package/dist/pixi-canvas.jsx +65 -0
  50. package/dist/pixi-canvas.jsx.map +1 -0
  51. package/dist/pixi-components.jsx +214 -0
  52. package/dist/pixi-components.jsx.map +1 -0
  53. package/dist/pixi-events.js +40 -0
  54. package/dist/pixi-events.js.map +1 -0
  55. package/dist/pixi-stage.jsx +30 -0
  56. package/dist/pixi-stage.jsx.map +1 -0
  57. package/dist/renderer.jsx +74 -0
  58. package/dist/renderer.jsx.map +1 -0
  59. package/dist/types/examples/AnimatedSprite.example.d.ts +1 -0
  60. package/dist/types/examples/BitmapText.example.d.ts +1 -0
  61. package/dist/types/examples/Container.example.d.ts +1 -0
  62. package/dist/types/examples/Graphics.example.d.ts +1 -0
  63. package/dist/types/examples/HTMLText.example.d.ts +1 -0
  64. package/dist/types/examples/MeshPlane.example.d.ts +1 -0
  65. package/dist/types/examples/MeshRope.example.d.ts +1 -0
  66. package/dist/types/examples/MeshSimple.example.d.ts +1 -0
  67. package/dist/types/examples/NineSliceSprite.example.d.ts +1 -0
  68. package/dist/types/examples/ParticleContainer.example.d.ts +1 -0
  69. package/dist/types/examples/PerspectiveMesh.example.d.ts +1 -0
  70. package/dist/types/examples/PixiApplication.example.d.ts +1 -0
  71. package/dist/types/examples/PixiCanvas.example.d.ts +1 -0
  72. package/dist/types/examples/PixiStage.example.d.ts +1 -0
  73. package/dist/types/examples/RenderContainer.example.d.ts +1 -0
  74. package/dist/types/examples/RenderLayer.example.d.ts +1 -0
  75. package/dist/types/examples/Sprite.example.d.ts +1 -0
  76. package/dist/types/examples/Text.example.d.ts +1 -0
  77. package/dist/types/examples/TilingSprite.example.d.ts +1 -0
  78. package/dist/types/examples/useTick.example.d.ts +1 -0
  79. package/dist/types/examples/useTicker.example.d.ts +1 -0
  80. package/dist/types/index.d.ts +10 -0
  81. package/dist/types/pixi-application.d.ts +45 -0
  82. package/dist/types/pixi-canvas.d.ts +23 -0
  83. package/dist/types/pixi-components.d.ts +182 -0
  84. package/dist/types/pixi-events.d.ts +7 -0
  85. package/dist/types/pixi-stage.d.ts +25 -0
  86. package/dist/types/renderer.d.ts +2 -0
  87. package/dist/types/use-ticker.d.ts +31 -0
  88. package/dist/use-ticker.jsx +39 -0
  89. package/dist/use-ticker.jsx.map +1 -0
  90. package/package.json +50 -0
@@ -0,0 +1,182 @@
1
+ import type * as Pixi from "pixi.js";
2
+ import { Container as PixiContainer } from "pixi.js";
3
+ import type { JSX, Ref } from "solid-js";
4
+ import type { PixiEventHandlerMap } from "./pixi-events";
5
+ /**
6
+ * Prop definition for components that CAN have children
7
+ */
8
+ export type ContainerProps<Component> = PixiEventHandlerMap & {
9
+ ref?: Ref<Component>;
10
+ as?: Component;
11
+ children?: JSX.Element;
12
+ };
13
+ /**
14
+ * Prop definition for components that CANNOT have children
15
+ */
16
+ export type LeafProps<Component> = Omit<ContainerProps<Component>, "children">;
17
+ export declare const SOLID_PROP_KEYS: readonly ["ref", "as", "children"];
18
+ /**
19
+ * Apply's the props to a Pixi instance with subsriptions to maintain reactivity.
20
+ *
21
+ * @param instance The Pixi instance we want to apply props to.
22
+ * @param props The props object.
23
+ */
24
+ export declare const applyProps: <InstanceType extends PixiContainer, OptionsType extends ContainerProps<InstanceType>>(instance: InstanceType, props: OptionsType) => void;
25
+ /**
26
+ * A SolidJS component that renders a PIXI.AnimatedSprite.
27
+ *
28
+ * **Example**
29
+ * {@includeCode ./examples/AnimatedSprite.example.tsx}
30
+ *
31
+ * {@link PixiAnimatedSprite}
32
+ *
33
+ */
34
+ export declare const AnimatedSprite: (props: Omit<Pixi.AnimatedSpriteOptions, "children"> & LeafProps<Pixi.AnimatedSprite>) => JSX.Element;
35
+ /**
36
+ * A SolidJS component that renders a PIXI.BitmapText.
37
+ *
38
+ * **Example**
39
+ * {@includeCode ./examples/BitmapText.example.tsx}
40
+ *
41
+ * {@link PixiBitmapText}
42
+ *
43
+ */
44
+ export declare const BitmapText: (props: Omit<Pixi.TextOptions<Pixi.TextStyle, Pixi.TextStyleOptions>, "children"> & LeafProps<Pixi.BitmapText>) => JSX.Element;
45
+ /**
46
+ * A SolidJS component that renders a PIXI.Container.
47
+ *
48
+ * **Example**
49
+ * {@includeCode ./examples/Container.example.tsx}
50
+ *
51
+ */
52
+ export declare const Container: (props: Omit<Pixi.ContainerOptions<Pixi.ContainerChild>, "children"> & PixiEventHandlerMap & {
53
+ ref?: Ref<Pixi.Container<Pixi.ContainerChild>> | undefined;
54
+ as?: Pixi.Container<Pixi.ContainerChild> | undefined;
55
+ children?: JSX.Element;
56
+ }) => JSX.Element;
57
+ /**
58
+ * A SolidJS component that renders a PIXI.Graphics.
59
+ * Use a ref to access the underlying graphics instance and draw with it.
60
+ *
61
+ * **Example**
62
+ * {@includeCode ./examples/Graphics.example.tsx}
63
+ *
64
+ * {@link PixiGraphics}
65
+ */
66
+ export declare const Graphics: (props: Omit<Pixi.GraphicsOptions, "children"> & LeafProps<Pixi.Graphics>) => JSX.Element;
67
+ /**
68
+ * A SolidJS component that renders a PIXI.HTMLText.
69
+ *
70
+ * **Example**
71
+ * {@includeCode ./examples/HTMLText.example.tsx}
72
+ *
73
+ * {@link PixiHTMLText}
74
+ */
75
+ export declare const HTMLText: (props: Omit<Pixi.HTMLTextOptions, "children"> & LeafProps<Pixi.HTMLText>) => JSX.Element;
76
+ /**
77
+ * A SolidJS component that renders a PIXI.MeshPlane.
78
+ *
79
+ * **Example**
80
+ * {@includeCode ./examples/MeshPlane.example.tsx}
81
+ *
82
+ * {@link PixiMeshPlane}
83
+ */
84
+ export declare const MeshPlane: (props: Omit<Pixi.MeshPlaneOptions, "children"> & LeafProps<Pixi.MeshPlane>) => JSX.Element;
85
+ /**
86
+ * A SolidJS component that renders a PIXI.MeshRope.
87
+ *
88
+ * **Example**
89
+ * {@includeCode ./examples/MeshRope.example.tsx}
90
+ *
91
+ * {@link PixiMeshRope}
92
+ */
93
+ export declare const MeshRope: (props: Omit<Pixi.MeshRopeOptions, "children"> & LeafProps<Pixi.MeshRope>) => JSX.Element;
94
+ /**
95
+ * A SolidJS component that renders a PIXI.MeshSimple.
96
+ *
97
+ * **Example**
98
+ * {@includeCode ./examples/MeshSimple.example.tsx}
99
+ *
100
+ * {@link PixiMeshSimple}
101
+ */
102
+ export declare const MeshSimple: (props: Omit<Pixi.SimpleMeshOptions, "children"> & LeafProps<Pixi.MeshSimple>) => JSX.Element;
103
+ /**
104
+ * A SolidJS component that renders a PIXI.NineSliceSprite.
105
+ *
106
+ * **Example**
107
+ * {@includeCode ./examples/NineSliceSprite.example.tsx}
108
+ *
109
+ * {@link PixiNineSliceSprite}
110
+ */
111
+ export declare const NineSliceSprite: (props: Omit<Pixi.NineSliceSpriteOptions, "children"> & LeafProps<Pixi.NineSliceSprite>) => JSX.Element;
112
+ /**
113
+ * A SolidJS component that renders a PIXI.ParticleContainer.
114
+ *
115
+ * **Example**
116
+ * {@includeCode ./examples/ParticleContainer.example.tsx}
117
+ *
118
+ * {@link PixiParticleContainer}
119
+ */
120
+ export declare const ParticleContainer: (props: Omit<Pixi.ParticleContainerOptions, "children"> & LeafProps<Pixi.ParticleContainer>) => JSX.Element;
121
+ /**
122
+ * A SolidJS component that renders a PIXI.PerspectiveMesh.
123
+ *
124
+ * **Example**
125
+ * {@includeCode ./examples/PerspectiveMesh.example.tsx}
126
+ *
127
+ * {@link PixiPerspectiveMesh}
128
+ */
129
+ export declare const PerspectiveMesh: (props: Omit<Pixi.PerspectivePlaneOptions, "children"> & LeafProps<Pixi.PerspectiveMesh>) => JSX.Element;
130
+ /**
131
+ * A SolidJS component that renders a PIXI.RenderContainer.
132
+ *
133
+ * **Example**
134
+ * {@includeCode ./examples/RenderContainer.example.tsx}
135
+ *
136
+ * {@link PixiRenderContainer}
137
+ */
138
+ export declare const RenderContainer: (props: Omit<Pixi.RenderContainerOptions, "children"> & PixiEventHandlerMap & {
139
+ ref?: Ref<Pixi.RenderContainer> | undefined;
140
+ as?: Pixi.RenderContainer | undefined;
141
+ children?: JSX.Element;
142
+ }) => JSX.Element;
143
+ /**
144
+ * A SolidJS component that renders a PIXI.RenderLayer.
145
+ *
146
+ * **Example**
147
+ * {@includeCode ./examples/RenderLayer.example.tsx}
148
+ *
149
+ * {@link PixiRenderLayer}
150
+ */
151
+ export declare const RenderLayer: (props: Omit<Pixi.RenderLayerOptions, "children"> & PixiEventHandlerMap & {
152
+ ref?: Ref<Pixi.RenderLayer> | undefined;
153
+ as?: Pixi.RenderLayer | undefined;
154
+ children?: JSX.Element;
155
+ }) => JSX.Element;
156
+ /**
157
+ * A SolidJS component that renders a PIXI.Sprite.
158
+ *
159
+ * **Example**
160
+ * {@includeCode ./examples/Sprite.example.tsx}
161
+ *
162
+ * {@link PixiSprite}
163
+ */
164
+ export declare const Sprite: (props: Omit<Pixi.SpriteOptions, "children"> & LeafProps<Pixi.Sprite>) => JSX.Element;
165
+ /**
166
+ * A SolidJS component that renders a PIXI.Text.
167
+ *
168
+ * **Example**
169
+ * {@includeCode ./examples/Text.example.tsx}
170
+ *
171
+ * {@link PixiText}
172
+ */
173
+ export declare const Text: (props: Omit<Pixi.CanvasTextOptions, "children"> & LeafProps<Pixi.Text>) => JSX.Element;
174
+ /**
175
+ * A SolidJS component that renders a PIXI.TilingSprite.
176
+ *
177
+ * **Example**
178
+ * {@includeCode ./examples/TilingSprite.example.tsx}
179
+ *
180
+ * {@link PixiTilingSprite}
181
+ */
182
+ export declare const TilingSprite: (props: Omit<Pixi.TilingSpriteOptions, "children"> & LeafProps<Pixi.TilingSprite>) => JSX.Element;
@@ -0,0 +1,7 @@
1
+ import type { AllFederatedEventMap } from "pixi.js";
2
+ export declare const PIXI_EVENT_NAMES: (keyof AllFederatedEventMap)[];
3
+ export declare const PIXI_EVENT_HANDLER_NAMES: ("onclick" | "onmousedown" | "onmouseenter" | "onmouseleave" | "onmousemove" | "onmouseout" | "onmouseover" | "onmouseup" | "onmouseupoutside" | "onpointercancel" | "onpointerdown" | "onpointerenter" | "onpointerleave" | "onpointermove" | "onpointerout" | "onpointerover" | "onpointertap" | "onpointerup" | "onpointerupoutside" | "onrightclick" | "onrightdown" | "onrightup" | "onrightupoutside" | "ontap" | "ontouchcancel" | "ontouchend" | "ontouchendoutside" | "ontouchmove" | "ontouchstart" | "onwheel" | "onglobalmousemove" | "onglobalpointermove" | "onglobaltouchmove")[];
4
+ export type PixiEventHandlerMap = {
5
+ [K in (typeof PIXI_EVENT_NAMES)[number] as `on${K}`]?: (event: AllFederatedEventMap[K]) => void;
6
+ };
7
+ export declare const PIXI_EVENT_HANDLER_NAME_SET: Readonly<Set<(typeof PIXI_EVENT_HANDLER_NAMES)[number]>>;
@@ -0,0 +1,25 @@
1
+ import type { Container, ContainerOptions } from "pixi.js";
2
+ import type { JSX, Ref } from "solid-js";
3
+ import type { PixiEventHandlerMap } from "./pixi-events";
4
+ export type PixiStageProps = PixiEventHandlerMap & Omit<ContainerOptions, "children"> & {
5
+ ref?: Ref<Container>;
6
+ children?: JSX.Element;
7
+ };
8
+ /**
9
+ * PixiStage
10
+ *
11
+ * The root container for rendering Pixi display objects. This component
12
+ * uses the application stage (`pixiApp.stage`) as the mount point and
13
+ * applies props and event handlers to it.
14
+ *
15
+ * Props:
16
+ * - `ref` (optional): receives the stage container reference.
17
+ * - Event handler props (e.g. `onpointerdown`) are forwarded to the stage.
18
+ * - Any other container options supported by Pixi may be passed.
19
+ *
20
+ * Children passed to `PixiStage` are inserted into the application stage.
21
+ *
22
+ * **Example**
23
+ * {@includeCode ./examples/PixiStage.example.tsx}
24
+ */
25
+ export declare const PixiStage: (props: PixiStageProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { Container as PixiContainer } from "pixi.js";
2
+ export declare const effect: <T>(fn: (prev?: T) => T, init?: T) => void, memo: <T>(fn: () => T, equal: boolean) => () => T, createComponent: <T>(Comp: (props: T) => PixiContainer<import("pixi.js").ContainerChild>, props: T) => PixiContainer<import("pixi.js").ContainerChild>, createElement: (tag: string) => PixiContainer<import("pixi.js").ContainerChild>, createTextNode: (value: string) => PixiContainer<import("pixi.js").ContainerChild>, insertNode: (parent: PixiContainer<import("pixi.js").ContainerChild>, node: PixiContainer<import("pixi.js").ContainerChild>, anchor?: PixiContainer<import("pixi.js").ContainerChild> | undefined) => void, insert: <T>(parent: any, accessor: T | (() => T), marker?: any | null, initial?: any) => PixiContainer<import("pixi.js").ContainerChild>, setProp: <T>(node: PixiContainer<import("pixi.js").ContainerChild>, name: string, value: T, prev?: T | undefined) => T, mergeProps: (...sources: unknown[]) => unknown, use: <A, T>(fn: (element: PixiContainer<import("pixi.js").ContainerChild>, arg: A) => T, element: PixiContainer<import("pixi.js").ContainerChild>, arg: A) => T, render: (code: () => PixiContainer<import("pixi.js").ContainerChild>, node: PixiContainer<import("pixi.js").ContainerChild>) => () => void, spread: <T>(node: any, accessor: (() => T) | T, skipChildren?: boolean) => void;
@@ -0,0 +1,31 @@
1
+ import type { Ticker, TickerCallback } from "pixi.js";
2
+ /**
3
+ * useTicker
4
+ *
5
+ * A custom SolidJS hook that provides access to the PIXI.Application's shared Ticker instance.
6
+ * This hook must be called from a component that is a descendant of `PixiApplication`.
7
+ *
8
+ * @returns The PIXI.Ticker instance from the application context.
9
+ * @throws Will throw an error if used outside of a `PixiApplication` context provider.
10
+ *
11
+ * **Example**
12
+ * {@includeCode ./examples/useTicker.example.tsx}
13
+ */
14
+ export declare const useTicker: () => Ticker;
15
+ /**
16
+ * useTick
17
+ *
18
+ * A custom SolidJS hook that registers a callback function to be executed on every frame
19
+ * of the PIXI.Application's ticker. The callback is automatically removed when the
20
+ * component or hook's owning computation is cleaned up.
21
+ *
22
+ * This hook must be called from a component that is a descendant of `PixiApplication`.
23
+ *
24
+ * @param tickerCallback - The function to call on each ticker update. It receives
25
+ * the `PIXI.Ticker` instance as its argument.
26
+ *
27
+ * **Example**
28
+ * @example {@link ./examples/useTick.example.tsx}
29
+ * {@includeCode ./examples/useTick.example.tsx}
30
+ */
31
+ export declare const useTick: (tickerCallback: TickerCallback<Ticker>) => void;
@@ -0,0 +1,39 @@
1
+ import { onCleanup } from "solid-js";
2
+ import { usePixiApp } from "./pixi-application";
3
+ /**
4
+ * useTicker
5
+ *
6
+ * A custom SolidJS hook that provides access to the PIXI.Application's shared Ticker instance.
7
+ * This hook must be called from a component that is a descendant of `PixiApplication`.
8
+ *
9
+ * @returns The PIXI.Ticker instance from the application context.
10
+ * @throws Will throw an error if used outside of a `PixiApplication` context provider.
11
+ *
12
+ * **Example**
13
+ * {@includeCode ./examples/useTicker.example.tsx}
14
+ */
15
+ export const useTicker = () => usePixiApp().ticker;
16
+ /**
17
+ * useTick
18
+ *
19
+ * A custom SolidJS hook that registers a callback function to be executed on every frame
20
+ * of the PIXI.Application's ticker. The callback is automatically removed when the
21
+ * component or hook's owning computation is cleaned up.
22
+ *
23
+ * This hook must be called from a component that is a descendant of `PixiApplication`.
24
+ *
25
+ * @param tickerCallback - The function to call on each ticker update. It receives
26
+ * the `PIXI.Ticker` instance as its argument.
27
+ *
28
+ * **Example**
29
+ * @example {@link ./examples/useTick.example.tsx}
30
+ * {@includeCode ./examples/useTick.example.tsx}
31
+ */
32
+ export const useTick = (tickerCallback) => {
33
+ const { ticker } = usePixiApp();
34
+ ticker.add(tickerCallback);
35
+ onCleanup(() => {
36
+ ticker.remove(tickerCallback);
37
+ });
38
+ };
39
+ //# sourceMappingURL=use-ticker.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-ticker.jsx","sourceRoot":"","sources":["../src/use-ticker.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,GAAW,EAAE,CAAC,UAAU,EAAE,CAAC,MAAM,CAAC;AAE3D;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,cAAsC,EAAQ,EAAE;IACtE,MAAM,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;IAEhC,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAC3B,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "pixi-solid",
3
+ "version": "0.0.1",
4
+ "description": "A library to write PixiJS applications with SolidJS",
5
+ "author": "Luke Thompson",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/LukeCarlThompson/pixi-solid"
10
+ },
11
+ "type": "module",
12
+ "sideEffects": false,
13
+ "exports": {
14
+ ".": {
15
+ "import": "./dist/index.js",
16
+ "types": "./dist/types/index.d.ts"
17
+ }
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "README.md",
22
+ "LICENSE"
23
+ ],
24
+ "scripts": {
25
+ "dev": "vite",
26
+ "prebuild": "rm -rf dist",
27
+ "build": "tsc --project tsconfig.build.json && npm run build:docs",
28
+ "build:docs": "typedoc --options typedoc.config.js",
29
+ "prepublishOnly": "npm run build",
30
+ "preview": "vite preview"
31
+ },
32
+ "peerDependencies": {
33
+ "pixi.js": "^8.14.3",
34
+ "solid-js": "^1.9.10"
35
+ },
36
+ "devDependencies": {
37
+ "@biomejs/biome": "2.3.8",
38
+ "@types/node": "^24.10.1",
39
+ "jsdom": "27.2.0",
40
+ "sass-embedded": "1.93.3",
41
+ "typedoc": "0.28.15",
42
+ "typescript": "~5.9.3",
43
+ "vite": "npm:rolldown-vite@7.2.5",
44
+ "vite-plugin-solid": "^2.11.10",
45
+ "vitest": "4.0.14"
46
+ },
47
+ "overrides": {
48
+ "vite": "npm:rolldown-vite@7.2.5"
49
+ }
50
+ }