Javascript mozilla插件的开发

Javascript mozilla插件的开发,javascript,firefox,firefox-addon,Javascript,Firefox,Firefox Addon,我对mozilla插件开发非常陌生。发现很难快速启动 我正在寻找基本mozilla插件的样板 包括: live-reload : for any change in files, to automatically create new xpi and automatically install in firefox configuration : some constant values like version no, name etc, i can use in html files an

我对mozilla插件开发非常陌生。发现很难快速启动

我正在寻找基本mozilla插件的样板

包括:

live-reload  : for any change in files, to automatically create new xpi and automatically install in firefox
configuration : some constant values like version no, name etc, i can use in html files and in js files. (if i change any one should automatically update everywhere)
debugging : if i add console.log to anywhere, should print on terminal or console of browser
distributing : to automatically concat and minify the source code, and prepare xpi file for the same
我可以举一个非常好的web开发示例

firefox插件开发是否有类似的功能

提供了用于配置的API,其模块系统可用于声明常量一次,它提供了一个,SDK有一个模块系统,允许按需加载模块,从而减少启动开销

我强烈建议爆炸,如果你只是看看,大多数答案都在那里