{"id":18382758,"url":"https://github.com/sanderdebr/threejs-webpack-starter","last_synced_at":"2025-10-29T10:03:13.803Z","repository":{"id":39196041,"uuid":"247246497","full_name":"sanderdebr/threejs-webpack-starter","owner":"sanderdebr","description":"A basic boilerplate for a Three.js project including the use of Webpack and ES6 syntax via Babel.","archived":false,"fork":false,"pushed_at":"2023-01-07T15:56:01.000Z","size":12851,"stargazers_count":1,"open_issues_count":27,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T23:42:43.214Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanderdebr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-14T09:21:20.000Z","updated_at":"2020-03-19T11:11:50.000Z","dependencies_parsed_at":"2023-02-07T14:30:22.992Z","dependency_job_id":null,"html_url":"https://github.com/sanderdebr/threejs-webpack-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderdebr%2Fthreejs-webpack-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderdebr%2Fthreejs-webpack-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderdebr%2Fthreejs-webpack-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderdebr%2Fthreejs-webpack-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanderdebr","download_url":"https://codeload.github.com/sanderdebr/threejs-webpack-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248481978,"owners_count":21111255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T01:07:58.232Z","updated_at":"2025-10-29T10:03:08.757Z","avatar_url":"https://github.com/sanderdebr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Three.js Webpack ES6 Boilerplate\n\nA basic boilerplate for a Three.js project including the use of Webpack and ES6 syntax via Babel.\n\n### work in progress\n\nProject Structure\n```\ndist - Directory for built and compressed files from the npm build script\n├── assets\n│   ├── models\n│   ├── textures\nsrc - Directory for all dev files\n├── css - Contains all SCSS files, that are compiled to `src/public/css`\n├── js - All the Three.js app files, with `app.js` as entry point. Compiled to `src/public/js` with webpack\n│   ├── app\n│   │   ├── components - Three.js components that get initialized in `main.js`\n│   │   ├── helpers - Classes that provide ideas on how to set up and work with defaults\n│   │   ├── managers - Manage complex tasks such as GUI or input\n│   │   └── model - Classes that set up the model object\n│   ├── data - Any data to be imported into app\n│   └── utils - Various helpers and vendor classes\n```\n\n# Getting started\n\nInstall dependencies:\n\n```\nnpm install\n```\n\nThen run dev script:\n\n```\nnpm run dev\n```\n\nSpins up a webpack dev server at localhost:8080 and keeps track of all js and sass changes to files.\n\n# Build\n\n```\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanderdebr%2Fthreejs-webpack-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanderdebr%2Fthreejs-webpack-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanderdebr%2Fthreejs-webpack-starter/lists"}