Files
ForgeBase/package.json
T
williamandClaude Sonnet 5 1959ddb41a Scaffold Electron+React+TS app and render avatar VRM with animations
Sets up a transparent, always-on-top, frameless Electron window hosting
a Three.js scene that loads assets/avatar.vrm via @pixiv/three-vrm and
plays the bundled .vrma clips through @pixiv/three-vrm-animation. Fixes
the default CSP (which blocked texture-loading blob: fetches) and
frames the camera on the model automatically.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-18 11:38:44 +02:00

52 lines
1.9 KiB
JSON

{
"name": "forge-avatar",
"version": "1.0.0",
"description": "Avatar de bureau IA specialise en sante et securite au travail",
"main": "./out/main/index.js",
"author": "Vandal William",
"scripts": {
"format": "prettier --write .",
"lint": "eslint --cache .",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
"typecheck": "npm run typecheck:node && npm run typecheck:web",
"start": "electron-vite preview",
"dev": "electron-vite dev",
"build": "npm run typecheck && electron-vite build",
"postinstall": "install-electron && electron-builder install-app-deps",
"build:unpack": "npm run build && electron-builder --dir",
"build:win": "npm run build && electron-builder --win",
"build:mac": "electron-vite build && electron-builder --mac",
"build:linux": "electron-vite build && electron-builder --linux"
},
"dependencies": {
"@electron-toolkit/preload": "^3.0.2",
"@electron-toolkit/utils": "^4.0.0",
"@pixiv/three-vrm": "^3.5.5",
"@pixiv/three-vrm-animation": "^3.5.5",
"three": "^0.186.1"
},
"devDependencies": {
"@electron-toolkit/eslint-config-prettier": "^3.0.1",
"@electron-toolkit/eslint-config-ts": "^4.0.0",
"@electron-toolkit/tsconfig": "^2.0.0",
"@types/node": "^24.19.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@types/three": "^0.186.0",
"@vitejs/plugin-react": "^6.1.2",
"electron": "^44.7.2",
"electron-builder": "^26.15.3",
"electron-vite": "^6.0.0",
"eslint": "^9.39.5",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"prettier": "^3.9.10",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"typescript": "^5.9.3",
"vite": "^8.3.4"
}
}