Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
CLI tool for Mozilla Add-on SDK
JavaScript
branch: master
Failed to load latest commit information.
bin
node_modules
search
support
test
.gitignore Fix fs module to remove dependency to node's global Buffer.
.travis.yml
History.md Add travis config and readme.
Readme.md
buffer.js
core.js
extract.js Bundle external dependencies.
fs.js
graph.js Remove custom path module in favour of SDKs build-in one.
io.js
linker.js
package.json
path.js
reactive.js
requirement.js
search.js
stream.js

Readme.md

cfx-js

Build Status

CLI tool for Mozilla Add-on SDK. This is prototype implementation of an Add-on SDK linker / compiler described in JEP Linker.

Install

git clone https://github.com/Gozala/cfx-js.git
cd cfx-js
npm link

Test

npm test

Usage

Once you install package you can use nodejs to test functionality that is already implemented by running appropriate commands from an addon folder:

cd tests/fixtures/a
# backwards compatible mode
node ../../../bin/cfx.js ./main.js ../JETPACK_PATH/1.8/ --compatible

# backwards incompatible mode
node ../../../bin/cfx.js ./main.js ../JETPACK_PATH/2.0
Something went wrong with that request. Please try again.