- Fork this repo, run
npm install - Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'useful commit message') - Push to the branch (
git push origin my-new-feature) - Start a Pull Request
Always run
npm run buildbefore pushing changes to a PR. This ensure thepublicfolder is up to date with the latest extension code.
public- Contains the Extension files.src- Contains the Svelte src files.public/build- Contains JS/CSS files generated by Svelte Compiler
The three root level files are in src, called NewTab.svelte, Popup.svelte and Options.svelte. You can map the components on the screen by going down from the root level files.
- Clone the repository to your local machine
- Enable 'Developer Mode' on your Chrome(ium) browser at 'chrome://extensions/'
- Select 'Load unpacked' button and point it to the
publicfolder - Experiment
npm run build- builds all the extension files topublicfolder.npm run dev-newtab- Watches and rebuilds the new tab page topublicfolder on changesnpm run dev-popup- Watches and rebuilds the popup section topublicfolder on changesnpm run dev-options- Watches and rebuilds the options page topublicfolder on changesnpm run dev-all- Watches and rebuilds the complete extension topublicfolder on changes (Will be slower).