-
Notifications
You must be signed in to change notification settings - Fork 11
Development
If you want to participate in the development of Tabs Aside or create your own version or just build Tabs Aside from the source code please follow these instructions:
Tabs Aside is written in TypeScript and therefore requires a build step. To build Tabs Aside Node.js has to be installed on your machine.
If you have not done this already clone the repository:
> git clone [email protected]:tim-we/tabs-aside.git(!) Switch to the typescript branch. This is the current development branch and will be merged into the master with the release of v3.
Assuming you are in the Tabs Aside root directory (where package.json is located):
> npm install> npm run buildThis will populate the dist/js folder with JavaScript (.js) files.
If there are problems with Webpack or TypeScript (tsc) try installing them globally:
npm install webpack -g and npm install typescript -g
It is recommended not use your main Firefox profile for development. Instead you could use Firefox Developer Edition or another profile (go to about:profiles).
Go to about:debugging and click Load Temporary Add-on and select dist/manifest.json.
To pack the extension into a single file that could be submitted to the addon store run:
> npm run firefoxThis will create a tabs_aside_-{version}.zip file in the releases/ folder.