{"id":22242671,"url":"https://github.com/gabrielecanepa/webpack-init","last_synced_at":"2026-04-08T22:32:08.824Z","repository":{"id":116538612,"uuid":"161052099","full_name":"gabrielecanepa/webpack-init","owner":"gabrielecanepa","description":"Generate a preconfigured webpack boilerplate from your shell - ideal for quick prototypes ⚡️ ","archived":false,"fork":false,"pushed_at":"2023-10-12T16:14:20.000Z","size":806,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-24T21:05:22.780Z","etag":null,"topics":["babel","eslint","github-page","scss","stylelint","webpack","webpack-boilerplate","yarn"],"latest_commit_sha":null,"homepage":"","language":null,"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/gabrielecanepa.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-12-09T15:15:30.000Z","updated_at":"2023-10-12T16:07:23.000Z","dependencies_parsed_at":"2023-10-13T06:07:49.640Z","dependency_job_id":null,"html_url":"https://github.com/gabrielecanepa/webpack-init","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gabrielecanepa/webpack-init","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielecanepa%2Fwebpack-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielecanepa%2Fwebpack-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielecanepa%2Fwebpack-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielecanepa%2Fwebpack-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabrielecanepa","download_url":"https://codeload.github.com/gabrielecanepa/webpack-init/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielecanepa%2Fwebpack-init/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31577444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","eslint","github-page","scss","stylelint","webpack","webpack-boilerplate","yarn"],"created_at":"2024-12-03T04:16:48.115Z","updated_at":"2026-04-08T22:32:08.817Z","avatar_url":"https://github.com/gabrielecanepa.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webpack Init\n\nGenerate a preconfigured webpack boilerplate from your shell - ideal for quick prototypes ⚡️\n\n## Usage\n\nClone the repository on your computer. You must have [Node.js](https://nodejs.org) (\u003e v4) and [Yarn](https://yarnpkg.com/lang/en/docs/install) installed:\n\n```sh\ngit clone git@github.com:gabrielecanepa/webpack-init\n# or\ngh repo clone gabrielecanepa/webpack-init\n\ncd webpack-init\n```\n\nRun the `.webpack-init` script once. The executable will be copied into your root folder and an alias will be set in your first available profile:\n\n```sh\nsh .webpack-init\n```\n\n![](assets/screen1.gif)\n\nAfter restarting the terminal, you will be able to run `webpack:init` from any place on your computer.\n\nThe command initializes a new repository with a ready-to-use [webpack boilerplate](https://github.com/gabrielecanepa/webpack-boilerplate) with the following configuration:\n\n-   [Yarn](https://yarnpkg.com)\n-   [webpack](https://webpack.js.org)\n-   [Babel](https://babeljs.io) with [latest preset](https://babeljs.io/docs/en/babel-preset-env)\n-   [ESLint](https://eslint.org) with [Airbnb configuration](https://www.npmjs.com/package/eslint-config-airbnb-base) base\n-   [Sass](http://sass-lang.com) with [stylelint](https://stylelint.io) and modules import to enjoy hot reloading\n-   [GitHub Pages](https://www.npmjs.com/package/gh-pages) for easy deployment\n\n![](assets/screen2.gif)\n\nMake sure you have `./node_modules/.bin` in your `$PATH`. This way you can run your server with:\n\n```sh\nwebpack-dev-server\n```\n\n![](assets/screen3.gif)\n\n### Scripts\n\nTo speed up the development process, some scripts have been defined in `package.json`.\n\nTo start a local server on port `8080`:\n\n```bash\nyarn start\n```\n\nTo lint all your JavaScript and CSS/SCSS files:\n\n```bash\nyarn lint\n```\n\nTo build your static files:\n\n```bash\nyarn build\n```\n\nTo push the built files to the `gh-pages` branch and deploy to [GitHub Pages](https://pages.github.com):\n\n```bash\nyarn deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielecanepa%2Fwebpack-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielecanepa%2Fwebpack-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielecanepa%2Fwebpack-init/lists"}