npm install -g grunt-cli
npm install
- test your setup by running
grunt
As soon as your environment is set up you can see directives demo by:
- starting a build-in web server:
grunt server
- pointing your favorite browser to http://127.0.0.1:8000/src/
grunt tdd
- for TDD development. This will watch source and test files running all the test on each change.grunt
- default build. This will lint the code and run all the tests.