node-firefox-build-tools

Common configs and tasks for hacking on node-firefox

Usage no npm install needed!

<script type="module">
  import nodeFirefoxBuildTools from 'https://cdn.skypack.dev/node-firefox-build-tools';
</script>

README

node-firefox-build-tools

Common build tasks and configuration files for the node-firefox project.

Install with NPM

Right now this is just a set of common gulp tasks and style checks.

Usage

Install first: npm install --save-dev node-firefox-build-tools.

If you are not using gulp in your module yet, now is the right time to add it:

npm install --save-dev gulp

Then either create a gulpfile.js or edit the existing one to start using the build tools:

var gulp = require('gulp');
var buildTools = require('node-firefox-build-tools');

buildTools.loadGulpTasks(gulp);

Available tasks

lint

Run quality and style checks on your code.

nodeunit

Run all nodeunit tests matching tests/unit/**/test.*.js

test

Run linters and tests. You may want to override this task.

watch

Run linters and tests whenever code is updated. This is handy if you want instant feedback on code you write! (This is the default task.)

License

This program is free software; it is distributed under an Apache License.

Copyright

Copyright (c) 2015 Mozilla (Contributors).