- 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 build
before pushing changes to a PR. This ensure thepublic
folder 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
public
folder - Experiment
npm run build
- builds all the extension files topublic
folder.npm run dev-newtab
- Watches and rebuilds the new tab page topublic
folder on changesnpm run dev-popup
- Watches and rebuilds the popup section topublic
folder on changesnpm run dev-options
- Watches and rebuilds the options page topublic
folder on changesnpm run dev-all
- Watches and rebuilds the complete extension topublic
folder on changes (Will be slower).