{"id":26469759,"url":"https://github.com/ocdbytes/web-extension-build-pack","last_synced_at":"2026-04-05T21:36:42.285Z","repository":{"id":246918403,"uuid":"585547028","full_name":"ocdbytes/Web-Extension-Build-Pack","owner":"ocdbytes","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-05T13:00:29.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-05T22:07:18.602Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ocdbytes.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":"2023-01-05T12:59:09.000Z","updated_at":"2024-07-05T22:07:32.018Z","dependencies_parsed_at":"2024-07-05T22:07:25.248Z","dependency_job_id":"116e2e7b-c567-4c79-bea1-c4a7726098b3","html_url":"https://github.com/ocdbytes/Web-Extension-Build-Pack","commit_stats":null,"previous_names":["ocdbytes/web-extension-build-pack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FWeb-Extension-Build-Pack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FWeb-Extension-Build-Pack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FWeb-Extension-Build-Pack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FWeb-Extension-Build-Pack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ocdbytes","download_url":"https://codeload.github.com/ocdbytes/Web-Extension-Build-Pack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244470251,"owners_count":20457908,"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":"2025-03-19T17:09:18.468Z","updated_at":"2025-12-31T00:11:15.402Z","avatar_url":"https://github.com/ocdbytes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to make a chrome extension ?\n\n* Folder Structure\n\n```sh\nyarn init -y\nmkdir public\nmkdir src\n```\n\n* Creating manifest.json\n\nLink : \u003chttps://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/\u003e\n\n```json\n{\n    \"manifest_version\": 3,\n    \"name\": \"chrome-Extension\",\n    \"description\": \"This is a chrome extension\",\n    \"version\": \"1.0\",\n    \"action\": {\n        \"default_popup\": \"popup.html\"\n    }\n}\n```\n\n```sh\ntouch public/manifest.json\ntouch src/popup.html\n```\n\n* Install ReactJS\n\n```sh\nyarn add react react-dom\n```\n\nConfigure React\n\n```jsx\nimport React from \"react\";\nimport { render } from \"react-dom\";\n\nfunction PopUp() {\n  return \u003cdiv\u003eHello World\u003c/div\u003e;\n}\n\nrender(\u003cPopUp /\u003e, document.getElementById(\"react-target\"));\n\n```\n\n* Install Webpack\n\n```sh\nyarn add webpack webpack-cli --dev\n```\n\n* In root folder make webpack.config.js\n\n```sh\nyarn add babel-loader @babel/core @babel/preset-env @babel/preset-react \n```\n\nAdd configs\n\n```sh\nyarn add html-webpack-plugin --dev\nyarn add copy-webpack-plugin --dev\n```\n\n* configuring the modes of extension\n\n```sh\nyarn add webpack-merge --dev\ntouch webpack.dev.js\ntouch webpack.prod.js\n```\n\nNow add new scripts for dev and build\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focdbytes%2Fweb-extension-build-pack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focdbytes%2Fweb-extension-build-pack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focdbytes%2Fweb-extension-build-pack/lists"}