This is sample output generated by the grunt-init "jquery" template.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
libs
src
test
.gitignore
.jshintrc
CONTRIBUTING.md
Gruntfile.js
LICENSE-MIT
README.md
grunt-sample.jquery.json
package.json

README.md

grunt-init "jquery" sample

This is sample output generated by the grunt-init "jquery" template.

Note: this repository was generated dynamically using grunt-init v0.2.0rc1. Instead of reporting issues here, please report any issues with this init template as grunt-init issues. Instead of watching or forking this repository, watch grunt-init instead.

Project Creation Transcript

The following is a transcript of the session in which this project and repository were created. This is not actually a part of the grunt-init "jquery" template, this session transcript was added afterwards. The text after the $ are the commands that were executed, and everything else is program output.

If you want to see the repository exactly as it was created by grunt-init, view the "generated" branch.

Note that this entire build process is automated by a rather complex expect script, which is used to automate grunt-init in order to facilitate the creation of this and other sample repositories.

$ mkdir grunt-init-jquery-sample && cd grunt-init-jquery-sample

$ git init
Initialized empty Git repository in /private/tmp/grunt-init-jquery-sample/.git/

$ git remote add origin git@github.com:gruntjs/grunt-init-jquery-sample.git

$ grunt-init jquery
Running "init:jquery" (init) task
This task will create one or more files in the current directory, based on the
environment and the answers to a few questions. Note that answering "?" to any
question will show question-specific help and answering "none" to most questions
will leave its value blank.

"jquery" template notes:
Project name should not contain "jquery" or "js" and should be a unique ID not
already in use at plugins.jquery.com. Project title should be a human-readable
title, and doesn't need to contain the word "jQuery", although it may. For
example, a plugin titled "Awesome jQuery Plugin" might have the name
"awesome-plugin". For more information please see the documentation at
https://github.com/jquery/plugins.jquery.com/blob/master/docs/manifest.md

Please answer the following:
[?] Project name (grunt-init-jquery-sample) grunt-sample
[?] Project title (Grunt Sample) Sample Grunt jQuery Plugin
[?] Description (The best jQuery plugin ever.) 
[?] Version (0.1.0) 
[?] Project git repository (git://github.com/gruntjs/grunt-init-jquery-sample.git) 
[?] Project homepage (https://github.com/gruntjs/grunt-init-jquery-sample) 
[?] Project issues tracker (https://github.com/gruntjs/grunt-init-jquery-sample/issues) 
[?] Licenses (MIT) 
[?] Author name ("Cowboy" Ben Alman) 
[?] Author email (none) 
[?] Author url (http://benalman.com/) 
[?] Required jQuery version (*) 
[?] Do you need to make any changes to the above before continuing? (y/N) 

Writing .gitignore...OK
Writing .jshintrc...OK
Writing .npmignore...OK
Writing CONTRIBUTING.md...OK
Writing Gruntfile.js...OK
Writing README.md...OK
Writing libs/jquery-loader.js...OK
Writing libs/jquery/jquery.js...OK
Writing libs/qunit/qunit.css...OK
Writing libs/qunit/qunit.js...OK
Writing src/.jshintrc...OK
Writing src/grunt-sample.js...OK
Writing test/.jshintrc...OK
Writing test/grunt-sample.html...OK
Writing test/grunt-sample_test.js...OK
Writing LICENSE-MIT...OK
Writing package.json...OK
Writing grunt-sample.jquery.json...OK

Initialized from template "jquery".

Done, without errors.

$ tree -I node_modules
.
├── CONTRIBUTING.md
├── Gruntfile.js
├── LICENSE-MIT
├── README.md
├── grunt-sample.jquery.json
├── libs
│   ├── jquery
│   │   └── jquery.js
│   ├── jquery-loader.js
│   └── qunit
│       ├── qunit.css
│       └── qunit.js
├── package.json
├── src
│   └── grunt-sample.js
└── test
    ├── grunt-sample.html
    └── grunt-sample_test.js

5 directories, 13 files

$ npm install >/dev/null 2>&1 # You typically want to see the output of this command.

$ grunt
Running "jshint:gruntfile" (jshint) task
>> 1 file lint free.

Running "jshint:src" (jshint) task
>> 1 file lint free.

Running "jshint:test" (jshint) task
>> 1 file lint free.

Running "qunit:files" (qunit) task
Testing grunt-sample.html....OK
>> 5 assertions passed (25ms)

Running "concat:dist" (concat) task
File "dist/grunt-sample.js" created.

Running "uglify:dist" (uglify) task
File "dist/grunt-sample.min.js" created.
Uncompressed size: 876 bytes.
Compressed size: 178 bytes gzipped (305 bytes minified).

Done, without errors.

$ tree -I node_modules
.
├── CONTRIBUTING.md
├── Gruntfile.js
├── LICENSE-MIT
├── README.md
├── dist
│   ├── grunt-sample.js
│   └── grunt-sample.min.js
├── grunt-sample.jquery.json
├── libs
│   ├── jquery
│   │   └── jquery.js
│   ├── jquery-loader.js
│   └── qunit
│       ├── qunit.css
│       └── qunit.js
├── package.json
├── src
│   └── grunt-sample.js
└── test
    ├── grunt-sample.html
    └── grunt-sample_test.js

6 directories, 15 files

$ git add .

$ git commit -m 'Committing sample grunt-init "jquery" template output.'
[master (root-commit) 3c400f2] Committing sample grunt-init "jquery" template output.
 19 files changed, 11748 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 .jshintrc
 create mode 100644 CONTRIBUTING.md
 create mode 100644 Gruntfile.js
 create mode 100644 LICENSE-MIT
 create mode 100644 README.md
 create mode 100644 dist/grunt-sample.js
 create mode 100644 dist/grunt-sample.min.js
 create mode 100644 grunt-sample.jquery.json
 create mode 100644 libs/jquery-loader.js
 create mode 100644 libs/jquery/jquery.js
 create mode 100644 libs/qunit/qunit.css
 create mode 100644 libs/qunit/qunit.js
 create mode 100644 package.json
 create mode 100644 src/.jshintrc
 create mode 100644 src/grunt-sample.js
 create mode 100644 test/.jshintrc
 create mode 100644 test/grunt-sample.html
 create mode 100644 test/grunt-sample_test.js