Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gruntjs/grunt-init-commonjs-sample
This is sample output generated by the grunt-init "commonjs" template.
https://github.com/gruntjs/grunt-init-commonjs-sample
Last synced: about 2 months ago
JSON representation
This is sample output generated by the grunt-init "commonjs" template.
- Host: GitHub
- URL: https://github.com/gruntjs/grunt-init-commonjs-sample
- Owner: gruntjs
- License: mit
- Created: 2012-10-02T19:13:05.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2021-03-22T14:47:37.000Z (almost 4 years ago)
- Last Synced: 2024-11-09T12:08:21.603Z (2 months ago)
- Language: JavaScript
- Homepage: http://gruntjs.com/
- Size: 4.88 KB
- Stars: 7
- Watchers: 6
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# grunt-init "commonjs" sample
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][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][]
"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][generated].**[grunt-init]: https://github.com/gruntjs/grunt-init
[issues]: https://github.com/gruntjs/grunt-init/issues
[init]: https://github.com/gruntjs/grunt/blob/master/docs/task_init.md
[expect]: https://github.com/gruntjs/grunt-init/blob/master/dev/generate.exp
[generated]: https://github.com/gruntjs/grunt-init-commonjs-sample/tree/generatedNote that this entire build process is automated by a rather complex [expect
script][expect], 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 [email protected]:gruntjs/grunt-init-commonjs-sample.git
Initialized empty Git repository in /private/tmp/grunt-init-commonjs-sample/.git/$ git remote add origin [email protected]: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...OKInitialized 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.js2 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.js2 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```