Reorganize files for Bower distro

This commit is contained in:
Lokesh Dhakar
2014-04-17 11:07:23 -07:00
parent cb5c9c6ca8
commit 9cbad46067
19 changed files with 54 additions and 39 deletions

View File

@@ -5,8 +5,8 @@ module.exports = function(grunt) {
compass: {
dist: {
options: {
sassDir: 'sass',
cssDir: 'css',
sassDir: 'examples/sass',
cssDir: 'examples/css',
environment: 'production'
}
}
@@ -27,21 +27,15 @@ module.exports = function(grunt) {
src: '.',
dest: '<%- host_config.directory %>',
exclusions: [
'.DS_Store',
'.sass-cache',
'.git*',
'.host_config',
'.ftppass',
'node_modules',
'sass',
'Gruntfile.js',
'package.json',
'README.markdown'
'**/.*',
'.*',
'bower_components',
'node_modules'
]
}
},
jshint: {
files: ['js/color-thief.js']
files: ['src/color-thief.js']
},
uglify: {
options: {
@@ -50,13 +44,13 @@ module.exports = function(grunt) {
},
dist: {
files: {
'js/color-thief.min.js': ['js/color-thief.js']
'dist/color-thief.min.js': ['src/color-thief.js']
}
}
},
watch: {
sass: {
files: ['sass/*.sass'],
files: ['examples/sass/*.sass'],
tasks: ['compass'],
options: {
livereload: true,
@@ -64,7 +58,7 @@ module.exports = function(grunt) {
},
},
test: {
files: ['js/color-thief.js'],
files: ['src/color-thief.js'],
tasks: ['jshint']
}
}