diff --git a/.gitignore b/.gitignore index 55da7e0..9207803 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ node_modules/** package-lock.json dist/** -.cache/** -.vscode/** \ No newline at end of file +.parcel-cache/** +.vscode/** +assets/** \ No newline at end of file diff --git a/index.html b/index.html index 32d1649..60b3306 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - + diff --git a/package.json b/package.json index a3be3c9..4838666 100644 --- a/package.json +++ b/package.json @@ -2,27 +2,32 @@ "name": "computer-graphics-study", "version": "1.0.0", "description": "study computer graphics", - "main": "index.js", "scripts": { "start": "parcel index.html", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", + "staticFiles": { + "staticPath": [ + { + "staticPath": "assets", + "staticOutDir": "assets" + } + ] + }, + "devDependencies": { + "@types/react": "^17.0.27", + "parcel": "^2.0.0-rc.0", + "webgl-strict-types": "^1.0.5" + }, "dependencies": { "@emotion/react": "^11.4.1", "@emotion/styled": "^11.3.0", - "@mui/material": "^5.0.1", - "@types/react": "^17.0.24", - "gl-matrix": "^3.3.0", - "parcel-bundler": "^1.12.5", + "@mui/material": "^5.0.3", + "gl-matrix": "^3.4.3", "react": "^17.0.2", - "react-dom": "^17.0.2" - }, - "devDependencies": { - "glslify-bundle": "^5.1.1", - "glslify-deps": "^1.3.2", - "typescript": "^4.4.2", - "webgl-strict-types": "^1.0.4" + "react-dom": "^17.0.2", + "webgl-obj-loader": "^2.0.8" } }