Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies update #75

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
1 change: 0 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"node": true,
"browser": true,
"es5": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
Expand Down
51 changes: 42 additions & 9 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ module.exports = function (grunt) {
files: {
'<%= project.assets %>/js/scripts.min.js': '<%= project.js %>'
}
},
// uglify modernizr.js
temp: {
options: {
preserveComments: 'some'
},
files: {
'<%= project.assets %>/components/modernizr.min.js': '<%= project.assets %>/components/modernizr.js'
}
}
},

Expand All @@ -163,7 +172,8 @@ module.exports = function (grunt) {
},
dist: {
options: {
style: 'expanded'
style: 'expanded',
banner: '<%= tag.banner %>'
},
files: {
'<%= project.assets %>/css/style.unprefixed.css': '<%= project.css %>'
Expand Down Expand Up @@ -206,9 +216,6 @@ module.exports = function (grunt) {
*/
cssmin: {
dev: {
options: {
banner: '<%= tag.banner %>'
},
files: {
'<%= project.assets %>/css/style.min.css': [
'<%= project.src %>/components/normalize-css/normalize.css',
Expand All @@ -217,9 +224,6 @@ module.exports = function (grunt) {
}
},
dist: {
options: {
banner: '<%= tag.banner %>'
},
files: {
'<%= project.assets %>/css/style.min.css': [
'<%= project.src %>/components/normalize-css/normalize.css',
Expand All @@ -235,10 +239,38 @@ module.exports = function (grunt) {
*/
bower: {
dev: {
dest: '<%= project.assets %>/components/'
dest: '<%= project.assets %>/components/',
options: {
packageSpecific: {
jquery: {
files: [
'dist/*'
]
},
modernizr: {
files: [
'modernizr.js'
]
}
}
}
},
dist: {
dest: '<%= project.assets %>/components/'
dest: '<%= project.assets %>/components/',
options: {
packageSpecific: {
jquery: {
files: [
'dist/*'
]
},
modernizr: {
files: [
'modernizr.js'
]
}
}
}
}
},

Expand Down Expand Up @@ -291,6 +323,7 @@ module.exports = function (grunt) {
'autoprefixer:dev',
'cssmin:dev',
'jshint',
'uglify:temp',
'concat:dev',
'connect:livereload',
'open',
Expand Down
Loading