Nucleus is a JavaScript application meant to be installed with NPM and run on NodeJS. It has some other module dependencies as well which could require additional system features. Every modification are automatically tested on multiple NodeJS version with Travis-CI. For now, the lowest tested version is NodeJS v6.
To always have Nucleus at hand, install it globally and use it for all your projects.
npm i -g nucleus-styleguide
To have separate Nucleus installations on a per project basis, add it to the project.json file or install it as a dev dependency.
npm i --save-dev nucleus-styleguide
This documentation is assuming you've installed Nucleus globally. If you've decided for the local setup, you've got to run it like
node ./node_modules/.bin/nucleus
For easier access, define a script in your package.json
"scripts": {
"styleguide": "nucleus --config config.nucleus.json"
}
Run it as easy as
npm run styleguide
With Nucleus, it's a piece of cake to create a new configuration. Just go with the built-in setup.
nucleus init
If you like to stay away from wizards, head over to the configuration section