This a Vite + React project in typescript (for typescript intro see https://www.typescriptlang.org/docs/handbook/intro.html)
The extension also uses a service worker to handle long-running tasks like searching the web for alternative stores to find the products in a user's cart. see the worker.ts / worker.js file.
The service worker file is not being bundled currenly so it is manually added to the public folder, when running the build step it will be added to the dist folder.
npm install
npm run build
- go to chrome extensions
- click on on load unpacked
- select the project dist folder (the folder generated by the build step)\
- extension should now be ready for use
- note you should also have the backend node server running on localhost:3000
You can create an account by signing up, and start using the extension.