Please contribute! This is an open source project. If you would like to report a bug or suggest a feature, open an issue. Or, to open a Pull Request:
- Fork it ( http://github.com/nodecg/nodecg/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Note: Make sure you run npm install
in the root directory without the --production
flag to ensure all devDependencies
are installed.
Before creating your pull request:
- Ensure your code matches our existing style using our provided EditorConfig options.
- Ensure the existing tests pass, or are updated appropriately, with
npm test
. - For new features, you should add new tests.
Check which branch you should PR to. NodeCG is still in an unstable state, so we follow these semver guidelines:
- Bug fixes and new features go to the next 'patch' branch (
0.current.x
) - Breaking changes go to the next 'minor' branch (
0.next.0
)
- Install selenium-standalone (
npm install --global selenium-standalone
), then run the installer (selenium-standalone install
) - Open one terminal and start Selenium:
selenium-standalone start
- Open a second terminal, navigate to the NodeCG root and run
npm test
Note: Selenium requires Java.