Comprehensive Webpack 5 Boilerplate with Express, Netlify, and PWA support.
- Mixed
js/tsboilerplate withJestandEslint,Stylelint, andPrettierlinting - Includes the starter simplepwa template
- Server and serverless builds with
NetlifyandExpress - Conventional Commits prompt and commit linting using
CommitizenandCommitlint Huskyhooks to lint and test staged files usingLint-Staged- Automated releases using
Semantic-Release - Uses my shareable configs to reduce boilerplate
- ~100% + PWA Optimized Lighthouse Score
Install dependencies:
yarnInstall hooks:
yarn prepareInstall make:
[your-package-manager] install makeInstall yamllint and actionlint.
Run dev environment:
yarn devBuild and serve for Netlify:
yarn buildNote: Configure script in Netlify to auto-run via push to main branch.
Build for Express:
yarn prodServe for Express:
yarn serveCommit changes using conventional changelog:
yarn commitLint all .js, .jsx, .ts, .tsx, .css, .scss, .html, .md files:
yarn lintNote: release.yml will run this before versioning and publishing.
Lint .yml files:
make -f MAKEFILERun all tests:
yarn testNote: release.yml will run this before versioning and publishing.
- Click
Use this templateto create your own copy - Clone down the newly created repository
- Run
yarnandyarn prepareto install dependencies and git hooks - Update your
package.json - Delete
CHANGELOG.md - Customize your repo and commit changes using the
commitscript inpackage.json - Use a commit type like
feat - Push out your changes. This will trigger a release with a version of
1.0.0
MIT