Files
storyteller-bevy/package.json
T
Danny McGee cba70a62ae Single-object viewer POC (#14)
This commit implements a Sketchfab-style single-object viewer as a minimal
proof-of-concept.

### `@storyteller/studio-web`
This is a new package to house web components for interfacing with the
`@storyteller/studio` WASM library. It currently includes a single component,
`<sts-viewer />`, which is exported from `@storyteller/studio-web/viewer`.

### `react-frontend`
This is a new application intended as a proof-of-concept and testbed for React
interop with `@storyteller/studio-web`.

Web components are currently a little bit fiddly to use in a React application.
`react-frontend/src/app/studio-viewer.tsx` demonstrates how a React-idiomatic
component can be written as a thin wrapper around a web component, and
`react-frontend/src/app/app.tsx` demonstrates that wrapper component in use.
2023-12-07 15:46:32 -05:00

49 lines
1.2 KiB
JSON

{
"name": "@storyteller/source",
"version": "0.0.0",
"license": "MIT",
"scripts": {},
"private": true,
"devDependencies": {
"@nx/js": "16.9.1",
"@nx/react": "16.9.1",
"@nx/vite": "16.9.1",
"@nx/web": "16.9.1",
"@nx/workspace": "16.9.1",
"@nxrs/cargo": "^0.4.0",
"@swc/core": "~1.3.85",
"@testing-library/react": "14.0.0",
"@types/lodash": "^4.14.199",
"@types/node": "18.14.2",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.6",
"@types/which": "^3.0.2",
"@vitejs/plugin-react": "~4.0.0",
"@vitest/coverage-c8": "~0.32.0",
"@vitest/ui": "~0.32.0",
"chalk": "^5.3.0",
"glob": "^10.3.10",
"jsdom": "~22.1.0",
"nx": "16.9.1",
"prettier": "^2.6.2",
"rimraf": "^5.0.5",
"sass": "^1.68.0",
"swc-loader": "0.1.15",
"typescript": "~5.1.3",
"vite": "~4.3.9",
"vite-plugin-dts": "~2.3.0",
"vite-plugin-top-level-await": "^1.3.1",
"vite-plugin-wasm": "^3.2.2",
"vitest": "~0.32.0",
"which": "^4.0.0"
},
"dependencies": {
"@fortawesome/fontawesome-pro": "^6.4.2",
"lit": "^2.8.0",
"lodash": "^4.17.21",
"react": "18.2.0",
"react-dom": "18.2.0",
"tslib": "^2.3.0"
}
}