This is sample output generated by the grunt-init "commonjs" 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.
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
"commonjs" 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-commonjs-sample && cd grunt-init-commonjs-sample
$ git init
git remote add origin git@github.com:gruntjs/grunt-init-commonjs-sample.git
Initialized empty Git repository in /private/tmp/grunt-init-commonjs-sample/.git/
$ git remote add origin git@github.com:gruntjs/grunt-init-commonjs-sample.git
$ grunt-init commonjs
Running "init:commonjs" (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.
Please answer the following:
[?] Project name (grunt-init-commonjs-sample)
[?] Description (The best project ever.)
[?] Version (0.1.0)
[?] Project git repository (git://github.com/gruntjs/grunt-init-commonjs-sample.git)
[?] Project homepage (https://github.com/gruntjs/grunt-init-commonjs-sample)
[?] Project issues tracker (https://github.com/gruntjs/grunt-init-commonjs-sample/issues)
[?] Licenses (MIT)
[?] Author name ("Cowboy" Ben Alman)
[?] Author email (none)
[?] Author url (http://benalman.com/)
[?] What versions of node does it run on? (>= 0.6.0)
[?] Main module/entry point (lib/grunt-init-commonjs-sample)
[?] Npm test command (grunt nodeunit)
[?] Do you need to make any changes to the above before continuing? (y/N)
Writing .gitignore...OK
Writing .jshintrc...OK
Writing .npmignore...OK
Writing Gruntfile.js...OK
Writing README.md...OK
Writing lib/.jshintrc...OK
Writing lib/grunt-init-commonjs-sample.js...OK
Writing test/grunt-init-commonjs-sample_test.js...OK
Writing LICENSE-MIT...OK
Writing package.json...OK
Initialized from template "commonjs".
Done, without errors.
$ tree -I node_modules
.
├── Gruntfile.js
├── LICENSE-MIT
├── README.md
├── lib
│ └── grunt-init-commonjs-sample.js
├── package.json
└── test
└── grunt-init-commonjs-sample_test.js
2 directories, 6 files
$ npm install >/dev/null 2>&1 # You typically want to see the output of this command.
$ grunt
Warning: Task "jshint" not found. Use --force to continue.
Aborted due to warnings.
$ tree -I node_modules
.
├── Gruntfile.js
├── LICENSE-MIT
├── README.md
├── lib
│ └── grunt-init-commonjs-sample.js
├── package.json
└── test
└── grunt-init-commonjs-sample_test.js
2 directories, 6 files
$ git add .
$ git commit -m 'Committing sample grunt-init "commonjs" template output.'
[master (root-commit) 675446a] Committing sample grunt-init "commonjs" template output.
9 files changed, 268 insertions(+)
create mode 100644 .gitignore
create mode 100644 .jshintrc
create mode 100644 Gruntfile.js
create mode 100644 LICENSE-MIT
create mode 100644 README.md
create mode 100644 lib/.jshintrc
create mode 100644 lib/grunt-init-commonjs-sample.js
create mode 100644 package.json
create mode 100644 test/grunt-init-commonjs-sample_test.js