打包
Showing
README.md
0 → 100644
... | ... | @@ -5,8 +5,16 @@ |
"main": "index.js", | ||
"scripts": { | ||
"dev": "node ./scripts/devServer.js", | ||
"flushRes": "node scripts/flushRes", | ||
"handleRes": "node scripts/delRel && node scripts/copyRes", | ||
"upload": "node scripts/upload", | ||
"prod": "npm run handleRes && npm run upload && npm run buildTS", | ||
"buildWeb": "npm run handleRes && node scripts/upload 1", | ||
"buildTS": "webpack --config webpack.prod.js && node scripts/mergeJs", | ||
"babelbuild": "babel src --out-dir dist --extensions .ts,.tsx", | ||
"build": "webpack --config webpack.prod.js" | ||
"build": "webpack --config webpack.prod.js", | ||
"check-type": "tsc --watch" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
... | ... | @@ -21,11 +29,18 @@ |
"@babel/preset-env": "^7.19.1", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"babel-loader": "^8.2.5", | ||
"del": "2.2.1", | ||
"ts-loader": "^9.4.1", | ||
"typescript": "^4.8.3", | ||
"webpack": "^5.74.0", | ||
"webpack-cli": "^4.10.0", | ||
"webpack-dev-server": "^4.11.1", | ||
"webpack-merge": "^5.8.0" | ||
"webpack-merge": "^5.8.0", | ||
"ali-oss": "^4.11.4", | ||
"chalk": "^2.3.0", | ||
"co": "^4.6.0", | ||
"progress": "^2.0.0" | ||
} | ||
} |
project.json
0 → 100644
resource/skybox/nx1.jpg
0 → 100644
44.3 KB
resource/skybox/ny1.jpg
0 → 100644
80.3 KB
resource/skybox/nz1.jpg
0 → 100644
37.6 KB
resource/skybox/px1.jpg
0 → 100644
44.5 KB
resource/skybox/py1.jpg
0 → 100644
22.1 KB
resource/skybox/pz1.jpg
0 → 100644
44.5 KB
scripts/copyRes.js
0 → 100644
scripts/createHtml.js
0 → 100644
src/UI/Sprite.tsx
0 → 100644
src/modules/types.ts
0 → 100644
This diff is collapsed.