Data grid for React.
run npm install
You can then just run gulp
this will:
- compile all the jsx into js
- wrap up all the examples registered under
\examples
- compile less -> css
- fire up a server and open a test page
To add any other examples, you just need to:
- Add a .js file under the examples folder that returns a react component by
module.exports = someNewExample
- in examples\index.js register this by adding
components.push({id:'Name for your component', module:require('./nameOfYourFile') });
This will then add a new menu to the examples.html page
we are using jasmine for tests and these can either be run in a standalone page by running gulp tests-launch
*note: you need to run bower install
first
For automation, we are using karma
To run the tests use gulp tests
To watch for file changes, use
this is a work in progress, and wont watch your files unless you first run gulp tdd
gulp tests-build
to do our react/browserify transforms
React Grid is free software created by [Prometheus Research][] and is released under the MIT.