Generate PropTypes from JSON (try it online):
With some limitations:
- Can't take functions
- Assumes
nullisany - Assumes any value
isRequired - Only checks first value of array (assumes all other values are the same type)
- Assumes that objects with the same keys are meant to be the same shape
-
Run the tests:
rake test -
Rebuild the Javascript:
rake compile_js -
Start a preview HTTP server:
cd web && python -m SimpleHTTPServer -
Push to Github pages:
rake deploy