File tree 2 files changed +19
-3
lines changed
2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,16 @@ module.exports = function(grunt) {
4
4
5
5
grunt . initConfig ( {
6
6
pkg : grunt . file . readJSON ( 'package.json' ) ,
7
+ jekyll : {
8
+ options : {
9
+ bundleExec : true
10
+ }
11
+ } ,
7
12
connect : {
8
13
server : {
9
14
options : {
10
15
port : 1337 ,
16
+ base : '_site'
11
17
}
12
18
}
13
19
} ,
@@ -121,9 +127,12 @@ module.exports = function(grunt) {
121
127
grunt . loadNpmTasks ( 'grunt-contrib-concat' ) ;
122
128
grunt . loadNpmTasks ( 'grunt-contrib-uglify' ) ;
123
129
grunt . loadNpmTasks ( 'grunt-string-replace' ) ;
130
+ grunt . loadNpmTasks ( 'grunt-jekyll' ) ;
131
+
124
132
125
133
grunt . registerTask ( 'default' , [
126
- // 'connect',
134
+ 'jekyll' ,
135
+ 'connect' ,
127
136
'string-replace:dev' ,
128
137
'watch'
129
138
] ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hoodie-website" ,
3
3
"version" : " 0.1.0" ,
4
+ "scripts" : {
5
+ "start" : " grunt" ,
6
+ "build" : " grunt build"
7
+ },
4
8
"devDependencies" : {
5
9
"grunt" : " ^0.4.5" ,
6
10
"grunt-autoprefixer" : " ^1.0.1" ,
11
+ "grunt-cli" : " ^0.1.13" ,
7
12
"grunt-contrib-concat" : " ^0.5.0" ,
8
13
"grunt-contrib-connect" : " ^0.8.0" ,
9
14
"grunt-contrib-copy" : " ^0.7.0" ,
10
15
"grunt-contrib-uglify" : " ^0.6.0" ,
11
16
"grunt-contrib-watch" : " ^0.6.1" ,
12
- "grunt-sass" : " ^0.14.2 " ,
17
+ "grunt-sass" : " ^0.18.1 " ,
13
18
"grunt-string-replace" : " ^1.0.0" ,
14
19
"time-grunt" : " ^1.0.0"
15
20
},
16
-
17
21
"frontend" : {
18
22
"name" : " Hood.ie Sass/JS" ,
19
23
"stylesheets" : " dist/sass" ,
20
24
"javascripts" : " dist/js"
25
+ },
26
+ "dependencies" : {
27
+ "grunt-jekyll" : " ^0.4.2"
21
28
}
22
29
}
You can’t perform that action at this time.
0 commit comments