-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnpm-debug.log
More file actions
267 lines (267 loc) · 39.9 KB
/
Copy pathnpm-debug.log
File metadata and controls
267 lines (267 loc) · 39.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/0.10.5/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'publish' ]
2 info using npm@1.2.18
3 info using node@v0.10.5
4 verbose publish [ '.' ]
5 verbose read json /Users/rlebeau/Sites/Personal/generator-stacked/package.json
6 verbose cache add [ '.', null ]
7 verbose cache add name=undefined spec="." args=[".",null]
8 verbose parsed url { protocol: null,
8 verbose parsed url slashes: null,
8 verbose parsed url auth: null,
8 verbose parsed url host: null,
8 verbose parsed url port: null,
8 verbose parsed url hostname: null,
8 verbose parsed url hash: null,
8 verbose parsed url search: null,
8 verbose parsed url query: null,
8 verbose parsed url pathname: '.',
8 verbose parsed url path: '.',
8 verbose parsed url href: '.' }
9 silly lockFile 3a52ce78- .
10 verbose lock . /Users/rlebeau/.npm/3a52ce78-.lock
11 verbose read json package.json
12 verbose tar pack [ '/var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/tmp.tgz',
12 verbose tar pack '.' ]
13 verbose tarball /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/tmp.tgz
14 verbose folder .
15 info prepublish generator-stacked@0.0.0
16 silly lockFile 3a52ce78- .
17 verbose lock . /Users/rlebeau/.npm/3a52ce78-.lock
18 silly lockFile d020ad7d-8412-0-19867639522999525-tmp-tgz /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/tmp.tgz
19 verbose lock /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/tmp.tgz /Users/rlebeau/.npm/d020ad7d-8412-0-19867639522999525-tmp-tgz.lock
20 silly lockFile 3a52ce78- .
21 silly lockFile 3a52ce78- .
22 silly lockFile d020ad7d-8412-0-19867639522999525-tmp-tgz /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/tmp.tgz
23 silly lockFile d020ad7d-8412-0-19867639522999525-tmp-tgz /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/tmp.tgz
24 verbose tar unpack /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/tmp.tgz
25 silly lockFile 528647bf-8412-0-19867639522999525-package /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package
26 verbose lock /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package /Users/rlebeau/.npm/528647bf-8412-0-19867639522999525-package.lock
27 silly lockFile d020ad7d-8412-0-19867639522999525-tmp-tgz /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/tmp.tgz
28 verbose lock /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/tmp.tgz /Users/rlebeau/.npm/d020ad7d-8412-0-19867639522999525-tmp-tgz.lock
29 silly gunzTarPerm modes [ '755', '644' ]
30 silly gunzTarPerm extractEntry package.json
31 silly gunzTarPerm extractEntry .npmignore
32 silly gunzTarPerm extractEntry README.md
33 silly gunzTarPerm extractEntry LICENSE
34 silly gunzTarPerm extractEntry app/index.js
35 silly gunzTarPerm extractEntry app/templates/_Gruntfile.js
36 silly gunzTarPerm extractEntry app/templates/_package.json
37 silly gunzTarPerm extractEntry app/templates/_.bowerrc
38 silly gunzTarPerm extractEntry app/templates/_LICENSE-MIT
39 silly gunzTarPerm extractEntry app/templates/_README.md
40 silly gunzTarPerm extractEntry app/templates/_bower.json
41 silly gunzTarPerm extractEntry app/templates/_.gitignore
42 silly gunzTarPerm extractEntry app/templates/_travis.yml
43 silly gunzTarPerm extractEntry app/templates/editorconfig
44 silly gunzTarPerm extractEntry app/templates/jshintrc
45 silly gunzTarPerm extractEntry app/templates/public/_Backbone.validateAll.js
46 silly gunzTarPerm extractEntry app/templates/public/_Init.js
47 silly gunzTarPerm extractEntry app/templates/public/_Model.js
48 silly gunzTarPerm extractEntry app/templates/public/_Router.js
49 silly gunzTarPerm extractEntry app/templates/public/_Collection.js
50 silly gunzTarPerm extractEntry app/templates/public/_View.js
51 silly gunzTarPerm extractEntry app/templates/public/_TestInit.js
52 silly gunzTarPerm extractEntry app/templates/public/_spec.js
53 silly gunzTarPerm extractEntry app/templates/public/_Template.html
54 silly gunzTarPerm extractEntry app/templates/public/_SpecRunner.html
55 silly gunzTarPerm extractEntry app/templates/public/_app.css
56 silly gunzTarPerm extractEntry app/templates/public/_custom.css
57 silly gunzTarPerm extractEntry app/templates/public/_custom.less
58 silly gunzTarPerm extractEntry app/templates/public/_favicon.ico
59 silly gunzTarPerm extractEntry app/templates/public/_index.html
60 silly gunzTarPerm extractEntry app/templates/public/_jasmine-favicon.png
61 silly gunzTarPerm extractEntry app/templates/public/_jasmine.css
62 silly gunzTarPerm extractEntry app/templates/public/_ajax-loader.gif
63 silly gunzTarPerm extractEntry app/templates/server/_API.js
64 silly gunzTarPerm extractEntry app/templates/server/_config.js
65 silly gunzTarPerm extractEntry app/templates/server/_server.js
66 silly gunzTarPerm extractEntry app/templates/server/_spec.js
67 silly gunzTarPerm extractEntry app/templates/travis.yml
68 silly gunzTarPerm extractEntry .editorconfig
69 silly gunzTarPerm extractEntry .jshintrc
70 silly gunzTarPerm extractEntry .gitattributes
71 silly gunzTarPerm extractEntry model/index.js
72 silly gunzTarPerm extractEntry model/templates/_Collection.js
73 silly gunzTarPerm extractEntry model/templates/_Model.js
74 silly gunzTarPerm extractEntry model/templates/somefile.js
75 silly gunzTarPerm extractEntry mvc/index.js
76 silly gunzTarPerm extractEntry mvc/templates/_Collection.js
77 silly gunzTarPerm extractEntry mvc/templates/_Model.js
78 silly gunzTarPerm extractEntry mvc/templates/_View.js
79 silly gunzTarPerm extractEntry mvc/templates/somefile.js
80 silly gunzTarPerm extractEntry mvc/templates/_Template.html
81 silly gunzTarPerm extractEntry test/test-creation.js
82 silly gunzTarPerm extractEntry test/test-load.js
83 silly gunzTarPerm extractEntry .travis.yml
84 silly gunzTarPerm extractEntry view/index.js
85 silly gunzTarPerm extractEntry view/templates/_View.js
86 silly gunzTarPerm extractEntry view/templates/somefile.js
87 silly gunzTarPerm extractEntry view/templates/_Template.html
88 verbose read json /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package/package.json
89 silly lockFile 528647bf-8412-0-19867639522999525-package /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package
90 silly lockFile 528647bf-8412-0-19867639522999525-package /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package
91 silly lockFile d020ad7d-8412-0-19867639522999525-tmp-tgz /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/tmp.tgz
92 silly lockFile d020ad7d-8412-0-19867639522999525-tmp-tgz /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/tmp.tgz
93 verbose from cache /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package/package.json
94 verbose tar pack [ '/Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz',
94 verbose tar pack '/var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package' ]
95 verbose tarball /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz
96 verbose folder /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package
97 silly lockFile 528647bf-8412-0-19867639522999525-package /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package
98 verbose lock /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package /Users/rlebeau/.npm/528647bf-8412-0-19867639522999525-package.lock
99 silly lockFile fe06b21b-erator-stacked-0-0-0-package-tgz /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz
100 verbose lock /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz /Users/rlebeau/.npm/fe06b21b-erator-stacked-0-0-0-package-tgz.lock
101 silly lockFile 528647bf-8412-0-19867639522999525-package /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package
102 silly lockFile 528647bf-8412-0-19867639522999525-package /var/folders/yg/bm_zgjxs1gn6x519msf_517r000109/T/npm-3511/1376247198412-0.19867639522999525/package
103 silly lockFile fe06b21b-erator-stacked-0-0-0-package-tgz /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz
104 silly lockFile fe06b21b-erator-stacked-0-0-0-package-tgz /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz
105 silly lockFile 4aadf321--generator-stacked-0-0-0-package /Users/rlebeau/.npm/generator-stacked/0.0.0/package
106 verbose lock /Users/rlebeau/.npm/generator-stacked/0.0.0/package /Users/rlebeau/.npm/4aadf321--generator-stacked-0-0-0-package.lock
107 silly lockFile 4aadf321--generator-stacked-0-0-0-package /Users/rlebeau/.npm/generator-stacked/0.0.0/package
108 silly lockFile 4aadf321--generator-stacked-0-0-0-package /Users/rlebeau/.npm/generator-stacked/0.0.0/package
109 verbose tar unpack /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz
110 silly lockFile 4aadf321--generator-stacked-0-0-0-package /Users/rlebeau/.npm/generator-stacked/0.0.0/package
111 verbose lock /Users/rlebeau/.npm/generator-stacked/0.0.0/package /Users/rlebeau/.npm/4aadf321--generator-stacked-0-0-0-package.lock
112 silly lockFile fe06b21b-erator-stacked-0-0-0-package-tgz /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz
113 verbose lock /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz /Users/rlebeau/.npm/fe06b21b-erator-stacked-0-0-0-package-tgz.lock
114 silly gunzTarPerm modes [ '755', '644' ]
115 silly gunzTarPerm extractEntry package.json
116 silly gunzTarPerm extractEntry .npmignore
117 silly gunzTarPerm extractEntry README.md
118 silly gunzTarPerm extractEntry LICENSE
119 silly gunzTarPerm extractEntry .travis.yml
120 silly gunzTarPerm extractEntry .jshintrc
121 silly gunzTarPerm extractEntry .gitattributes
122 silly gunzTarPerm extractEntry app/index.js
123 silly gunzTarPerm extractEntry app/templates/_Gruntfile.js
124 silly gunzTarPerm extractEntry app/templates/_package.json
125 silly gunzTarPerm extractEntry app/templates/_.bowerrc
126 silly gunzTarPerm extractEntry app/templates/_LICENSE-MIT
127 silly gunzTarPerm extractEntry app/templates/_README.md
128 silly gunzTarPerm extractEntry app/templates/_bower.json
129 silly gunzTarPerm extractEntry app/templates/_.gitignore
130 silly gunzTarPerm extractEntry app/templates/_travis.yml
131 silly gunzTarPerm extractEntry app/templates/editorconfig
132 silly gunzTarPerm extractEntry app/templates/jshintrc
133 silly gunzTarPerm extractEntry app/templates/public/_Backbone.validateAll.js
134 silly gunzTarPerm extractEntry app/templates/public/_Init.js
135 silly gunzTarPerm extractEntry app/templates/public/_Model.js
136 silly gunzTarPerm extractEntry app/templates/public/_Router.js
137 silly gunzTarPerm extractEntry app/templates/public/_Collection.js
138 silly gunzTarPerm extractEntry app/templates/public/_View.js
139 silly gunzTarPerm extractEntry app/templates/public/_TestInit.js
140 silly gunzTarPerm extractEntry app/templates/public/_spec.js
141 silly gunzTarPerm extractEntry app/templates/public/_Template.html
142 silly gunzTarPerm extractEntry app/templates/public/_SpecRunner.html
143 silly gunzTarPerm extractEntry app/templates/public/_app.css
144 silly gunzTarPerm extractEntry app/templates/public/_custom.css
145 silly gunzTarPerm extractEntry app/templates/public/_custom.less
146 silly gunzTarPerm extractEntry app/templates/public/_favicon.ico
147 silly gunzTarPerm extractEntry app/templates/public/_index.html
148 silly gunzTarPerm extractEntry app/templates/public/_jasmine-favicon.png
149 silly gunzTarPerm extractEntry app/templates/public/_jasmine.css
150 silly gunzTarPerm extractEntry app/templates/public/_ajax-loader.gif
151 silly gunzTarPerm extractEntry app/templates/server/_API.js
152 silly gunzTarPerm extractEntry app/templates/server/_config.js
153 silly gunzTarPerm extractEntry app/templates/server/_server.js
154 silly gunzTarPerm extractEntry app/templates/server/_spec.js
155 silly gunzTarPerm extractEntry app/templates/travis.yml
156 silly gunzTarPerm extractEntry model/index.js
157 silly gunzTarPerm extractEntry model/templates/_Collection.js
158 silly gunzTarPerm extractEntry model/templates/_Model.js
159 silly gunzTarPerm extractEntry model/templates/somefile.js
160 silly gunzTarPerm extractEntry mvc/index.js
161 silly gunzTarPerm extractEntry mvc/templates/_Collection.js
162 silly gunzTarPerm extractEntry mvc/templates/_Model.js
163 silly gunzTarPerm extractEntry mvc/templates/_View.js
164 silly gunzTarPerm extractEntry mvc/templates/somefile.js
165 silly gunzTarPerm extractEntry mvc/templates/_Template.html
166 silly gunzTarPerm extractEntry .editorconfig
167 silly gunzTarPerm extractEntry test/test-creation.js
168 silly gunzTarPerm extractEntry test/test-load.js
169 silly gunzTarPerm extractEntry view/index.js
170 silly gunzTarPerm extractEntry view/templates/_View.js
171 silly gunzTarPerm extractEntry view/templates/somefile.js
172 silly gunzTarPerm extractEntry view/templates/_Template.html
173 verbose read json /Users/rlebeau/.npm/generator-stacked/0.0.0/package/package.json
174 silly lockFile 4aadf321--generator-stacked-0-0-0-package /Users/rlebeau/.npm/generator-stacked/0.0.0/package
175 silly lockFile 4aadf321--generator-stacked-0-0-0-package /Users/rlebeau/.npm/generator-stacked/0.0.0/package
176 silly lockFile fe06b21b-erator-stacked-0-0-0-package-tgz /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz
177 silly lockFile fe06b21b-erator-stacked-0-0-0-package-tgz /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz
178 silly shasum updated bytes 39735
179 info shasum 3646f9f256b049b292dc666097d3de143ae256b9
179 info shasum /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz
180 verbose from cache /Users/rlebeau/.npm/generator-stacked/0.0.0/package/package.json
181 verbose chmod /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz 644
182 verbose chown /Users/rlebeau/.npm/generator-stacked/0.0.0/package.tgz [ 1033, 20 ]
183 silly lockFile 3a52ce78- .
184 silly publish { name: 'generator-stacked',
184 silly publish version: '0.0.0',
184 silly publish description: 'A Backbone.js Require.js test driven workflow.',
184 silly publish keywords:
184 silly publish [ 'yeoman-generator',
184 silly publish 'Backbone.js',
184 silly publish 'Require.js',
184 silly publish 'Mocha',
184 silly publish 'Jasmine,',
184 silly publish 'bootstrap',
184 silly publish 'backbone require boilerplate',
184 silly publish 'backbone require workflow',
184 silly publish 'test diven development',
184 silly publish 'behavior driven development',
184 silly publish 'TDD',
184 silly publish 'BDD',
184 silly publish 'Grunt',
184 silly publish 'Bower',
184 silly publish 'twitter',
184 silly publish 'workflow' ],
184 silly publish homepage: 'http://cl0udc0ntr0l.github.io/generator-stacked',
184 silly publish bugs: 'https://github.com/cl0udc0ntr0l/generator-stacked/issues',
184 silly publish author:
184 silly publish { name: 'Randy Lebeau',
184 silly publish email: 'randylebea@gmail.com',
184 silly publish url: 'https://github.com/cl0udc0ntr0l' },
184 silly publish main: 'app/index.js',
184 silly publish repository:
184 silly publish { type: 'git',
184 silly publish url: 'git://github.com/cl0udc0ntr0l/generator-stacked.git' },
184 silly publish scripts: { test: 'mocha' },
184 silly publish dependencies: { 'yeoman-generator': '~0.12.0' },
184 silly publish devDependencies: { mocha: '~1.10.0' },
184 silly publish engines: { node: '>=0.8.0' },
184 silly publish licenses: [ { type: 'MIT' } ],
184 silly publish readme: '\n\n> A Backbone.js and Require.js Test Driven Workflow inspired by [Greg Franko](http://gregfranko.com/)\'s [Backbone-Require-Boilerplate-Lite](https://github.com/BoilerplateMVC/Backbone-Require-Boilerplate-Lite). Together we promote decoupling your JavaScript into modules, separating business logic from application logic using Collections/Models and Views, including non-AMD Compatible Third Party Scripts in your project, optimizing all of your JavaScript (minify, concatenate, etc), and unit testing your JavaScript all while minimizing the time it takes to perform monotonous tasks.\n\n<hr>\n\nWebsite: [cl0udc0ntr0l.github.io/generator-stacked](http://cl0udc0ntr0l.github.io/generator-stacked)\n\nNPM: [npmjs.org/package/generator-stacked](https://npmjs.org/package/generator-stacked)\n\nRepository: [github.com/cl0udc0ntr0l/generator-stacked](https://github.com/cl0udc0ntr0l/generator-stacked)\n\nBugs: [github.com/cl0udc0ntr0l/generator-stacked/issues](https://github.com/cl0udc0ntr0l/generator-stacked/issues)\n\n<hr>\n\n## THE WORKFLOW\n<img src="http://cl0udc0ntr0l.github.io/generator-stacked/img/toolset.png" width="100%">\n\nThe Stacked workflow is comprised of 8 tools for improving your productivity and satisfaction when building a web app: yo (the scaffolding tool), grunt (the build tool), npm (for sever side package management), mocha (for server side unit testing), bower (for client side package management), jasmine (for client side unit testing), backbone.js (for decoupling of data logic from application logic) and require.js (for making our code modular and maintainable).\n\n## INCLUDED LIBRARIES\n- Server Side\n\t- [Express](http://expressjs.com/)\n\t- [Grunt](http://gruntjs.com/mo)\n\t- [Mocha](http://visionmedia.github.io/mocha/)\n\t- [r.js](http://requirejs.org/docs/optimization.html)\n\t- [Nodemon](https://github.com/ChrisWren/grunt-nodemon)\n- Client Side\n\t- [Backbone.js](http://backbonejs.org/)\n\t- [Lodash](http://lodash.com/)\n\t- [Require.js](http://requirejs.org/)\n\t- [Almond.js](https://github.com/jrburke/almond)\n\t- [jQuery](http://jquery.com/)\n\t- [Jasmine](http://pivotal.github.io/jasmine/)\n\t- [Bootstrap 3.0](http://getbootstrap.com/)\n\t- [Font-Awesome](http://fortawesome.github.io/Font-Awesome/)\n\n## INSTALLATION\n1. Download and install [Node.js](http://nodejs.org/#DOWNLOAD)\n2. Install Yeoman, Grunt and Bower: `npm install -g yo` (yes it downloads them all)\n3. Install Stacked: `npm install -g generator-stacked`\n4. You\'re done! Time to generate your first Stacked App.\n\n## THE GENERATOR\nGenerate your app.\n\n\tmkdir myApp && cd $_\n\tyo stacked`\n\n<img align="right" src="http://cl0udc0ntr0l.github.io/generator-stacked/img/questions.png" alt="Prompt">\n\nStacked will ask you some questions to help you set up your app.\n\n### YOUR NAME\nYour name is injected into package.json and bower.json as the author of the app.\n\n### YOUR GITHUB USERNAME\nYour github username is used to create repository paths in package.json and bower.json\n\n### APP NAME\nThis is the name of your app. It is complete repository paths and populate other files. \n\n> In the future I may use this varible to namespace the app.\n\n### MVC SETS\nI choose the name "MVC set" to represent a backbone.js Model, Collection, View and Template. The generator automaticlly includes all your files with require.js, so you just initalize and write!\n\n> When you First create your app, the MVC option will initalize a Backbone.js Router and Require.js Init file for you. It works a little differently in the MVC Subgenerator, which we will get to in a moment.\n\n### PATH SELECTION\nThe path selector allows you to nest your Models, Views, Collections and Templates. This is to allow for a more organized enviornment. The path root is displayed for you `root -> public/js/app/[type]/` [type] being Model, View, Collection or Template. You can just continue after the forward slash `users/admin` or `user\\admin\\` The trailing slash is optional. Again... Require.js includes stay intact.\n\n> Yeoman automatically checks for file collisions and will prompt you for action. You are not in danger :)\n\n### USING LESS\nIf you want to use LESS, which you should (default is yes), you can just hit enter and Stacked will automatically include the dependencies in package.json and create grunt tasks for compiling. If you decide you would rather stick with CSS or use SASS, Stylus etc... Stacked will strip those includes from all files so you are only using what you need.\n\n### USING MOCHA\n[Backbone-Require-Boilerplate-Lite](https://github.com/BoilerplateMVC/Backbone-Require-Boilerplate-Lite) ships with Jasmine on the client, but I also wanted to have the option to use a server side testing framework. I went with mocha because I feel it\'s the most flexible. Its very easy to use after you get it all set up. Luckily Stacked takes care of that for you.\n\n# INITIALIZE THE BUILD\nAfter you make your selections, your app will be generated and all dependencies will be installed. The console will log out how to initialize your build.\n<img align="right" src="http://cl0udc0ntr0l.github.io/generator-stacked/img/after-app.png" alt="After Creation">\n\n### GRUNT INIT\nTo initalize your build type `grunt init` A few things are happening here which are good to understand and leverage.\n\n######BOOTSTRAP\nThe first thing the init task does is copy your bootstrap.css file from the bower install directory \n`public/js/libs/bootstrap/dist/css` to `public/css`\n\n> Leverage!\n> If you want to edit your bootstrap styles you could edit `public/css/bootsrap.css` or you can `cd public/js/libs/bootsrap/less` edit the less files and rebuild bootstrap, then `cd your/apps/root` and re-initialize your build to pull the new css into your `public/css` directory.\n\n######AVAILABLE BOOTSTRAP GRUNT TASKS\n\n`grunt test` Run jshint and qunit\n\n`grunt dist-js` Compile Bootstrap js\n\n`grunt dist-css` Compile Less\n\n`grunt dist` Compile Full Distribution\n\n> Be careful with updating boostrap with bower if you edit the less files. They will be overwriten with the new bootstrap install.\n\n#### FONT-AWESOME\nNext we pull in Font-Awesome CSS from bower. Any time a new version is released you can `bower update font-awesome` from your app root to update the packages and then run `grunt init` to re-initialize your app.\n\n#### LESS\nIf you chose the less option, your `public/css/includes/less/custom.less` file will be compiled to `public/css/includes/css/custom.css`\n\n#### JS\nFinally, All your JS is run through jshint and r.js. You can switch the production variable in `public/index.html` to `true` to use the minified build.\n\n> Back to our apps root directory now.\n\n### GRUNT BUILD\n\'grunt build\' will lint your javascript and run r.js to compile you production build.\n\n### GRUNT TEST\n\n`grunt test` runs jslint and mocha tests\n\n<img align="right" src="http://cl0udc0ntr0l.github.io/generator-stacked/img/grunt-tasks.png" alt="Grunt Tasks">\n\n### GRUNT SERVER\n\n`grunt server` Starts up your express server and uses nodemon to listen for changes\n\n## SUBGENERATORS\nSubgenerators create the components of your app that you use the most, Models, Collections, Views and Templates. There are three subgenerators that cover all bases. \n\n\n### MODEL\n`yo stacked:model`\n\n\nThe Model generator creates a Model and optionally, a collection\n\n### VIEW\n`yo stacked:view`\n\n\nThe view generator creates a View and optionally, a Template. There is no template generator because it really wouldn\'t save any time.\n\n### MVC\n`yo stacked:mvc`\n\n\nThe mvc generator creates a full set of backbone components, minus the Router. You will have to include your new set in your existing Router manually (for now). \n\n## BACKBONE-REQUIRE-BOILERPLATE-LITE\n> Stacked App structures are based on [Backbone-Require-Boilerplate](https://github.com/BoilerplateMVC/Backbone-Require-Boilerplate) by [Greg Franko](https://github.com/gfranko), [Nick Pack](https://github.com/nickpack) and [Brett Jones](https://github.com/brettjonesdev). \n\nI have made some enhancements to the server side.\n- Abstracted an API file: `server/API.js` file for REST calls.\n- Abstracted enviornment specific variables into a config file `server/congif/config.js`\n- Added support for mocha\n\nBelow is the documentation for [Backbone-Require-Boilerplate](https://github.com/BoilerplateMVC/Backbone-Require-Boilerplate).\n\nindex.html\n----------\nUses a large portion of the [HTML5 Boilerplate](https://github.com/h5bp/html5-boilerplate) HTML and CSS. As you continue down the page to the first `<script>` tag, you will notice there is a `production` local JavaScript variable that is used to communicate to your application whether you would like to load production or development CSS and JavaScript files.\n\n_Loading Files_\n\nThe `loadFiles()` method is then used to load all of the correct CSS and JavaScript files. Below is what get\'s included:\n\n_Production Mode_\n\nIn production mode, your app\'s single minified and concatenated JavaScript file is loaded using Almond.js instead of Require.js. Your application\'s minfied common CSS file is also included.\n\n_Development Mode_\n\nIn development mode, your app\'s non-minified JavaScript files are loaded using Require.js instead of Almond.js. Your application\'s non-minified common CSS file is also included.\n\n_Loader Methods_\n\nYou will notice that the CSS files and the Require.js file are being included on the page via the `loadFiles()` method (which uses the `loadCss()` and `loadJS()` methods internally). Require.js does not officially support [loading CSS files](http://requirejs.org/docs/faq-advanced.html#css), which is why I included the `loadCSS()` method to asynchronously include CSS files. Loading CSS asynchronously also allows the flexibilty/mechanism to load different CSS files if a user is on a mobile/desktop device.\n\n> Feel free to use the `loadCSS()` and `loadJS()` methods to load any other dependencies your application may have that you do not want to use Require.js for.\n\nInit.js\n-------------\nThis file includes your mobile Require.js configurations.\n\nIf we look at the Require.js configurations, we will see the first thing being configured are the paths. Setting paths allow you to define an alias name and file path for any file that you like.\n\nTypically, you want to set a path for any file that will be listed as a dependency in more than one module (eq. jQuery, Backbone). This saves you some typing, since you just have to list the alias name, and not the entire file path, when listing dependencies. After all of the file paths are set, you will find the Shim configuration (Added in Require.js 2.0).\n\n\nThe Shim configuration allows you to easily include non-AMD compatible JavaScript files with Require.js (a separate library such as [Use.js](https://github.com/tbranyen/use.js/) was previously needed for this). This is very important, because Backbone versions > 0.5.3 no longer support AMD (meaning you will get an error if you try to use both Require.js and the latest version of Backbone). This configuration is a much better solution than manually editing non-AMD compatible JavaScript files to make sure the code is wrapped in a `define` method. Require.js creator [James Burke](http://tagneto.blogspot.com/) previously maintained AMD compatible forks of both Backbone.js and Underscore.js because of this exact reason.\n\n```js\n shim: {\n // Backbone\n "backbone": {\n // Depends on underscore/lodash and jQuery\n "deps": ["underscore", "jquery"],\n // Exports the global window.Backbone object\n "exports": "Backbone"\n },\n }\n```\n\nThe Shim configuration also takes the place for the old Require.js `order` plugin. Within the Shim configuration, you can list files and their dependency tree. An example is jQuery plugins being dependent on jQuery:\n\n```js\n shim: {\n // Twitter Bootstrap plugins depend on jQuery\n "bootstrap": ["jquery"]\n }\n```\n\n> You do not need a shim configuration for [jQuery](http://www.jquery.com) or [lodash](https://github.com/bestiejs/lodash) because they are both AMD compatible.\n\nAfter Require.js is configured, you will notice the `require` method is called. The `require` method is asynchronously including all of the files/dependencies passed into the first parameter (jQuery, Backbone, Lodash, Router, etc) into the page.\n\nFinally, a new router instance is instantiated to allow you to use Backbone\'s routing mechanism (keep reading below for more clarification).\n\n> You don\'t need to instantiate a new router instance if you aren\'t using a Backbone Router class.\n\nRouter.js\n---------------\nThis file starts with a define method that lists jquery, backbone, and View.js as dependencies. \n\nIt is best practice to list out all of your dependencies for every file, regardless of whether or not they expose global objects and are already included in the page. This is also especially important for the Require.js optimizer (which needs to determine which files depend on which other files). \n\n> If your dependencies do not expose global objects, then it is absolutely mandatory to list it as a dependency, since Require.js does not allow global variables (meaning your modules are private and cannot be accessed by other modules or code without explicitly listing them as dependencies).\n\nThe rest of the file is a pretty standard Backbone.js Router class:\n\nThere is currently only one route listed (which gets called if there is no hash tag on the url), but feel free to create more for your application.\n\n> You must keep the `Backbone.history.start()` method call, since this is what triggers Backbone to start reacting to hashchange events.\n\nWhen your default route is invoked, a new View instance is created, which calls the render method immediately to append the header template to the page.\n\nView.js\n-----------\nView.js starts with a define method that lists all of its dependencies.\n\nThe rest of the file is a pretty standard Backbone.js View class:\n \nBackbone.js View\'s have a one-to-one relationship with DOM elements, and a View\'s DOM element is listed in the `el` property. After the `el` property is set, the View\'s model attribute is set to a new instance of the Model returned by Model.js (which was listed at the top as a dependency). Next, the View\'s `render` method is called within the View\'s constructor, aka `initialize()` method, and the View\'s `template` property is set and appended to the page using the [Underscore.js](https://github.com/documentcloud/underscore) `template` method ported to Lodash.\n\n> If you have read all of the documentation up until this point, you will most likely have already noticed that [lodash](https://github.com/bestiejs/lodash) is being used instead of Underscore.js. Apart from having a bit better cross-browser performance and stability than Underscore.js, lodash also provides a custom build process. Although I have provided a version of lodash that has all of the Underscore.js methods you would expect, you can download a custom build and swap that in. Also, it doesn\'t hurt that Lodash creator, [John-David Dalton](https://twitter.com/jdalton), is an absolute performance and API consistency maniac =)\n\nNext, you will find an `events` object. Here is where all of your View DOM event handlers associated with the HTML element referenced by your View\'s `el` property should be stored. Keep in mind that Backbone is using the jQuery `delegate` method, so it expects a selector that is within your View\'s `el` property. I did not include any events by default, so you will have to fill those in yourself. Below is an example of having an events object with one event handler that calls a View\'s `someMethod()` method when an element with a class name of _someElement_ is clicked.\n\n```js\n // View Event Handlers\n events: {\n "click .someElement": "someMethod"\n },\n```\n\nI am also declaring a `render` method within the View. Backbone expects you to override the `render` method with your own functionality, so that is what I did. All my `render` method does is append the View\'s template to the page.\n\n> You do not need to use Underscore.js templates. In fact, you don\'t need to use templates at all. I just included them so you would understand how to use them.\n\nFinally, I am returning the View class.\n\ntemplate.html\n-------------\nThis file includes a template that is included via the Require.js [text plugin](https://github.com/requirejs/text). Templates are typically a useful way for you to update your View (the DOM) if a Model attribute changes. They are also useful when you have a lot of HTML and JavaScript that you need to fit together, and instead of concatenating HTML strings inside of your JavaScript, templates provide a cleaner solution. Look at Underscore\'s documentation to read more about the syntax of Underscore.js templates.\n\nModel.js\n--------\nModel.js starts with a define method that lists jquery and backbone as dependencies.\n\nThe rest of the file is a pretty standard Backbone.js Model class.\n\nLike other Backbone.js classes, there is an `initialize()` method that acts as the Model\'s constructor function. There is also a **defaults** object that allows you to set default Model properties if you wish.\n\nFinally, The Backbone.js `validate` method is provided for you. This method is called any time an attribute of the model is set. Keep in mind that all model attributes will be validated (once set), even if a different model attribute is being set/validated. This does not make much sense to me, so if you prefer only the Model attributes that are currently being saved/set to be validated, then use the validateAll option provided by [Backbone.validateAll](https://github.com/gfranko/Backbone.validateAll).\n\nFinally, a new Model class is returned.\n\nCollection.js\n------------------\nCollection.js starts with a define method that lists jquery, backbone, and UserModel.js as dependencies.\n\nThe rest of the file is a pretty standard Backbone.js Collection class that is used to store all of your Backbone Models. The Collection model property is set to indicate that all Models that will be within this Collection class will be of type Model (the dependency that is passed into the file).\n\nFinally, a new Collection class is returned.\n\nGruntfile.js\n------------\nThis file is ready made for you to have your entire project optimized using Grunt.js, the [Require.js Optimizer](https://github.com/jrburke/r.js/) and [almond.js](https://github.com/jrburke/almond).\n\nGrunt.js is a JavaScript command line task runner that allows you to easily automate common development tasks such as code linting, minification, and unit testing.\n\n> Running the Jasmine Tasks with Grunt has not been implemented yet.\n\nAlmond.js a lightweight AMD shim library created by [James Burke](https://github.com/jrburke), the creator of Require.js. Almond is meant for small to medium sized projects that use one concatenated/minified JavaScript file. If you don\'t need some of the advanced features that Require.js provides (lazy loading, etc) then Almond.js is great for performance.\n\nBackbone-Require-Boilerplate sets you up to use Require.js in development and Almond.js in production. By default, Backbone-Require-Boilerplate is in _development_ mode, so if you want to try out the production build, read the production instructions below.\n\n**Production Build Instructions**\n\nNavigate to the root directory of the Backbone-Require-Boilerplate folder and type **grunt** and wait a few seconds for the build to complete.\n\n**Note:** If you are on a Windows machine, you will have to type `grunt.cmd`\n\nOnce the script has finished, you will see that both _DesktopInit.min.js_ and _MobileInit.min.js_, and the _mobile.min.css_ and _desktop.min.css_ files will be created/updated.\n\nNext, update the `production` local variable inside of **index.html** to be **true**.\n\nAnd that\'s it! If you have any questions just create in an issue on Github.\n\nSpecRunner.html\n---------------\nThis file is the starting point to your Jasmine test suite and outputs the results of your Jasmine tests. It includes Require.js and points it to **testInit.js** for all of the proper configurations.\n\nTestInit.js\n-----------\nThis file includes all of the Require.js configurations for your Jasmine unit tests. This file will look very similar to the **Init.js** file, but will also include Jasmine and the jasmine-jquery plugin as dependencies.\n\nYou will also notice a _specs_ array that will allow you to add as many specs files as your application needs (Specs folders are where your unit tests are). The boilerplate only includes one specs js file by default, so only one specs item is added to the array. Finally, once the specs file is included by the `require()` call, Jasmine is initialized\n\nspec.js\n-------\nThis file contains all of your Jasmine unit tests. Only seven tests are provided, with unit tests provided for Views, Models, Collections, and Routers (Mobile and Desktop). I\'d write more, but why spoil your fun? Read through the tests and use them as examples to write your own.\n\nThe entire file is wrapped in an AMD define method, with all external module (file) dependencies listed. The Jasmine tests should be self explanatory (BDD tests are supposed to describe an app\'s functionality and make sense to non-techy folk as well), but if you have any questions, just file an issue and I\'ll respond as quickly as I can.\n\n## DEMONSTRATIONS AND DOCUMENTATIONS\nIf you want to see Stacked and [Backbone-Require-Boilerplate](https://github.com/BoilerplateMVC/Backbone-Require-Boilerplate) in action, you can head over to [cl0udc0ntr0l.github.io/generator-stacked] To watch my screen cast showing the power of yeoman and Greg\'s screencast demonstrating [Backbone-Require-Boilerplate](https://github.com/BoilerplateMVC/Backbone-Require-Boilerplate). I have also included quick links to the documentation for all the libraries included in Stacked.\n\t\n## CHANGE LOG\n\n`0.0.1` - Aug 11, 2013\n- initial commit\n\n\n## TODO\n- Automatate route creation and Require.js linking in existing router\n- Add database setup (Mongodb with Mongoose or Redis)\n- Live Reload\n\n## LICENSE\nCopyright (c) 2013 Randy Lebeau \nLicensed under the [MIT license](https://github.com/cl0udc0ntr0l/generator-stacked/blob/master/LICENSE-MIT). \n\n',
184 silly publish readmeFilename: 'README.md',
184 silly publish _id: 'generator-stacked@0.0.0',
184 silly publish dist: { shasum: '3646f9f256b049b292dc666097d3de143ae256b9' },
184 silly publish _from: '.' }
185 verbose url raw generator-stacked
186 verbose url resolving [ 'https://registry.npmjs.org/', './generator-stacked' ]
187 verbose url resolved https://registry.npmjs.org/generator-stacked
188 info trying registry request attempt 1 at 14:53:29
189 http PUT https://registry.npmjs.org/generator-stacked
190 http 409 https://registry.npmjs.org/generator-stacked
191 verbose url raw generator-stacked
192 verbose url resolving [ 'https://registry.npmjs.org/', './generator-stacked' ]
193 verbose url resolved https://registry.npmjs.org/generator-stacked
194 info trying registry request attempt 1 at 14:53:29
195 http GET https://registry.npmjs.org/generator-stacked
196 http 200 https://registry.npmjs.org/generator-stacked
197 error publish fail Cannot publish over existing version.
197 error publish fail Update the 'version' field in package.json and try again.
197 error publish fail
197 error publish fail If the previous version was published in error, see:
197 error publish fail npm help unpublish
197 error publish fail
197 error publish fail To automatically increment version numbers, see:
197 error publish fail npm help version
198 error System Darwin 12.4.0
199 error command "/usr/local/Cellar/node/0.10.5/bin/node" "/usr/local/bin/npm" "publish"
200 error cwd /Users/rlebeau/Sites/Personal/generator-stacked
201 error node -v v0.10.5
202 error npm -v 1.2.18
203 error code EPUBLISHCONFLICT
204 verbose exit [ 1, true ]