{"id":19381844,"url":"https://github.com/ctechhindi/extension-webpack-cli","last_synced_at":"2026-04-30T12:32:32.240Z","repository":{"id":118143443,"uuid":"286508944","full_name":"ctechhindi/extension-webpack-cli","owner":"ctechhindi","description":"Create Google Browser Extension with NPM Webpack CLI","archived":false,"fork":false,"pushed_at":"2020-08-11T13:34:22.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T16:54:35.076Z","etag":null,"topics":["extension-chrome","javascript","npm","webpack-cli","webpack4"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctechhindi.png","metadata":{"files":{"readme":"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":"2020-08-10T15:15:31.000Z","updated_at":"2020-08-11T13:34:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"ccdc8bb6-1b9e-4d55-a802-3f8b0d2eb536","html_url":"https://github.com/ctechhindi/extension-webpack-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ctechhindi/extension-webpack-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctechhindi%2Fextension-webpack-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctechhindi%2Fextension-webpack-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctechhindi%2Fextension-webpack-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctechhindi%2Fextension-webpack-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctechhindi","download_url":"https://codeload.github.com/ctechhindi/extension-webpack-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctechhindi%2Fextension-webpack-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32465009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["extension-chrome","javascript","npm","webpack-cli","webpack4"],"created_at":"2024-11-10T09:18:34.796Z","updated_at":"2026-04-30T12:32:32.208Z","avatar_url":"https://github.com/ctechhindi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Chrome Extension With NPM Webpack CLI](https://github.com/ctechhindi/extension-webpack-cli)\n\nCreate Google Browser Extension with NPM Webpack CLI\n\n## Structure\n\n```\n├─ src\n   ├─ icons\n   ├─ content // content scripts\n   ├─ locales\n   |  └─ en\n   |     └─ messages.json\n   ├─ options\n   |  ├─ options.html\n   |  ├─ options.css\n   |  └─ options.js\n   ├─ popup\n   |  ├─ popup.html\n   |  ├─ popup.css\n   |  └─ popup.js\n   |\n   ├─ # Add More Pages\n   |\n   ├─ background.js\n   └─ manifest.json\n```\n\n## Usage\n\n```\n# Clone this repository\n$ git clone https://github.com/ctechhindi/extension-webpack-cli\n\n# Go into the repository\n$ cd extension-webpack-cli\n\n# Install dependencies\n$ npm install\n\n# Start server\n$ npm run watch\n```\n\n## Webpack Command\n\n* `npm run watch`\n\n  Build the extension into `dist` folder for `development` mode.\n\n* `npm run build`\n\n  Build the extension into `dist` folder for `production` mode.\n\n* `npm run build-zip`\n\n  After the extension is created, you can use the extension folder as zip format in the `build-zip` Folder.\n\n## Adding extension to Chrome Browser\n\nBefore publishing to Chrome Web Store, it is always good to test locally.\n\nAll you need to do is to run `npm run build` to put everything required into `dist` folder, then launch `chrome://extensions/` in Google Chrome.\n\n\n## Credits\n\n* https://github.com/Kocal/vue-web-extension For inspiration on app and build structure\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctechhindi%2Fextension-webpack-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctechhindi%2Fextension-webpack-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctechhindi%2Fextension-webpack-cli/lists"}