JavaScript Coding Dojo
What is it?
This a very simple framework for JavaScript Coding Dojo sessions, based on the "Sandbox" pattern. You can perform your exercises and write tests with Jasmine, while JSHint and the test runner Karma keep their eyes on your code - with the help of Grunt. In addition, Plato analyzes the code complexity and generates reports.
How to install?
- Install node.js and npm
- $ git clone git@github.com:nosch/javascript-coding-dojo.git "javascript-coding-dojo"
- $ cd javascript-coding-dojo
- $ npm install (installs grunt, karma and plato)
How to use?
- $ grunt kata (starts JSHint and a local webserver with livereload)
- $ grunt test (starts Karma to run and watch unit tests)
- $ grunt analyze (generates code complexity reports: reports/index.html)
- Unit tests reside in test/unit/**/*.spec.js
- Katas are located in src/kata/**/*.js
- Happy coding!