View pgn boards inline on r/chess. Current version: 1.95.1
- npm
- chrome. firefox.
- Fork repo.
npm install
to install dependencies.grunt
to copy source files to the different browser folders.- Instructions for setting up chrome extension development locally.
- Instructions for setting up firefox extension development locally.
You should only have to make source code changes to files in the core
folder. core
contains the actual code developed for this extension. viewer
contains third party pgn viewers that we utilize. Use the following grunt tasks to handle copying the source files from both folders to the browser folders:
grunt clean
and grunt copy
will wipe, and reapply all source files to the two browser folders respectively.
grunt watch
will set a watch on the source files so that any changes are automatically copied over to the browser folders.
grunt chrome
and grunt firefox
will copy source files to their respective folders, and watch for further changes to copy over to their respective browser.
After every change, reload the extension from the extensions menu in chrome - chrome://extensions.
After every change, reload the extension from the extension debugging menu in firefox - about:debugging.
- Bump up version number in manifest
- Zip chrome folder.
- Upload zip file at chrome developer dashboard.
- Bump up version number in manifest
- Zip firefox folder
- Upload at firefox add-on developer hub.
MIT