{"id":17189654,"url":"https://github.com/andreivictor/webpack-bootstrap5-starter","last_synced_at":"2026-04-11T17:07:32.010Z","repository":{"id":207564558,"uuid":"719530386","full_name":"andreivictor/webpack-bootstrap5-starter","owner":"andreivictor","description":"A starter frontend boilerplate using Webpack 5, Bootstrap 5, SASS, PostCSS, Babel, ESLint, Stylelint, Prettier and more.","archived":false,"fork":false,"pushed_at":"2023-11-16T11:18:45.000Z","size":350,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T05:14:27.461Z","etag":null,"topics":["babel","babel7","bootstrap","bootstrap5","eslint","html","husky","javascript","lintstaged","postcss","prettier","sass","starter-kit","stylelint","webpack","webpack-boilerplate","webpack5","webpack5-boilerplate"],"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/andreivictor.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,"governance":null}},"created_at":"2023-11-16T11:15:00.000Z","updated_at":"2024-07-20T16:00:54.000Z","dependencies_parsed_at":"2023-11-16T13:39:18.021Z","dependency_job_id":"ccbb325b-d0ed-4f42-95d3-0f76ddd6329a","html_url":"https://github.com/andreivictor/webpack-bootstrap5-starter","commit_stats":null,"previous_names":["andreivictor/webpack-bootstrap5-starter"],"tags_count":0,"template":true,"template_full_name":"andreivictor/webpack-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreivictor%2Fwebpack-bootstrap5-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreivictor%2Fwebpack-bootstrap5-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreivictor%2Fwebpack-bootstrap5-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreivictor%2Fwebpack-bootstrap5-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreivictor","download_url":"https://codeload.github.com/andreivictor/webpack-bootstrap5-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245401398,"owners_count":20609167,"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":["babel","babel7","bootstrap","bootstrap5","eslint","html","husky","javascript","lintstaged","postcss","prettier","sass","starter-kit","stylelint","webpack","webpack-boilerplate","webpack5","webpack5-boilerplate"],"created_at":"2024-10-15T01:12:10.954Z","updated_at":"2026-04-11T17:07:31.978Z","avatar_url":"https://github.com/andreivictor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webpack Bootstrap5 Starter\n\n\u003cimg src=\"webpack-bootstrap.png\" alt=\"Webpack Bootstrap5 Starter\" /\u003e\n\nA starter frontend boilerplate using Webpack 5, Bootstrap 5, SASS, PostCSS, Babel, ESLint, Stylelint, Prettier and more.\n\n## Features\n\n### Webpack\n\n- Latest [Webpack 5](https://webpack.js.org/).\n- Separated Webpack configurations per environment: `development` or `production`.\n- Fully configured [Webpack Dev Server](https://webpack.js.org/configuration/dev-server/) for local development with _Hot Module Replacement_ enabled.\n- HTML file to serve your webpack bundles with [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin).\n- Copy files to build directory with [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin).\n- Load environment variables from a `.env` file with [dotenv-webpack](https://github.com/mrsteele/dotenv-webpack).\n- Analyze output files with an interactive zoomable treemap with [Webpack Bundle Analyzer](https://www.npmjs.com/package/webpack-bundle-analyzer).\n\n### Babel\n\n- [Babel 7](https://babeljs.io/) - JavaScript compiler with [`babel-preset-env`](https://babeljs.io/docs/babel-preset-env).\n\n### CSS / SASS / PostCSS\n\n- [SASS](https://sass-lang.com/) support based on [dart-sass](https://www.npmjs.com/package/sass).\n- [PostCSS](https://postcss.org/) setup with [`post-preset-env`](https://www.npmjs.com/package/postcss-preset-env), including _autoprefixing_ of browserspecific CSS rules.\n- Remove unused CSS with [PurgeCSS](https://purgecss.com/).\n\n### Code style \u0026 linters\n\n- JavaScript Linting with [eslint](https://eslint.org/).\n- Style Linting with [stylelint](https://stylelint.io/): [`stylelint-config-standard-scss`](https://www.npmjs.com/package/stylelint-config-standard-scss), [`stylelint-config-recess-order`](https://www.npmjs.com/package/stylelint-config-recess-order).\n- Automatic code formatting with [Prettier](https://prettier.io/).\n\n### Optimization\n\n- Image optimisation - optimize `jpeg`, `jpg`, `png`, `gif`, `svg` filesize with [imagemin](https://github.com/imagemin/imagemin).\n- Optimize and minimize CSS assets with [CssMinimizerWebpackPlugin](https://webpack.js.org/plugins/css-minimizer-webpack-plugin/).\n\n### Additional tools\n\n- Configurable browsers versions support via [browserslist](https://github.com/browserslist/browserslist#full-list).\n- Git hooks with [Husky](https://typicode.github.io/husky/).\n- Lint commit messages with [Commitlint](https://commitlint.js.org/#/).\n- Run linters against staged git files with [lint-staged](https://github.com/okonet/lint-staged).\n\n## Usage\n\n### Development server\n\n```sh\nnpm start\n```\n\nRuns the app in the development mode with hot reloading enabled. \\\nOpen [http://localhost:8080](http://localhost:8080) or server port specified in your `.env` file to view it in your browser.\n\n### Production build\n\n```sh\nnpm run build\n```\n\nBuilds the app for production to the `dist` folder.\\\nThe build is minified and the filenames include hashes.\n\n### Code style linters\n\n```sh\nnpm run lint\n```\n\nRuns both `SASS` and `Javascript` code linters.\n\n#### SASS\n\n```sh\nnpm run css-lint\n```\n\n#### Javascript\n\n```sh\nnpm run js-lint\n```\n\n### Code formatting\n\n```sh\nnpm run prettier:format\n```\n\nRuns code formatting with [Prettier](https://prettier.io/).\n\n### Bundle analyzer\n\n```sh\nnpm run analyze\n```\n\nBuilds the app for production and creates an interactive treemap visualization of the contents of all your bundles. \\\nIt will start an HTTP server on the default configuration URL `localhost:8888` to show bundle report.\n\n## Requirements\n\n- `node`: `\u003e=18`\n- `npm`: `\u003e=8`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreivictor%2Fwebpack-bootstrap5-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreivictor%2Fwebpack-bootstrap5-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreivictor%2Fwebpack-bootstrap5-starter/lists"}