If you'd like to contribute to or modify secure-filters, here's a quick guide to get you started.
- node.js >= 0.10
Download via GitHub and install npm dependencies:
git clone [email protected]:salesforce/secure-filters.git
cd secure-filters
npm install
Testing is with the mocha framework.
Tests are located in the tests/
directory.
The unit tests are run twice: once under node.js and once under
PhantomJS. PhantomJS test files are located in the
static/
directory.
To run the tests:
npm test
npm version patch
(incrementsx
inz.y.x
, then makes a commit for package.json, tags that commit)git push --tags origin master
npm publish
Go to https://npmjs.org/package/secure-filters and verify it published (can take several minutes)
Contributions to Salesforce.com open-source projects currently requires a CLA. Please contact one of the project maintainers to get a copy.