{"id":16158899,"url":"https://github.com/markkos89/react-webpack5-boilerplate","last_synced_at":"2025-06-22T02:38:31.311Z","repository":{"id":52837704,"uuid":"355778618","full_name":"Markkos89/react-webpack5-boilerplate","owner":"Markkos89","description":"React 17 Boilerplate with Webpack 5, Bootstrap, using babel, SASS/PostCSS, HMR, dotenv and an optimized production build","archived":false,"fork":false,"pushed_at":"2021-04-17T00:45:45.000Z","size":568,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T02:27:32.794Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Markkos89.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}},"created_at":"2021-04-08T05:50:26.000Z","updated_at":"2021-04-17T00:45:48.000Z","dependencies_parsed_at":"2022-08-23T09:01:22.296Z","dependency_job_id":null,"html_url":"https://github.com/Markkos89/react-webpack5-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Markkos89/react-webpack5-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Freact-webpack5-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Freact-webpack5-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Freact-webpack5-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Freact-webpack5-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Markkos89","download_url":"https://codeload.github.com/Markkos89/react-webpack5-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markkos89%2Freact-webpack5-boilerplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261226068,"owners_count":23127257,"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":[],"created_at":"2024-10-10T01:55:23.860Z","updated_at":"2025-06-22T02:38:26.298Z","avatar_url":"https://github.com/Markkos89.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-webpack-5\n\nReact 17 Boilerplate with React 17, Webpack 5, Bootstrap, Hot Module Reloading, using babel, sass, with a hot dev server and an optimized production build\n\n## Installation\n\n```\ngit clone https://github.com/markkos89/react-webpack5-boilerplate.git\ncd react-webpack5-boilerplate\nyarn / npm i\n```\nTo use it for your own project the easiest way is to use the green Template Button on top right of this repo on Github.\n\n## Usage\n\n### Development server\n\n```bash\nyarn start / npm start\n```\n\nYou can view the development server at `localhost:3000`.\n(change port in ./config/webpack.dev.js)\n\n\n### Production build\n\n```bash\n yarn build / npm run build\n```\n\n## Features\n\n- [React 17](https://reactjs.org/)\n- [Webpack 5](https://webpack.js.org/)\n- [PostCss](https://postcss.org/)  \n- [Babel](https://babeljs.io/)\n- [Sass](https://sass-lang.com/)\n- [Eslint](https://eslint.org/)\n- [Husky](https://github.com/typicode/husky) ( tks [@rubinj30](https://github.com/rubinj30) )\n\n## Dependencies\n\n### webpack\n\n- [`webpack`](https://github.com/webpack/webpack) - Module and asset bundler.\n- [`webpack-cli`](https://github.com/webpack/webpack-cli) - Command line interface for webpack\n- [`webpack-dev-server`](https://github.com/webpack/webpack-dev-server) - Development server for webpack\n- [`webpack-merge`](https://github.com/survivejs/webpack-merge) - Simplify development/production configuration\n\n### Babel\n\n- [`@babel/core`](https://www.npmjs.com/package/@babel/core) - Transpile ES6+ to backwards compatible JavaScript\n- [`@babel/plugin-proposal-class-properties`](https://babeljs.io/docs/en/babel-plugin-proposal-class-properties) - Use properties directly on a class (an example Babel config)\n- [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env) - Smart defaults for Babel\n\n### Loaders\n\n- [`babel-loader`](https://webpack.js.org/loaders/babel-loader/) - Transpile files with Babel and webpack\n- [`sass-loader`](https://webpack.js.org/loaders/sass-loader/) - Load SCSS and compile to CSS\n- [`node-sass`](https://github.com/sass/node-sass) - Node Sass\n- [`css-loader`](https://webpack.js.org/loaders/css-loader/) - Resolve CSS imports\n- [`postcss-loader`](https://webpack.js.org/loaders/postcss-loader/) - Loader to process CSS with PostCSS\n- [`style-loader`](https://webpack.js.org/loaders/style-loader/) - Inject CSS into the DOM\n\n### Eslint\n- [`eslint-config-prettier`](https://www.npmjs.com/package/eslint-config-prettier) - Turns off all rules that are unnecessary or might conflict with Prettier.\n- [`eslint-import-resolver-alias`](https://www.npmjs.com/package/eslint-import-resolver-alias) - a simple Node behavior import resolution plugin for eslint-plugin-import, supporting module alias.\n- [`eslint-plugin-babel`](https://www.npmjs.com/package/eslint-plugin-babel) - an eslint rule plugin companion to babel-eslint.\n- [`eslint-plugin-import`](https://www.npmjs.com/package/eslint-plugin-import) - This plugin intends to support linting of ES2015+ (ES6+) import/export syntax, and prevent issues with misspelling of file paths and import names.\n- [`eslint-plugin-prettier`](https://www.npmjs.com/package/eslint-plugin-prettier) - Runs prettier as an eslint rule.\n- [`eslint-plugin-react`](https://www.npmjs.com/package/eslint-plugin-react) - React specific linting rules for ESLint.\n- [`eslint-plugin-react-hooks`](https://github.com/facebook/react/tree/master/packages/eslint-plugin-react-hooks) - Enforces the Rules of React Hooks.\n\n\n### Plugins\n\n- [`clean-webpack-plugin`](https://github.com/johnagan/clean-webpack-plugin) - Remove/clean build folders\n- [`copy-webpack-plugin`](https://github.com/webpack-contrib/copy-webpack-plugin) - Copy files to build directory\n- [`html-webpack-plugin`](https://github.com/jantimon/html-webpack-plugin) - Generate HTML files from template\n- [`mini-css-extract-plugin`](https://github.com/webpack-contrib/mini-css-extract-plugin) - Extract CSS into separate files\n- [`optimize-css-assets-webpack-plugin`](https://github.com/NMFR/optimize-css-assets-webpack-plugin) - Optimize and minimize CSS assets\n- [`terser-webpack-plugin`](https://github.com/webpack-contrib/terser-webpack-plugin) - Optimize and minimize JavaScript\n- [`react-refresh-webpack-plugin`](https://github.com/pmmmwh/react-refresh-webpack-plugin) - HMR using React Fast Refresh\n- [`dotenv-webpack`](https://github.com/mrsteele/dotenv-webpack) - Supports dotenv and other environment variables\n- [`@svgr/webpack`](https://github.com/mrsteele/dotenv-webpack) - SVGR can be used as a webpack loader, this way you can import your SVG directly as a React Component.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkkos89%2Freact-webpack5-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkkos89%2Freact-webpack5-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkkos89%2Freact-webpack5-boilerplate/lists"}