grunt-init "node" sample
This is sample output generated by the grunt-init "node" 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
"node" template, this session transcript was added afterwards. The
text after the
$ are the commands that were executed, and everything else is
If you want to see the repository exactly as it was created by grunt-init, view the "generated" branch.
$ mkdir grunt-init-node-sample && cd grunt-init-node-sample $ git init git remote add origin firstname.lastname@example.org:gruntjs/grunt-init-node-sample.git Initialized empty Git repository in /private/tmp/grunt-init-node-sample/.git/ $ git remote add origin email@example.com:gruntjs/grunt-init-node-sample.git $ grunt-init node Running "init:node" (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. "node" template notes: Project name shouldn't contain "node" or "js" and should be a unique ID not already in use at search.npmjs.org. Please answer the following: [?] Project name (grunt-init-node-sample) [?] Description (The best project ever.) [?] Version (0.1.0) [?] Project git repository (git://github.com/gruntjs/grunt-init-node-sample.git) [?] Project homepage (https://github.com/gruntjs/grunt-init-node-sample) [?] Project issues tracker (https://github.com/gruntjs/grunt-init-node-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-node-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/grunt-init-node-sample.js...OK Writing test/grunt-init-node-sample_test.js...OK Writing LICENSE-MIT...OK Writing package.json...OK Initialized from template "node". Done, without errors. $ tree -I node_modules . ├── Gruntfile.js ├── LICENSE-MIT ├── README.md ├── lib │ └── grunt-init-node-sample.js ├── package.json └── test └── grunt-init-node-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-node-sample.js ├── package.json └── test └── grunt-init-node-sample_test.js 2 directories, 6 files $ git add . $ git commit -m 'Committing sample grunt-init "node" template output.' [master (root-commit) faf005d] Committing sample grunt-init "node" template output. 8 files changed, 191 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/grunt-init-node-sample.js create mode 100644 package.json create mode 100644 test/grunt-init-node-sample_test.js