Schema

gamecn.json

Project configuration. Lives at your project root. Drives engine detection, path resolution, and registry routing.

Fields

$schemastringoptional
engine"phaser" | "three" | "pixi" | "vanilla"required
values:phaserthreepixivanilla
framework"vanilla" | "react"required
values:vanillareact
language"typescript" | "javascript"required
values:typescriptjavascript
packageManager"npm" | "pnpm" | "yarn" | "bun"optional
values:npmpnpmyarnbun
pathsobjectrequired
srcstringrequired
assetsstringrequired
componentsstringoptional
systemsstringoptional
scenesstringoptional
shadersstringoptional
uistringoptional
registriesobjectoptional