{"id":15292703,"url":"https://github.com/alexcambose/webpack-create-config","last_synced_at":"2026-02-14T20:36:15.853Z","repository":{"id":95849350,"uuid":"105389451","full_name":"alexcambose/webpack-create-config","owner":"alexcambose","description":"CLI tool for creating webpack config files","archived":false,"fork":false,"pushed_at":"2017-10-08T08:22:31.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T13:56:05.386Z","etag":null,"topics":["bundle","cli","config","configuration","create","es6","generator","loaders","webpack","webpack-dev-server","webpack2"],"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/alexcambose.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}},"created_at":"2017-09-30T17:58:47.000Z","updated_at":"2019-09-02T08:49:23.000Z","dependencies_parsed_at":"2023-03-13T16:44:47.362Z","dependency_job_id":null,"html_url":"https://github.com/alexcambose/webpack-create-config","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"c2a0d4a066fbc63003c745f8c1eb0887eb3c3d52"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexcambose/webpack-create-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcambose%2Fwebpack-create-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcambose%2Fwebpack-create-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcambose%2Fwebpack-create-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcambose%2Fwebpack-create-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexcambose","download_url":"https://codeload.github.com/alexcambose/webpack-create-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcambose%2Fwebpack-create-config/sbom","scorecard":{"id":180961,"data":{"date":"2025-08-11","repo":{"name":"github.com/alexcambose/webpack-create-config","commit":"c2a0d4a066fbc63003c745f8c1eb0887eb3c3d52"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T18:52:17.519Z","repository_id":95849350,"created_at":"2025-08-16T18:52:17.519Z","updated_at":"2025-08-16T18:52:17.519Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29455360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["bundle","cli","config","configuration","create","es6","generator","loaders","webpack","webpack-dev-server","webpack2"],"created_at":"2024-09-30T16:25:57.136Z","updated_at":"2026-02-14T20:36:15.830Z","avatar_url":"https://github.com/alexcambose.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack-create-config\nCommand line tool for creating webpack config files\n## Installation\nYou need to install `webpack-create-config` globally\n```\n$ npm i -g webpack-create-config\n```\nNow you can run CLI using following command anywhere\n```\n$ webpack-create-config\n```\n## Options\n```\n  Usage: webpack-create-config [options]\n\n\n  Options:\n\n    -V, --version              output the version number\n    -e, --entry \u003cfilename\u003e     Entry point/points to build your project\n    -o, --output \u003cfilename\u003e    The output filename path\n    -c, --context [directory]  The base directory\n    -d, --devtool [style]      Enhance the debugging process by adding source maps\n    -l, --loaders [loaders]    Add loaders\n    -s, --devserver            Add webpack-dev-server\n    -w, --watch                Watch files and recompile whenever they change\n    -a, --autoinstall          Automatically install required dependencies\n    -h, --help                 output usage information\n```\n## Table of contents\n* [Entry](#entry)\n* [Output](#output)\n* [Context](#context)\n* [Devtool](#devtool)\n* [Loaders](#loaders)\n* [DevServer](#devserver)\n* [Watch](#watch)\n* [Autoinstall](#autoinstall)\n\n### Entry\n[official docs](https://webpack.js.org/configuration/entry-context/#entry)\n\n`-e, --entry` **required**\n\n\nSingle file\n```bash\n$ webpack-create-config --entry ./src/index.js\n```\n```\n$ webpack-create-config -e ./main.js\n```\nin `webpack.config.js`\n```\nentry: {\n    index: './src/index.js',\n    index2: './src/index2.js',\n}\n```\nMultiple files\n```\n$ webpack-create-config --entry ./src/index.js,./src/index2.js\n```\n```\n$ webpack-create-config -e ./src/index.js,./src/index2.js\n```\n`webpack.config.js`\n```\nentry: {\n    index: './src/index.js',\n    index2: './src/index2.js',\n}\n```\n\n### Output\n[official docs](https://webpack.js.org/configuration/entry-context/#output)\n\n`-o, --output` **required**\n\n```\n$ webpack-create-config --output ./dist/bundle.js\n```\n```\n$ webpack-create-config -o ./dist/bundle.js\n```\nin `webpack.config.js`\n```\noutput: {\n    filename: 'bundle.js',\n    path: path.resolve(__dirname, './dist'),\n},\n```\n### Context\n[official docs](https://webpack.js.org/configuration/entry-context/#context)\n\n`-c, --context` *optional*\n\n```\n$ webpack-create-config --context app\n```\n```\n$ webpack-create-config -c app\n```\nin `webpack.config.js`\n```\n...\ncontext: path.resolve(__dirname, 'app'),\n...\n```\n\n### Devtool\n\n[official docs](https://webpack.js.org/configuration/devtool/#devtool)\n\n`-d, --devtool` *optional*\n\n```\n$ webpack-create-config  ... --devtool cheap-eval-source-map ...\n```\n```\n$ webpack-create-config ... -d cheap-eval-source-map ...\n```\nin `webpack.config.js`\n```\n...\ndevtool: 'cheap-eval-source-map',\n...\n```\n\n### Loaders\n[official docs](https://webpack.js.org/concepts/loaders/)\n\n`-d, --devtool` *optional*\n\n```\n$ webpack-create-config  ... --loaders css,babel-es6 ...\n```\n```\n$ webpack-create-config ... -l css,babel-es6 ...\n```\nin `webpack.config.js`\n```\n...\nmodule: {\n    rules: [{\n        test: /\\.js$/,\n        exclude: /(node_modules|bower_components)/,\n        use: {\n            loader: 'babel-loader',\n            options: {\n                presets: ['es2015',],\n            },\n        },\n    },{\n        test: /\\.css$/,\n        use: ['style-loader','css-loader',],\n    },],\n},\n...\n```\nList of avaliable loaders you can add using the CLI\n\n**css** - [css-loader](https://github.com/webpack-contrib/css-loader)\n\n**less** - [less-loader](https://github.com/webpack-contrib/less-loader)\n\n**sass** - [sass-loader](https://github.com/webpack-contrib/sass-loader)\n\n**json** - [json-loader](https://github.com/webpack-contrib/json-loader)\n\n**coffee** - [coffee-loader](https://github.com/webpack-contrib/coffee-loader)\n\n**file** - [file-loader](https://github.com/webpack-contrib/file-loader)\n\n**url** - [url-loader](https://github.com/webpack-contrib/url-loader)\n\n**raw** - [raw-loader](https://github.com/webpack-contrib/raw-loader)\n\n**html** - [html-loader](https://github.com/webpack-contrib/html-loader)\n\n**json5** - [json5-loader](https://github.com/webpack-contrib/json5-loader)\n\n**yaml** - [yaml-loader](https://github.com/webpack-contrib/yaml-frontmatter-loader)\n\n**img** - [img-loader](https://github.com/thetalecrafter/img-loader)\n\n*you may add more loaders later by manually editing the `webpack.config.js` file*\n\n### DevServer\n[official docs](https://webpack.js.org/configuration/dev-server/#devserver)\n```\n$ webpack-create-config ... -d ...\n```\n```\n$ webpack-create-config ... --devserver ...\n```\nin `webpack.config.js`\n```\n...\ndevServer: {\n    contentBase: path.join(__dirname, 'dist'),\n    compress: true,\n    port: 9000,\n},\n...\n```\nalso adds [webpack-dev-server](https://github.com/webpack/webpack-dev-server) as a dependency\n\n\n### Watch\n[official docs](https://webpack.js.org/configuration/watch/)\n```\n$ webpack-create-config ... -w ...\n```\n```\n$ webpack-create-config ... --watch ...\n```\nin `webpack.config.js`\n```\n...\nwatch: true,\nwatchOptions: {\n    ignored: /node_modules/,\n},\n...\n```\n\n### Autoinstall\n```\n$ webpack-create-config ... -a ...\n```\n```\n$ webpack-create-config ... --autoinstall ...\n```\nAutomatically install all required dependecies (ex: webpack, file-loader, style-loader) with `npm install` (ex: `npm install -S webpack file-loader style-loader`)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcambose%2Fwebpack-create-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexcambose%2Fwebpack-create-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcambose%2Fwebpack-create-config/lists"}