Skip to content

Commit df8f278

Browse files
committed
Use generator-statisk's gulp generator
1 parent dd4a89e commit df8f278

File tree

15 files changed

+65
-739
lines changed

15 files changed

+65
-739
lines changed

generators/app/index.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ module.exports = generators.Base.extend({
8080
message: 'How do you want to upload your site?',
8181
choices: ['Amazon S3', 'Rsync', 'Github Pages', 'None'],
8282
store: true
83+
}, {
84+
name: 'babel',
85+
type: 'confirm',
86+
message: 'Compile your JS with Babel',
87+
when: this.options.babel === undefined
8388
}, {
8489
name: 'jekyllPermalinks',
8590
type: 'list',
@@ -153,10 +158,11 @@ on Github](https://github.com/sondr3/generator-jekyllized).
153158

154159
this.composeWith('jekyllized:gulp', {
155160
options: {
156-
uploading: this.props.uploading
161+
uploading: this.props.uploading,
162+
babel: this.props.babel
157163
}
158164
}, {
159-
local: require.resolve('../gulp')
165+
local: require.resolve('generator-statisk/generators/gulp')
160166
});
161167

162168
this.composeWith('jekyllized:jekyll', {
@@ -177,6 +183,7 @@ on Github](https://github.com/sondr3/generator-jekyllized).
177183

178184
installing: function () {
179185
this.installDependencies({
186+
bower: false,
180187
skipInstall: this.options['skip-install']
181188
});
182189
if (this.options['skip-install']) {

generators/gulp/USAGE

Lines changed: 0 additions & 12 deletions
This file was deleted.

generators/gulp/index.js

Lines changed: 0 additions & 108 deletions
This file was deleted.

generators/gulp/templates/aws-credentials.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)