@godscene/visualizer 1.7.11
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 +9 -0
- package/dist/es/component/blackboard/highlights.mjs +47 -0
- package/dist/es/component/blackboard/index.css +118 -0
- package/dist/es/component/blackboard/index.mjs +122 -0
- package/dist/es/component/config-selector/index.mjs +251 -0
- package/dist/es/component/context-preview/index.mjs +37 -0
- package/dist/es/component/env-config/index.mjs +237 -0
- package/dist/es/component/env-config-reminder/index.css +30 -0
- package/dist/es/component/env-config-reminder/index.mjs +27 -0
- package/dist/es/component/form-field/index.mjs +158 -0
- package/dist/es/component/history-selector/index.css +237 -0
- package/dist/es/component/history-selector/index.mjs +197 -0
- package/dist/es/component/index.mjs +1 -0
- package/dist/es/component/logo/index.css +19 -0
- package/dist/es/component/logo/index.mjs +20 -0
- package/dist/es/component/logo/logo.mjs +2 -0
- package/dist/es/component/misc/index.mjs +96 -0
- package/dist/es/component/nav-actions/index.mjs +14 -0
- package/dist/es/component/nav-actions/style.css +35 -0
- package/dist/es/component/player/index.css +296 -0
- package/dist/es/component/player/index.mjs +702 -0
- package/dist/es/component/player/playback-controls.mjs +4 -0
- package/dist/es/component/player/report-download.mjs +61 -0
- package/dist/es/component/player/scenes/StepScene.mjs +194 -0
- package/dist/es/component/player/scenes/derive-frame-state.mjs +229 -0
- package/dist/es/component/player/scenes/export-branded-video.mjs +360 -0
- package/dist/es/component/player/scenes/frame-calculator.mjs +149 -0
- package/dist/es/component/player/scenes/playback-frame.mjs +6 -0
- package/dist/es/component/player/scenes/playback-layout.mjs +12 -0
- package/dist/es/component/player/scenes/pointer-layout.mjs +36 -0
- package/dist/es/component/player/use-frame-player.mjs +87 -0
- package/dist/es/component/playground/index.css +930 -0
- package/dist/es/component/playground/playground-demo-ui-context.json +290 -0
- package/dist/es/component/playground-result/index.css +92 -0
- package/dist/es/component/playground-result/index.mjs +232 -0
- package/dist/es/component/prompt-input/index.css +832 -0
- package/dist/es/component/prompt-input/index.mjs +959 -0
- package/dist/es/component/screenshot-viewer/index.css +237 -0
- package/dist/es/component/screenshot-viewer/index.mjs +319 -0
- package/dist/es/component/service-mode-control/index.mjs +107 -0
- package/dist/es/component/shiny-text/index.css +107 -0
- package/dist/es/component/shiny-text/index.mjs +15 -0
- package/dist/es/component/universal-playground/empty-state.mjs +5 -0
- package/dist/es/component/universal-playground/index.css +619 -0
- package/dist/es/component/universal-playground/index.mjs +558 -0
- package/dist/es/component/universal-playground/providers/context-provider.mjs +90 -0
- package/dist/es/component/universal-playground/providers/indexeddb-storage-provider.mjs +280 -0
- package/dist/es/component/universal-playground/providers/storage-provider.mjs +279 -0
- package/dist/es/component/universal-playground/universal-playground-electron.mjs +668 -0
- package/dist/es/hooks/useMinimalTypeGate.mjs +47 -0
- package/dist/es/hooks/usePlaygroundExecution.mjs +435 -0
- package/dist/es/hooks/usePlaygroundState.mjs +278 -0
- package/dist/es/hooks/useSafeOverrideAIConfig.mjs +20 -0
- package/dist/es/hooks/useServerValid.mjs +55 -0
- package/dist/es/hooks/useTheme.mjs +25 -0
- package/dist/es/icons/action-chevron.mjs +61 -0
- package/dist/es/icons/avatar.mjs +70 -0
- package/dist/es/icons/close.mjs +61 -0
- package/dist/es/icons/global-perspective.mjs +58 -0
- package/dist/es/icons/history.mjs +72 -0
- package/dist/es/icons/magnifying-glass.mjs +81 -0
- package/dist/es/icons/player-setting.mjs +68 -0
- package/dist/es/icons/prompt-history.mjs +70 -0
- package/dist/es/icons/setting.mjs +62 -0
- package/dist/es/icons/show-marker.mjs +58 -0
- package/dist/es/index.mjs +26 -0
- package/dist/es/static/image/logo.png +0 -0
- package/dist/es/store/history.mjs +128 -0
- package/dist/es/store/store.mjs +277 -0
- package/dist/es/types.mjs +73 -0
- package/dist/es/utils/action-label.mjs +15 -0
- package/dist/es/utils/color.mjs +35 -0
- package/dist/es/utils/constants.mjs +99 -0
- package/dist/es/utils/device-capabilities.mjs +13 -0
- package/dist/es/utils/empty-state-scroll.mjs +8 -0
- package/dist/es/utils/highlight-element.mjs +62 -0
- package/dist/es/utils/index.mjs +13 -0
- package/dist/es/utils/playground-utils.mjs +43 -0
- package/dist/es/utils/progress-action-icon.mjs +30 -0
- package/dist/es/utils/prompt-input-utils.mjs +49 -0
- package/dist/es/utils/prompt-placeholder.mjs +19 -0
- package/dist/es/utils/replay-scripts.mjs +428 -0
- package/dist/lib/component/blackboard/highlights.js +84 -0
- package/dist/lib/component/blackboard/index.css +118 -0
- package/dist/lib/component/blackboard/index.js +169 -0
- package/dist/lib/component/config-selector/index.js +295 -0
- package/dist/lib/component/context-preview/index.js +82 -0
- package/dist/lib/component/env-config/index.js +271 -0
- package/dist/lib/component/env-config-reminder/index.css +30 -0
- package/dist/lib/component/env-config-reminder/index.js +61 -0
- package/dist/lib/component/form-field/index.js +204 -0
- package/dist/lib/component/history-selector/index.css +237 -0
- package/dist/lib/component/history-selector/index.js +243 -0
- package/dist/lib/component/index.js +58 -0
- package/dist/lib/component/logo/index.css +19 -0
- package/dist/lib/component/logo/index.js +67 -0
- package/dist/lib/component/logo/logo.js +24 -0
- package/dist/lib/component/misc/index.js +152 -0
- package/dist/lib/component/nav-actions/index.js +48 -0
- package/dist/lib/component/nav-actions/style.css +35 -0
- package/dist/lib/component/player/index.css +296 -0
- package/dist/lib/component/player/index.js +747 -0
- package/dist/lib/component/player/playback-controls.js +38 -0
- package/dist/lib/component/player/report-download.js +98 -0
- package/dist/lib/component/player/scenes/StepScene.js +228 -0
- package/dist/lib/component/player/scenes/derive-frame-state.js +266 -0
- package/dist/lib/component/player/scenes/export-branded-video.js +403 -0
- package/dist/lib/component/player/scenes/frame-calculator.js +186 -0
- package/dist/lib/component/player/scenes/playback-frame.js +40 -0
- package/dist/lib/component/player/scenes/playback-layout.js +46 -0
- package/dist/lib/component/player/scenes/pointer-layout.js +88 -0
- package/dist/lib/component/player/use-frame-player.js +121 -0
- package/dist/lib/component/playground/index.css +930 -0
- package/dist/lib/component/playground/playground-demo-ui-context.json +290 -0
- package/dist/lib/component/playground-result/index.css +92 -0
- package/dist/lib/component/playground-result/index.js +276 -0
- package/dist/lib/component/prompt-input/index.css +832 -0
- package/dist/lib/component/prompt-input/index.js +1005 -0
- package/dist/lib/component/screenshot-viewer/index.css +237 -0
- package/dist/lib/component/screenshot-viewer/index.js +353 -0
- package/dist/lib/component/service-mode-control/index.js +141 -0
- package/dist/lib/component/shiny-text/index.css +107 -0
- package/dist/lib/component/shiny-text/index.js +49 -0
- package/dist/lib/component/universal-playground/empty-state.js +39 -0
- package/dist/lib/component/universal-playground/index.css +619 -0
- package/dist/lib/component/universal-playground/index.js +607 -0
- package/dist/lib/component/universal-playground/providers/context-provider.js +133 -0
- package/dist/lib/component/universal-playground/providers/indexeddb-storage-provider.js +320 -0
- package/dist/lib/component/universal-playground/providers/storage-provider.js +337 -0
- package/dist/lib/component/universal-playground/universal-playground-electron.js +717 -0
- package/dist/lib/hooks/useMinimalTypeGate.js +81 -0
- package/dist/lib/hooks/usePlaygroundExecution.js +478 -0
- package/dist/lib/hooks/usePlaygroundState.js +312 -0
- package/dist/lib/hooks/useSafeOverrideAIConfig.js +57 -0
- package/dist/lib/hooks/useServerValid.js +89 -0
- package/dist/lib/hooks/useTheme.js +59 -0
- package/dist/lib/icons/action-chevron.js +95 -0
- package/dist/lib/icons/avatar.js +104 -0
- package/dist/lib/icons/close.js +95 -0
- package/dist/lib/icons/global-perspective.js +92 -0
- package/dist/lib/icons/history.js +106 -0
- package/dist/lib/icons/magnifying-glass.js +115 -0
- package/dist/lib/icons/player-setting.js +102 -0
- package/dist/lib/icons/prompt-history.js +104 -0
- package/dist/lib/icons/setting.js +96 -0
- package/dist/lib/icons/show-marker.js +92 -0
- package/dist/lib/index.js +204 -0
- package/dist/lib/static/image/logo.png +0 -0
- package/dist/lib/store/history.js +135 -0
- package/dist/lib/store/store.js +287 -0
- package/dist/lib/types.js +119 -0
- package/dist/lib/utils/action-label.js +52 -0
- package/dist/lib/utils/color.js +75 -0
- package/dist/lib/utils/constants.js +172 -0
- package/dist/lib/utils/device-capabilities.js +50 -0
- package/dist/lib/utils/empty-state-scroll.js +42 -0
- package/dist/lib/utils/highlight-element.js +99 -0
- package/dist/lib/utils/index.js +69 -0
- package/dist/lib/utils/playground-utils.js +86 -0
- package/dist/lib/utils/progress-action-icon.js +67 -0
- package/dist/lib/utils/prompt-input-utils.js +89 -0
- package/dist/lib/utils/prompt-placeholder.js +53 -0
- package/dist/lib/utils/replay-scripts.js +474 -0
- package/dist/types/component/blackboard/highlights.d.ts +11 -0
- package/dist/types/component/blackboard/index.d.ts +10 -0
- package/dist/types/component/config-selector/index.d.ts +15 -0
- package/dist/types/component/context-preview/index.d.ts +9 -0
- package/dist/types/component/env-config/index.d.ts +8 -0
- package/dist/types/component/env-config-reminder/index.d.ts +6 -0
- package/dist/types/component/form-field/index.d.ts +17 -0
- package/dist/types/component/history-selector/index.d.ts +13 -0
- package/dist/types/component/index.d.ts +1 -0
- package/dist/types/component/logo/index.d.ts +5 -0
- package/dist/types/component/misc/index.d.ts +6 -0
- package/dist/types/component/nav-actions/index.d.ts +12 -0
- package/dist/types/component/player/index.d.ts +15 -0
- package/dist/types/component/player/playback-controls.d.ts +1 -0
- package/dist/types/component/player/report-download.d.ts +32 -0
- package/dist/types/component/player/scenes/StepScene.d.ts +9 -0
- package/dist/types/component/player/scenes/derive-frame-state.d.ts +40 -0
- package/dist/types/component/player/scenes/export-branded-video.d.ts +33 -0
- package/dist/types/component/player/scenes/frame-calculator.d.ts +40 -0
- package/dist/types/component/player/scenes/playback-frame.d.ts +3 -0
- package/dist/types/component/player/scenes/playback-layout.d.ts +7 -0
- package/dist/types/component/player/scenes/pointer-layout.d.ts +20 -0
- package/dist/types/component/player/use-frame-player.d.ts +17 -0
- package/dist/types/component/playground-result/index.d.ts +22 -0
- package/dist/types/component/prompt-input/index.d.ts +23 -0
- package/dist/types/component/screenshot-viewer/index.d.ts +23 -0
- package/dist/types/component/service-mode-control/index.d.ts +6 -0
- package/dist/types/component/shiny-text/index.d.ts +12 -0
- package/dist/types/component/universal-playground/empty-state.d.ts +3 -0
- package/dist/types/component/universal-playground/index.d.ts +4 -0
- package/dist/types/component/universal-playground/providers/context-provider.d.ts +37 -0
- package/dist/types/component/universal-playground/providers/indexeddb-storage-provider.d.ts +71 -0
- package/dist/types/component/universal-playground/providers/storage-provider.d.ts +58 -0
- package/dist/types/component/universal-playground/universal-playground-electron.d.ts +4 -0
- package/dist/types/hooks/useMinimalTypeGate.d.ts +72 -0
- package/dist/types/hooks/usePlaygroundExecution.d.ts +40 -0
- package/dist/types/hooks/usePlaygroundState.d.ts +26 -0
- package/dist/types/hooks/useSafeOverrideAIConfig.d.ts +16 -0
- package/dist/types/hooks/useServerValid.d.ts +1 -0
- package/dist/types/hooks/useTheme.d.ts +7 -0
- package/dist/types/index.d.ts +29 -0
- package/dist/types/store/history.d.ts +16 -0
- package/dist/types/store/store.d.ts +57 -0
- package/dist/types/types.d.ts +278 -0
- package/dist/types/utils/action-label.d.ts +11 -0
- package/dist/types/utils/color.d.ts +4 -0
- package/dist/types/utils/constants.d.ts +80 -0
- package/dist/types/utils/device-capabilities.d.ts +9 -0
- package/dist/types/utils/empty-state-scroll.d.ts +11 -0
- package/dist/types/utils/highlight-element.d.ts +3 -0
- package/dist/types/utils/index.d.ts +5 -0
- package/dist/types/utils/playground-utils.d.ts +11 -0
- package/dist/types/utils/progress-action-icon.d.ts +12 -0
- package/dist/types/utils/prompt-input-utils.d.ts +24 -0
- package/dist/types/utils/prompt-placeholder.d.ts +1 -0
- package/dist/types/utils/replay-scripts.d.ts +50 -0
- package/package.json +82 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { UIContext } from '@godscene/core';
|
|
2
|
+
import { StaticPageAgent } from '@godscene/web/static';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Import `actionNameForType` from `./action-label` directly.
|
|
5
|
+
* This re-export exists only to keep older import paths working and may be
|
|
6
|
+
* removed once all call sites are migrated.
|
|
7
|
+
*/
|
|
8
|
+
export { actionNameForType } from './action-label';
|
|
9
|
+
export { getPlaceholderForType } from './prompt-placeholder';
|
|
10
|
+
export declare const staticAgentFromContext: (context: UIContext) => StaticPageAgent;
|
|
11
|
+
export declare const isRunButtonEnabled: (runButtonEnabled: boolean, needsStructuredParams: boolean, params: any, actionSpace: any[] | undefined, selectedType: string, promptValue: string) => boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Default icon for a completed `InfoListItem.actionKind`. All action types
|
|
4
|
+
* resolve to the same green checkmark glyph; callers can opt out by passing
|
|
5
|
+
* an override via `ExecutionFlowConfig.resolveActionIcon`.
|
|
6
|
+
*/
|
|
7
|
+
export declare function defaultProgressActionIcon(_kind: string): ReactNode | null;
|
|
8
|
+
/**
|
|
9
|
+
* Resolve the icon for a progress action, applying the host's override
|
|
10
|
+
* (if any) before falling back to the default mapping.
|
|
11
|
+
*/
|
|
12
|
+
export declare function resolveProgressActionIcon(kind: string | undefined, override?: (kind: string) => ReactNode | null | undefined): ReactNode | null;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { DeviceAction } from '@godscene/core';
|
|
2
|
+
export interface InlineStructuredFieldConfig {
|
|
3
|
+
name: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Compute the list of action identifiers that should be offered in the prompt
|
|
8
|
+
* input's action dropdown.
|
|
9
|
+
*
|
|
10
|
+
* Inclusion rules:
|
|
11
|
+
* - If `actionSpace` is empty/undefined, fall back to the full metadata set
|
|
12
|
+
* so dry-mode / offline renderers still show something to pick from.
|
|
13
|
+
* - `aiAct` is always included. It is an Agent-level API and is executed via
|
|
14
|
+
* Playground's fallback path, so it does not need to appear in the device
|
|
15
|
+
* interface's low-level `actionSpace`.
|
|
16
|
+
* - `extraction` and `validation` APIs are kept even when not in the device's
|
|
17
|
+
* `actionSpace`: they are executed against the captured UI context rather
|
|
18
|
+
* than being dispatched to the device, so they apply universally.
|
|
19
|
+
* - All remaining `actionSpace` entries are included verbatim (device-specific
|
|
20
|
+
* actions surface automatically).
|
|
21
|
+
*/
|
|
22
|
+
export declare const getAvailablePromptActionTypes: (actionSpace: DeviceAction<any>[] | undefined) => string[];
|
|
23
|
+
export declare const getInlineStructuredFieldConfig: (actionSpace: DeviceAction<any>[] | undefined, selectedType: string) => InlineStructuredFieldConfig | null;
|
|
24
|
+
export declare const shouldOffsetEmptyStateForPromptInput: (actionSpace: DeviceAction<any>[] | undefined, selectedType: string) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getPlaceholderForType: (type: string) => string;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { ExecutionDump, ExecutionTask, IExecutionDump, IReportActionDump, LocateResultElement, ModelBrief, Rect, ReportActionDump, UIContext } from '@godscene/core';
|
|
2
|
+
export interface CameraState {
|
|
3
|
+
left: number;
|
|
4
|
+
top: number;
|
|
5
|
+
width: number;
|
|
6
|
+
pointerLeft: number;
|
|
7
|
+
pointerTop: number;
|
|
8
|
+
}
|
|
9
|
+
export type TargetCameraState = Omit<CameraState, 'pointerLeft' | 'pointerTop'> & Partial<Pick<CameraState, 'pointerLeft' | 'pointerTop'>>;
|
|
10
|
+
export interface AnimationScript {
|
|
11
|
+
type: 'img' | 'insight' | 'clear-insight' | 'pointer' | 'spinning-pointer' | 'sleep';
|
|
12
|
+
img?: string;
|
|
13
|
+
camera?: TargetCameraState;
|
|
14
|
+
context?: UIContext;
|
|
15
|
+
highlightElement?: LocateResultElement;
|
|
16
|
+
searchArea?: Rect;
|
|
17
|
+
duration: number;
|
|
18
|
+
insightCameraDuration?: number;
|
|
19
|
+
title?: string;
|
|
20
|
+
subTitle?: string;
|
|
21
|
+
imageWidth?: number;
|
|
22
|
+
imageHeight?: number;
|
|
23
|
+
taskId?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const cameraStateForRect: (rect: Rect, imageWidth: number, imageHeight: number) => TargetCameraState;
|
|
26
|
+
export declare const mergeTwoCameraState: (cameraState1: TargetCameraState, cameraState2: TargetCameraState) => TargetCameraState;
|
|
27
|
+
export interface ReplayScriptsInfo {
|
|
28
|
+
scripts: AnimationScript[];
|
|
29
|
+
width?: number;
|
|
30
|
+
height?: number;
|
|
31
|
+
sdkVersion?: string;
|
|
32
|
+
modelBriefs: ModelBrief[];
|
|
33
|
+
deviceType?: string;
|
|
34
|
+
}
|
|
35
|
+
type DumpInput = ReportActionDump | IReportActionDump | ExecutionDump | null | undefined;
|
|
36
|
+
export interface DumpMetaInfo {
|
|
37
|
+
width: number;
|
|
38
|
+
height: number;
|
|
39
|
+
sdkVersion?: string;
|
|
40
|
+
modelBriefs: ModelBrief[];
|
|
41
|
+
deviceType?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Extract lightweight metadata from dump without reading any .base64 fields.
|
|
45
|
+
* Used to set up the UI (dimensions, version, model info) before replay.
|
|
46
|
+
*/
|
|
47
|
+
export declare const extractDumpMetaInfo: (dump: DumpInput) => DumpMetaInfo | null;
|
|
48
|
+
export declare const allScriptsFromDump: (dump: DumpInput) => ReplayScriptsInfo | null;
|
|
49
|
+
export declare const generateAnimationScripts: (execution: ExecutionDump | IExecutionDump | null, task: ExecutionTask | number, imageWidth: number, imageHeight: number, executionIndex?: number) => AnimationScript[] | null;
|
|
50
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@godscene/visualizer",
|
|
3
|
+
"version": "1.7.11",
|
|
4
|
+
"repository": "https://github.com/web-infra-dev/midscene",
|
|
5
|
+
"homepage": "https://midscenejs.com/",
|
|
6
|
+
"types": "./dist/types/index.d.ts",
|
|
7
|
+
"main": "./dist/lib/index.js",
|
|
8
|
+
"module": "./dist/es/index.mjs",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
12
|
+
"import": "./dist/es/index.mjs",
|
|
13
|
+
"require": "./dist/lib/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"typesVersions": {
|
|
17
|
+
"*": {
|
|
18
|
+
".": [
|
|
19
|
+
"./dist/types/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"html",
|
|
26
|
+
"README.md"
|
|
27
|
+
],
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"react": "18.3.1",
|
|
30
|
+
"react-dom": ">=19.1.0"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@rsbuild/plugin-less": "^1.5.0",
|
|
34
|
+
"@rsbuild/plugin-node-polyfill": "1.4.2",
|
|
35
|
+
"@rsbuild/plugin-react": "^1.4.1",
|
|
36
|
+
"@rsbuild/plugin-svgr": "^1.2.2",
|
|
37
|
+
"@rslib/core": "^0.18.3",
|
|
38
|
+
"@types/chrome": "0.0.279",
|
|
39
|
+
"@types/node": "^18.0.0",
|
|
40
|
+
"@types/react": "^18.3.1",
|
|
41
|
+
"@types/react-dom": "^18.3.1",
|
|
42
|
+
"execa": "9.3.0",
|
|
43
|
+
"http-server": "14.1.1",
|
|
44
|
+
"query-string": "9.1.1",
|
|
45
|
+
"react": "18.3.1",
|
|
46
|
+
"react-dom": "18.3.1",
|
|
47
|
+
"react-resizable-panels": "2.0.22",
|
|
48
|
+
"rimraf": "~3.0.2",
|
|
49
|
+
"tsx": "^4.19.2",
|
|
50
|
+
"typescript": "^5.8.3",
|
|
51
|
+
"vitest": "3.0.5",
|
|
52
|
+
"zustand": "4.5.2"
|
|
53
|
+
},
|
|
54
|
+
"sideEffects": [
|
|
55
|
+
"**/*.css",
|
|
56
|
+
"**/*.less",
|
|
57
|
+
"**/*.sass",
|
|
58
|
+
"**/*.scss"
|
|
59
|
+
],
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"access": "public",
|
|
62
|
+
"registry": "https://registry.npmjs.org"
|
|
63
|
+
},
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"@ant-design/icons": "^5.3.1",
|
|
66
|
+
"antd": "^5.21.6",
|
|
67
|
+
"buffer": "6.0.3",
|
|
68
|
+
"dayjs": "^1.11.11",
|
|
69
|
+
"@godscene/core": "1.7.11",
|
|
70
|
+
"@godscene/shared": "1.7.11",
|
|
71
|
+
"@godscene/playground": "1.7.11",
|
|
72
|
+
"@godscene/web": "1.7.11"
|
|
73
|
+
},
|
|
74
|
+
"license": "MIT",
|
|
75
|
+
"scripts": {
|
|
76
|
+
"dev": "npm run build:watch",
|
|
77
|
+
"build": "rslib build",
|
|
78
|
+
"build:watch": "rslib build --watch --no-clean",
|
|
79
|
+
"test": "vitest --run",
|
|
80
|
+
"serve": "http-server ./dist/ -p 3000"
|
|
81
|
+
}
|
|
82
|
+
}
|