HTML and CSS Reference
In-Depth Information
// files: ['example/**/*.html']
// },
concat
:
{
dist
:
{
src
:
[
'<banner:meta.banner>'
,
'<file_strip_banner:slidfast.js>'
],
dest
:
'dist/slidfast.js'
}
},
min
:
{
dist
:
{
src
:
[
'<banner:meta.banner>'
,
'<config:concat.dist.dest>'
],
dest
:
'dist/slidfast.min.js'
}
},
watch
:
{
files
:
'<config:lint.files>'
,
tasks
:
'lint qunit'
},
jshint
:
{
options
:
{
curly
:
true
,
eqeqeq
:
true
,
immed
:
true
,
latedef
:
true
,
newcap
:
true
,
noarg
:
true
,
sub
:
true
,
undef
:
true
,
boss
:
true
,
eqnull
:
true
,
browser
:
true
},
globals
:
{}
},
uglify
:
{}
});
// Default task.
grunt
.
registerTask
(
'default'
,
'lint concat min'
);
};
Because no QUnit tests are currently defined for this project, I com‐
mented out the default values and removed it from the last line in the
file.