This project requires Grunt to use the requirerd Grunt Plugins and run the specified tasks.
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins.
Generate the projects documentation. Subsequently running clean:docs and jsduck tasks.
Build the project. Subsequently running jshint, clean:dist, chromeManifest:dist, exec:dev and copy:dev tasks.
Run the tests. Subsequently running connect task.
Build the project. Subsequently running jshint, clean:dist, chromeManifest:dist, exec:production, imagemin, copy:dist, compress and docs tasks.
Watch the project for changes triggeering the grunt dev task.
See grunt build task.
Subtasks are split into seperate files inside grunt/.
Create the Chrome Dev Tools manifest.json file.
Read more on:
- target
clean:distcleans thedist/directory. Automatically run forbuild,devandwatchtasks. - target
clean:docscleans thedocs/directory. Automatically run fordocsandbuildtasks.
NOTE: You don't need to run this task or its targets manually.
Read more on:
Compress dist/ to package/AppInspector.zip.
Read more on:
Copy resources from app/ and app/AppInspector/build/production/AI to dist/.
- target
copy:distforgrunt buildorgrunttasks. - target
copy:devforgrunt:devtask.
Read more on:
Task to run
- target
exec:devsencha -q app build -e testing -c - target
exec:productionsencha -q app build -e productioncommands.
Read more on:
- http://docs.sencha.com/extjs/4.2.1/#!/guide/command_reference
- https://www.npmjs.org/package/grunt-exec
Generates a git pre-commit hook to run the jshint task on every commit, aborting the commit if any linting errors exist.
NOTE: Only run this task once manually using grunt githooks or if adding new hooks.
Read more on:
Optimise, compress and copy image assets.
Read more on:
Generate duckumentation!
Read more on:
Lint Gruntfile.js, app/AppInspector/app.js and all *.js files in app/AppInspector/app/. It uses the .jshintrc` file containing the linting rules.
Read more on:
Start a connect web server for running the tests on Siesta Lite. It opens the Siesta's test page in your default browser.
The port number will be used in 8333, but if you have already used it, please change it as you like.
Read more on:


