The chaijs.com website source code. Contributions welcome.
Download all dependencies:
$ git submodule update --init
$ npm install
Generate docs and start the doc-server:
$ make
This happens automatically! Every day we have an automated build process which looks for npm modules with the chai-plugin keyword. If you publish a chai plugin to npm then make sure it has the keywords array in the package.json that includes the string "chai-plugin". Like so:
{
"name": "my-awesome-chai-plugin",
"keywords": [ "chai-plugin" ]
}If your plugin supports web browsers, as well as node.js, then you can add the "browser" keyword. If your plugin only supports browsers, then add both "browser" and "browser-only" keywords:
{
"name": "chai-dom",
"keywords": [ "chai-plugin", "browser", "browser-only" ]
}