This Project is made for creating chrome extensions using React and Typescript.
The focus was on improving the life in web3.
- React 18
- TypeScript
- Jest
- React Testing Library
- Vite
- SASS
- Prettier
- ESLint
- Husky
- Commitlint
- Conventional Commits
- Chrome Extension Manifest Version 3
- HRR(Hot Rebuild & Refresh/Reload)
- Clone this repository.
- Change
name
anddescription
in package.json => Auto synchronize with manifest - Install pnpm globally:
npm install -g pnpm
(check your node version >= 16.6, recommended >= 18) - Run
pnpm install
- Run:
- Dev:
pnpm dev
ornpm run dev
- Prod:
pnpm build
ornpm run build
- Dev:
- Open in browser -
chrome://extensions
- Check -
Developer mode
- Find and Click -
Load unpacked extension
- Select -
dist
folder
Override Chrome pageschrome_url_overrides.newtab
in manifest.json
Browser actionsaction.default_pupup
in manifest.json
Devtoolsdevtools_page
in manifest.json
Backgroundbackground.service_worker
in manifest.json
Content Scriptcontent_scripts[0]
in manifest.json
Optionsoptions_page
in manifest.json
SidePanelside_panel.default_path
in manifest.json