The project contains a small demo stylesheet that can be used to develop the UI. Start watching UI code changes in lib/app and build the app using the demo stylesheets:
gulp dev
Running the task also runs a small development server, and does the same as:
gulp watch --source ./lib/app --output ./demo-output --config ./lib/app/styleguide_config.json
Run all the tests and JSCS linting with
npm test
Node module tests are ran with Mocha, UI related tests with Karma & PhantomJS.
This project follows AirBNB-ish JavaScript coding convention (with a few changes). It is tuned to use JSCS as a code checker. The checking is injected into the testing process, so you can see in Travis respond to your pull-request if your files follow the convention.
To be able to check during development, please
- run
$ gulp jscs
- use JSCS editor plugins
- use pre-commit hook
- Check that all the needed pull requests are merged
- Make sure that your clone fetched all the tags which exist in the SC5 repo
- Rebase your
master
branch against SC5 - Create
release/x.y.z
branch with the number of upcoming version and switch to it - Increment the package number in
package.json
- Run
gulp publish
- Check the
CHANGELOG.md
file. You can remove not needed items or rename them. - Commit changes
- Make a pull request from your feature branch
- Once your pull request is merged, rebase your
master
against SC5 again - Run
npm publish
- Create a versioning tag in GitHub. Insert the
CHANGELOG.md
content as a description of this versioning tag.