{"id":23050810,"url":"https://github.com/geta/webpack-config-wrapper","last_synced_at":"2025-04-03T03:42:32.233Z","repository":{"id":66329527,"uuid":"150860337","full_name":"Geta/webpack-config-wrapper","owner":"Geta","description":null,"archived":false,"fork":false,"pushed_at":"2019-11-19T09:15:50.000Z","size":492,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-30T21:33:16.450Z","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/Geta.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-29T12:05:22.000Z","updated_at":"2019-11-19T09:15:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"c077860a-bb07-4815-ac9d-407ac82f2381","html_url":"https://github.com/Geta/webpack-config-wrapper","commit_stats":{"total_commits":50,"total_committers":3,"mean_commits":"16.666666666666668","dds":"0.18000000000000005","last_synced_commit":"cd8deeeb80afc5c95792b3422b0c453509c2e74d"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2Fwebpack-config-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2Fwebpack-config-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2Fwebpack-config-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2Fwebpack-config-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Geta","download_url":"https://codeload.github.com/Geta/webpack-config-wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246933355,"owners_count":20857052,"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-12-15T23:38:06.193Z","updated_at":"2025-04-03T03:42:32.205Z","avatar_url":"https://github.com/Geta.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Configs\n\nPackage containing a base webpack config wrapper, and configurations for various tools we use.\n\n## Installation\n\n### NPM\n\n```powershell\nnpm install --save geta-webpack-config-wrapper\n```\n\n### Yarn\n\n```powershell\nyarn add geta-webpack-config-wrapper\n```\n\n## Includes\n\n### Webpack\n\nFor webpack I've created a function, used to wrap the webpack config into a more readable / noob friendly format. It contains a ton of pipeline functions that serve various purposes. Overview of those and what they do can be found here: [index.js docs](docs/webpack.core.md)\n\n### Babel\n\nThis one is automatically used by the ```index.js``` file.\nBasic setup that includes the following presets:\n\n* [@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env)\n* [@babel/preset-react](https://babeljs.io/docs/en/babel-preset-react)\n* [@babel/preset-stage-0](https://babeljs.io/docs/en/babel-preset-stage-0)\n\n### PostCSS\n\nBasic setup that adds some postcss transformations to the .scss files used. They're parsed using ```postcss-scss```. The ```index.js``` implements this by default.\n\nFor plugins I use these:\n\n* ```postcss-sassy-import``` (adds support for imports)\n* ````autoprefixer```` (uses browserconfig from your package.json)\n* ```postcss-pxtorem``` (root value 16, affects font, font-size, line-height, letter-spacing props)\n\n### Prettier\n\nAlso automatically implemented in index.js. Adds a basic prettier config to the solution. Currently only parses .ts and .tsx files, will add support for more languages soon-ish.\n\n### Stylelint\n\nBasic implementation of stylelint, extending the ```stylelint-config-standard``` with some extra rules / overrides I found useful. Support for scss added. Implemented by default in ```index.js```.\n\n### TypeScript\n\nFor all my projects I use TypeScript, thus I've included a basic config file for it. This one already covers enough to be used on most projects, but can also be extended if you want to override or add additional options. To enable typescript in ```index.js```, see the [index.js docs](docs/webpack.core.md).\n\n### TSLint\n\nSince most of my projects use TypeScript, I also added my generic tslint config. It support extending in your own tslint config if you so wish. This one is also configured to work well with the Prettier config, so no weird conflicts occur between the auto formatting and the linter. Auto implemented in ```index.js``` when TypeScript is added, for dev mode only.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeta%2Fwebpack-config-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeta%2Fwebpack-config-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeta%2Fwebpack-config-wrapper/lists"}