Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gruntjs/grunt-init-gruntplugin-sample
This is sample output generated by the grunt-init "gruntplugin" template.
https://github.com/gruntjs/grunt-init-gruntplugin-sample
Last synced: about 2 months ago
JSON representation
This is sample output generated by the grunt-init "gruntplugin" template.
- Host: GitHub
- URL: https://github.com/gruntjs/grunt-init-gruntplugin-sample
- Owner: gruntjs
- License: mit
- Created: 2012-10-02T19:13:35.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2021-03-22T14:47:58.000Z (almost 4 years ago)
- Last Synced: 2024-05-09T19:31:38.941Z (8 months ago)
- Language: JavaScript
- Homepage: http://gruntjs.com/
- Size: 5.86 KB
- Stars: 9
- Watchers: 7
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# grunt-init "gruntplugin" sample
This is sample output generated by the grunt-init "gruntplugin" 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][]
"gruntplugin" 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-gruntplugin-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-gruntplugin-sample && cd grunt-init-gruntplugin-sample$ git init
git remote add origin [email protected]:gruntjs/grunt-init-gruntplugin-sample.git
Initialized empty Git repository in /private/tmp/grunt-init-gruntplugin-sample/.git/$ git remote add origin [email protected]:gruntjs/grunt-init-gruntplugin-sample.git
$ grunt-init gruntplugin
Running "init:gruntplugin" (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."gruntplugin" template notes:
The grunt plugin system is still under development. For more information, see
the docs at https://github.com/gruntjs/grunt/blob/master/docs/plugins.mdPlease answer the following:
[?] Project name (grunt-init-gruntplugin-sample)
[?] Description (The best grunt plugin ever.)
[?] Version (0.1.0)
[?] Project git repository (git://github.com/gruntjs/grunt-init-gruntplugin-sample.git)
[?] Project homepage (https://github.com/gruntjs/grunt-init-gruntplugin-sample)
[?] Project issues tracker (https://github.com/gruntjs/grunt-init-gruntplugin-sample/issues)
[?] Licenses (MIT)
[?] Author name ("Cowboy" Ben Alman)
[?] Author email (none)
[?] Author url (http://benalman.com/)
[?] What versions of grunt does it require? (~0.4.0rc2)
[?] What versions of node does it run on? (>= 0.8.0)
[?] 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 tasks/init_gruntplugin_sample.js...OK
Writing test/expected/custom_options...OK
Writing test/expected/default_options...OK
Writing test/fixtures/123...OK
Writing test/fixtures/testing...OK
Writing test/init_gruntplugin_sample_test.js...OK
Writing LICENSE-MIT...OK
Writing package.json...OKInitialized from template "gruntplugin".
Done, without errors.
$ tree -I node_modules
.
├── Gruntfile.js
├── LICENSE-MIT
├── README.md
├── package.json
├── tasks
│ └── init_gruntplugin_sample.js
└── test
├── expected
│ ├── custom_options
│ └── default_options
├── fixtures
│ ├── 123
│ └── testing
└── init_gruntplugin_sample_test.js4 directories, 10 files
$ npm install >/dev/null 2>&1 # You typically want to see the output of this command.
$ grunt
Running "jshint:all" (jshint) task
>> 3 files lint free.Running "clean:tests" (clean) task
Running "init_gruntplugin_sample:default_options" (init_gruntplugin_sample) task
Warning: Cannot call method 'forEach' of undefined Use --force to continue.Aborted due to warnings.
$ tree -I node_modules
.
├── Gruntfile.js
├── LICENSE-MIT
├── README.md
├── package.json
├── tasks
│ └── init_gruntplugin_sample.js
└── test
├── expected
│ ├── custom_options
│ └── default_options
├── fixtures
│ ├── 123
│ └── testing
└── init_gruntplugin_sample_test.js4 directories, 10 files
$ git add .
$ git commit -m 'Committing sample grunt-init "gruntplugin" template output.'
[master (root-commit) bda79a6] Committing sample grunt-init "gruntplugin" template output.
12 files changed, 349 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 package.json
create mode 100644 tasks/init_gruntplugin_sample.js
create mode 100644 test/expected/custom_options
create mode 100644 test/expected/default_options
create mode 100644 test/fixtures/123
create mode 100644 test/fixtures/testing
create mode 100644 test/init_gruntplugin_sample_test.js```