form-js
Version:
Create better ui form elements. Supports IE9+, all modern browsers, and mobile.
53 lines (29 loc) • 1.69 kB
Markdown
# Contributing to Form
There are several ways of contributing to Form.
* Help improve the documentation
* Report an issue by creating an [issue on Github](https://github.com/mkay581/formjs/issues/new).
* Help with any open [issues](https://github.com/mkay581/element-kit/issues). The most accurate and clearly written issues are more likely to be fixed sooner.
* Contribute to the code base.
## Reporting an issue
To save everyone time and make it much more likely for your issue to be understood, worked on and resolved quickly, it would help if you're mindful of [How to Report Bugs Effectively](http://www.chiark.greenend.org.uk/~sgtatham/bugs.html) when pressing the "Submit new issue" button.
## Contributing to the code base
Pick [an issue](https://github.com/mkay581/formjs/issues) to fix, or pitch
new features. To avoid wasting your time, please ask for feedback on feature
suggestions with [an issue](https://github.com/mkay581/formjs/issues/new).
### Run the tests
#### On Node
$ npm test
#### In the browser
Some tests needs working XHR to pass. To run the tests over an HTTP server, run
$ grunt bt:test:qunit:server
##### Testing in development
Open [localhost:7755/](http://localhost:7755/) in a browser which is done via browserify.
You can also debug test files in the browser. The files are also watched so the build will recompile when you make edits to them.
### Do a build
To do a production-like build, run:
$ grunt bt:build
Which will build the project into the `dist` folder.
To do a local build and have the files get watched as you edit them, run:
$ grunt bt:build:local
### Publish the JSdocs
$ grunt publish_docs