A comprehensive monorepo containing modern starter templates and utilities for frontend development, focusing on static HTML page generation with Webpack and advanced build tooling.
- Multiple optimized starter templates for different use cases
- Shared configuration packages and utilities
- Comprehensive HTML validation and testing tools
- Modern build tooling Webpack 5 and more
- Container-ready development environment
├── bootstrap/ # Bootstrap 5 template with classic tools
├── bootstrap-edge/ # Bootstrap 5 template with cutting-edge tools
├── tailwindcss-postcss/ # TailwindCSS + Alpine.js template
├── eta-extended/ # Extended Eta template engine with Markdown support
├── nu-html-checker/ # HTML validation tool
└── tool-configs/ # Shared tool configurations
This repository is optimized for development in containers:
- Install Docker and a compatible IDE
- Clone the repository
- Open in your IDE - it will automatically detect and set up the devcontainer
- Dependencies will be installed automatically
Prerequisites:
- Node.js >= v20.12.0
- Java Runtime Environment (JRE) >= 8 (Optional, required for HTML validation)
Steps:
- Clone the repository
- Navigate to the repository directory
- Run
npm install
Template using Bootstrap v5 with proven build tools:
- Babel + Terser for JavaScript
- SCSS + Autoprefixer + Clean CSS for styles
Template using cutting-edge build tools:
- SWC for JavaScript
- SCSS + Lightning CSS for styles
Template using TailwindCSS and Alpine.js:
- TailwindCSS v4 for utility-first styling
- Alpine.js v3 for lightweight interactivity
- SWC for JavaScript
npm run start # Development server
npm run build # Production build + HTML validation
npm run build:public # Production build with public URL
npm run format # Lint files with dprint formatter
npm run lint:js # Lint JavaScript/TypeScript files with EsLint
npm run lint:styles # Lint SCSS/CSS/HTML files with Stylelint
npm run lint:md # Lint Markdown files
npm run lint:html # Validate HTML files using W3C standards
npm run lint:spelling # Check spelling in HTML/Markdown files
Extended Eta template engine with Markdown support:
- Seamless integration with Eta
- Markdown file parsing with
markdown-it
- Configurable markdown options
HTML validation tool using W3C standards:
- HTML validation using official W3C validator
- Configurable error/warning filtering
- Customizable logging output
Shared configurations for build tools:
- Pre-configured optimization settings
- Easy to extend and customize
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Follow the existing code style
- Add appropriate documentation
- Ensure all linting checks pass
- Add/update tests where necessary
This project is licensed under the MIT License - see the LICENSE file for details.