{"id":18907742,"url":"https://github.com/waldronmatt/webpack-boilerplate","last_synced_at":"2025-04-15T04:32:07.085Z","repository":{"id":39916529,"uuid":"459009485","full_name":"waldronmatt/webpack-boilerplate","owner":"waldronmatt","description":"Comprehensive Webpack 5 Boilerplate with Express, Netlify, and PWA support.","archived":false,"fork":false,"pushed_at":"2023-03-26T05:00:07.000Z","size":1886,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T16:43:39.833Z","etag":null,"topics":["boilerplate","boilerplate-webpack","browserslist","commitizen","commitlint","eslint","htmlhint","husky","jest","lint-staged","markdownlint","postcss","prettier","sass","secretlint","semantic-release","stylelint","template","typescript","webpack"],"latest_commit_sha":null,"homepage":"https://waldronmatt-webpack-boilerplate.netlify.app/","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/waldronmatt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"waldronmatt"}},"created_at":"2022-02-14T04:00:19.000Z","updated_at":"2023-03-12T21:03:51.000Z","dependencies_parsed_at":"2024-11-08T09:28:11.812Z","dependency_job_id":"0412ccb3-a457-4208-a4fc-31e17d802390","html_url":"https://github.com/waldronmatt/webpack-boilerplate","commit_stats":null,"previous_names":[],"tags_count":28,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldronmatt%2Fwebpack-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldronmatt%2Fwebpack-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldronmatt%2Fwebpack-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldronmatt%2Fwebpack-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waldronmatt","download_url":"https://codeload.github.com/waldronmatt/webpack-boilerplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249006545,"owners_count":21197294,"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":["boilerplate","boilerplate-webpack","browserslist","commitizen","commitlint","eslint","htmlhint","husky","jest","lint-staged","markdownlint","postcss","prettier","sass","secretlint","semantic-release","stylelint","template","typescript","webpack"],"created_at":"2024-11-08T09:23:00.601Z","updated_at":"2025-04-15T04:32:04.917Z","avatar_url":"https://github.com/waldronmatt.png","language":"JavaScript","funding_links":["https://ko-fi.com/waldronmatt"],"categories":[],"sub_categories":[],"readme":"# Webpack Boilerplate\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/0025207c-743d-4b37-b24e-9b67b3489f48/deploy-status)](https://app.netlify.com/sites/waldronmatt-webpack-boilerplate/deploys)\n\nComprehensive [Webpack 5 Boilerplate](https://waldronmatt-webpack-boilerplate.netlify.app/) with Express, Netlify, and PWA support.\n\n## Features\n\n- Mixed `js`/`ts` boilerplate with `Jest` and `Eslint`, `Stylelint`, and `Prettier` linting\n- Includes the starter [simplepwa template](https://github.com/nikkifurls/simplepwa)\n- Server and serverless builds with `Netlify` and `Express`\n- Conventional Commits prompt and commit linting using `Commitizen` and `Commitlint`\n- `Husky` hooks to lint and test staged files using `Lint-Staged`\n- Automated releases using `Semantic-Release`\n- Uses my [shareable configs](https://github.com/waldronmatt/shareable-configs) to reduce boilerplate\n- ~100% + PWA Optimized Lighthouse Score\n\n## Installation\n\nInstall dependencies:\n\n```bash\nyarn\n```\n\nInstall hooks:\n\n```bash\nyarn prepare\n```\n\nInstall `make`:\n\n```bash\n[your-package-manager] install make\n```\n\nInstall `yamllint` and `actionlint`.\n\n## Getting Started\n\nRun dev environment:\n\n```bash\nyarn dev\n```\n\nBuild and serve for Netlify:\n\n```bash\nyarn build\n```\n\n**Note:** Configure script in Netlify to auto-run via push to `main` branch.\n\nBuild for Express:\n\n```bash\nyarn prod\n```\n\nServe for Express:\n\n```bash\nyarn serve\n```\n\n## Commands\n\nCommit changes using conventional changelog:\n\n```bash\nyarn commit\n```\n\nLint all `.js`, `.jsx`, `.ts`, `.tsx`, `.css`, `.scss`, `.html`, `.md` files:\n\n```bash\nyarn lint\n```\n\n**Note**: `release.yml` will run this before versioning and publishing.\n\nLint `.yml` files:\n\n```bash\nmake -f MAKEFILE\n```\n\nRun all tests:\n\n```bash\nyarn test\n```\n\n**Note**: `release.yml` will run this before versioning and publishing.\n\n## Click and Go!\n\n1. Click `Use this template` to create your own copy\n2. Clone down the newly created repository\n3. Run `yarn` and `yarn prepare` to install dependencies and git hooks\n4. Update your `package.json`\n5. Delete `CHANGELOG.md`\n6. Customize your repo and commit changes using the `commit` script in `package.json`\n7. Use a commit type like `feat`\n8. Push out your changes. This will trigger a release with a version of `1.0.0`\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldronmatt%2Fwebpack-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaldronmatt%2Fwebpack-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldronmatt%2Fwebpack-boilerplate/lists"}