You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clarify pacakge.json vs deno.json for deno desktop + frameworks #3379
The skeletons of the frameworks at https://docs.deno.com/runtime/desktop/frameworks/ are generated with a package.json (e.g. by deno init --npm vite). The schema of that package.json doesn't have the desktop key that deno desktop expects. It would help to have some guidance on the best practice for this situation:
Activity
bartlomieju commentedon Jun 30, 2026
Use
package.jsonfor dependencies, usedeno.jsonfor configuringdeno desktopfeature (and Deno in general). I'll update the page later.tredondo commentedon Jun 30, 2026
Thanks, that's what https://docs.deno.com/runtime/fundamentals/configuration/ advises too. I did just try this in a Vite React project, and it seems
deno desktopignoresdeno.json.