WebGPU 游戏项目初始化 - 添加基础配置文件和源代码

This commit is contained in:
SpecialX
2025-11-18 18:08:54 +08:00
commit 81a2b5c71e
7 changed files with 1226 additions and 0 deletions

16
package.json Normal file
View File

@@ -0,0 +1,16 @@
{
"name": "webgpu-game",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"devDependencies": {
"@webgpu/types": "^0.1.66",
"typescript": "~5.9.3",
"vite": "^7.2.2"
}
}