You start with this:
And must end up with this:
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| concat: { | |
| scripts: { | |
| src: [ | |
| 'src/js/modules/nav.js', |
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| concat: { | |
| scripts: { | |
| src: [ | |
| 'src/js/modules/nav.js', |
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| concat: { | |
| scripts: { | |
| src: [ | |
| 'src/js/modules/nav.js', |
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| concat: { | |
| scripts: { | |
| src: [ | |
| 'src/js/modules/nav.js', |
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| concat: { | |
| scripts: { | |
| src: [ | |
| 'src/js/modules/nav.js', |
| { | |
| "name": "my-example", | |
| "version": "1.0.0", | |
| "devDependencies": { | |
| } | |
| } |
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| spritesheet: { | |
| compile: { | |
| options: { | |
| output: { |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Automating spritesheet creation with GruntJS</title> | |
| <link href="styles/spritesheet.css" rel="stylesheet" type="text/css"> | |
| </head> | |
| <body> | |
| <h1 class="sprite sprite.logo">Logo</h1> | |
| </body> | |
| </html> |
| <?xml version="1.0"?> | |
| <config> | |
| <root type="panorama" width="15302"> | |
| <backgrounds> | |
| <texture src="camping/panorama-1.atf" /> | |
| <texture src="camping/panorama-2.atf" /> | |
| <texture src="camping/panorama-3.atf" /> | |
| <texture src="camping/panorama-4.atf" /> | |
| <texture src="camping/panorama-5.atf" /> | |
| <texture src="camping/panorama-6.atf" /> |