{"id":32651489,"url":"https://github.com/matt1/typescriptwebpackboilerplate","last_synced_at":"2026-05-07T19:14:03.075Z","repository":{"id":39220936,"uuid":"256975785","full_name":"matt1/TypescriptWebpackBoilerplate","owner":"matt1","description":"Simple boiler plate config for a typescript + webpack web project.","archived":false,"fork":false,"pushed_at":"2023-01-06T10:04:27.000Z","size":477,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-11T19:03:21.340Z","etag":null,"topics":["html","typescript","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matt1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-19T10:53:17.000Z","updated_at":"2021-12-18T10:31:03.000Z","dependencies_parsed_at":"2023-02-05T20:30:43.106Z","dependency_job_id":null,"html_url":"https://github.com/matt1/TypescriptWebpackBoilerplate","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/matt1/TypescriptWebpackBoilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt1%2FTypescriptWebpackBoilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt1%2FTypescriptWebpackBoilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt1%2FTypescriptWebpackBoilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt1%2FTypescriptWebpackBoilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matt1","download_url":"https://codeload.github.com/matt1/TypescriptWebpackBoilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt1%2FTypescriptWebpackBoilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281953464,"owners_count":26589146,"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","status":"online","status_checked_at":"2025-10-31T02:00:07.401Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["html","typescript","webpack"],"created_at":"2025-10-31T07:59:01.839Z","updated_at":"2025-10-31T08:00:20.527Z","avatar_url":"https://github.com/matt1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Typescript + Webpack Boiler Plate\n\nSimple boiler-plate project that contains all of the required bits and pieces to\nget a basic Typescript + Webpack project started for serving as a compiled\njavascript bundle file, complete with static HTML, images, and CSS etc.\n\n## Features:\n* Compile all Typescript files \u0026 modules (and their dependencies) into a single\n`bundle.js` file.\n* Copy all static resources from `src/**` into `dist/`\n  * Ignores `script/` since this will be bundled.\n  * This means any and all `*.html` (index.html, about.html etc) files and any\n  sub directories (e.g. `style/`, `images/` etc) will be copied over as-is.\n\n## Using this boiler plate for a new project\n\nSimplest way to get a clean slate to start from is just to clone the existing\nrepo, delete the `.git/` dir and then re-initialise git in the new project.\n\n- `git clone https://github.com/matt1/TsBoilerPlate.git MyNewProject`\n- `cd MyNewProject`\n- `rm -rf .git/`\n- `git init`\n\nYou can safely delete the `hashes.md5` file (used for automated testig/verification) and the `.github` directory (contains config for this repo).\n\n## Set up\n\nYou'll need to install the dependencies for this project with the following\ncommand (dependencies are specified in package.json).\n\n`npm install`\n\n## Building the compiled bundle\n\n`npx webpack`\n\nThis will build the compiled bundle and move everything to `dist/`. Everything\nin this directory could then be uploaded to a server for instance.\n\n## Live Reload\n\n`webpack-dev-server --open`\n\nThis will run a live-reload server available on `localhost:8080` for local\ndevelopment.\n\n## Testing \u0026 Verification\n\nThis repo does some very basic checks to ensure that new changes do not break the webpack build using `md5sum` to generate the `hashes.md5` file. If you change the example content (e.g. HTML, CSS, or scripts) you'll need to re-generate these hashes so that the automated verification tests are checking against the right files:\n\n`npx webpack \u0026\u0026 find dist -type f -exec md5sum {} + \u003e hashes.md5`\n\nN.B. these files use unix-style line-endings (LF only) - make sure your editor is not using CRLF or the hashes will be wrong. You might need to toggle from LF -\u003e CRLF -\u003e LF to ensure all are converted.\n\nTo check that the generated files match expectations, run:\n\n`md5sum -c hashes.md5`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt1%2Ftypescriptwebpackboilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatt1%2Ftypescriptwebpackboilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt1%2Ftypescriptwebpackboilerplate/lists"}