/grunt-init-jquery-sample

This is sample output generated by the "grunt init:jquery" task.

Primary LanguageJavaScriptMIT LicenseMIT

Grunt "init:jquery" sample

This is sample output generated by the "grunt init:jquery" task.

Note: this repository was generated dynamically using grunt v0.3.16. Instead of reporting issues here, please report any issues with this init template as grunt issues. Instead of watching or forking this repository, watch grunt and use the grunt init task.

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, view the "generated" branch.

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

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

$ git init
git remote add origin git@github.com:gruntjs/grunt-init-jquery-sample.git
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 CONTRIBUTING.md...OK
Writing grunt.js...OK
Writing libs/jquery/jquery.js...OK
Writing libs/jquery-loader.js...OK
Writing libs/qunit/qunit.css...OK
Writing libs/qunit/qunit.js...OK
Writing README.md...OK
Writing src/grunt-sample.js...OK
Writing test/grunt-sample.html...OK
Writing test/grunt-sample_test.js...OK
Writing LICENSE-MIT...OK

Initialized from template "jquery".

Done, without errors.

$ tree
.
├── CONTRIBUTING.md
├── LICENSE-MIT
├── README.md
├── grunt-sample.jquery.json
├── grunt.js
├── 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

$ grunt
Running "lint:files" (lint) task
Lint free.

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

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

Running "min:dist" (min) task
File "dist/grunt-sample.min.js" created.
Uncompressed size: 523 bytes.
Compressed size: 266 bytes gzipped (380 bytes minified).

Done, without errors.

$ tree
.
├── CONTRIBUTING.md
├── LICENSE-MIT
├── README.md
├── dist
│   ├── grunt-sample.js
│   └── grunt-sample.min.js
├── grunt-sample.jquery.json
├── grunt.js
├── 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" task output.'
[master (root-commit) 6bb206b] Committing sample "grunt init:jquery" task output.
 15 files changed, 11641 insertions(+)
 create mode 100644 CONTRIBUTING.md
 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 grunt.js
 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/grunt-sample.js
 create mode 100644 test/grunt-sample.html
 create mode 100644 test/grunt-sample_test.js