Last active
April 20, 2016 02:30
-
-
Save ahgood/ce565425b5b38ee68832294f66db0ec8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*Need enable proxy to install packages for users from China | |
Windows: | |
Run Command prompt as administrator | |
npm install grunt-cli bower yo jpm generator-firefox-extension -g | |
npm install | |
bower install | |
mkdir myextension | |
cd myextension | |
yo firefox-extension myextension | |
copy myextension/app folder to upper folder (it's a bug) | |
grunt run | |
Export xpi: | |
grunt build | |
rename dist to dist.xpi and then drag to Firefox and install | |
Mac: | |
sudo npm install grunt-cli bower yo generator-firefox-extension -g | |
npm install | |
bower install | |
mkdir myextension | |
cd myextension | |
yo firefox-extension myextension | |
grunt run | |
Export xpi: | |
grunt build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment