{"id":17189650,"url":"https://github.com/andreivictor/webpack-starter","last_synced_at":"2026-04-11T10:33:34.382Z","repository":{"id":207534506,"uuid":"705516172","full_name":"andreivictor/webpack-starter","owner":"andreivictor","description":"A starter frontend boilerplate using Webpack 5, SASS, PostCSS, Babel, ESLint, Stylelint, Prettier and more.","archived":false,"fork":false,"pushed_at":"2023-12-29T10:21:14.000Z","size":409,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-30T08:35:00.294Z","etag":null,"topics":["babel","babel7","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,"roadmap":null,"authors":null}},"created_at":"2023-10-16T07:01:59.000Z","updated_at":"2023-11-16T08:14:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a7ced7d-434b-4455-a578-bb1f98156b94","html_url":"https://github.com/andreivictor/webpack-starter","commit_stats":null,"previous_names":["andreivictor/webpack-starter"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/andreivictor/webpack-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreivictor%2Fwebpack-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreivictor%2Fwebpack-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreivictor%2Fwebpack-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreivictor%2Fwebpack-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreivictor","download_url":"https://codeload.github.com/andreivictor/webpack-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreivictor%2Fwebpack-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["babel","babel7","eslint","html","husky","javascript","lintstaged","postcss","prettier","sass","starter-kit","stylelint","webpack","webpack-boilerplate","webpack5","webpack5-boilerplate"],"created_at":"2024-10-15T01:12:09.415Z","updated_at":"2026-04-11T10:33:34.345Z","avatar_url":"https://github.com/andreivictor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webpack Starter\n\n\u003cimg src=\"./webpack-icon.png\" alt=\"Webpack\" width=\"200\" /\u003e\n\nA starter frontend boilerplate using Webpack 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-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreivictor%2Fwebpack-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreivictor%2Fwebpack-starter/lists"}