CONTRIBUTING
January 31, 2017 ยท View on GitHub
Setup
$ git clone YOUR_NACHOS_UI_REPO_URL
$ cd nachos-ui
$ yarn install
$ yarn run start:web
Building components
All components are located inside the src folder.
$ yarn run build
Before making a pull request run:
$ yarn run fmt
It uses Prettier and ESLint internally to unify the codebase style.
Edit documentation
Documentation for each component is located in docs folder.
To see documentation locally run:
$ yarn run docs
$ yarn run docs:run
Then open your browser and visit http://127.0.0.1:8080 to see the documentation.
Testing
$ yarn run test
Watch files for changes and rerun tests.
$ yarn run test:watch
Pull Requests
We actively welcome your pull requests.
- Fork the repo and create your branch from
master. - If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
License
By contributing to Nachos UI, you agree that your contributions will be licensed under its MIT license.