Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 2.78 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@viggle/scene-sdk",
"version": "0.4.0",
"description": "Viggle Scene API SDK: generate a Gaussian-splat 3D scene from a prompt or a panorama, view it, expand it where the camera stands, and walk a character through it. Framework-free client, React bindings, WebGL viewer and explorer.",
"keywords": [
"3d",
"character",
"gaussian-splatting",
"playcanvas",
"react",
"scene",
"splat",
"third-person",
"viggle"
],
"license": "UNLICENSED",
"private": true,
"type": "module",
"sideEffects": false,
"files": [
"dist",
"README.md",
"README.en.md"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/types/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./react": {
"types": "./dist/types/react/index.d.ts",
"import": "./dist/react.js"
},
"./viewer": {
"types": "./dist/types/viewer/index.d.ts",
"import": "./dist/viewer.js"
},
"./walk": {
"types": "./dist/types/walk/index.d.ts",
"import": "./dist/walk.js"
},
"./explorer": {
"types": "./dist/types/explorer/index.d.ts",
"import": "./dist/explorer.js"
},
"./lighting": {
"types": "./dist/types/lighting/index.d.ts",
"import": "./dist/lighting.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"react": [
"./dist/types/react/index.d.ts"
],
"viewer": [
"./dist/types/viewer/index.d.ts"
],
"walk": [
"./dist/types/walk/index.d.ts"
],
"explorer": [
"./dist/types/explorer/index.d.ts"
],
"lighting": [
"./dist/types/lighting/index.d.ts"
]
}
},
"engines": {
"node": ">=18"
},
"scripts": {
"build": "vite build && vite build --mode cjs && tsc -p tsconfig.build.json && node build/cjs-types.mjs && node build/prune-types.mjs",
"build:release": "VIGGLE_RELEASE=1 pnpm run build",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "tsx --test \"src/**/*.test.ts\" \"packages/engine/src/**/*.test.ts\"",
"example": "vite --config example/vite.config.ts"
},
"peerDependencies": {
"react": ">=18"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^24.12.0",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@viggle/splat-engine": "workspace:*",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"tsx": "4.23.15",
"typescript": "~5.9.3",
"vite": "^8.3.4"
},
"packageManager": "pnpm@11.0.9"
}