Files
deployd/Gruntfile.js
Jeff Cross a3e24b0fc7 chore(jshint): fix jshint complaints
Fixed various JSHint complaints, and also fixed type-loader to not throw when a node module can't be loaded.
2014-05-20 01:22:49 -07:00

50 lines
1010 B
JavaScript

module.exports = function (grunt) {
grunt.initConfig({
less: {
production: {
options: {
paths: ["lib/resources/dashboard/stylesheets"],
yuicompress: true
},
files: {
"lib/resources/dashboard/stylesheets/style.css": "lib/resources/dashboard/stylesheets/style.less"
}
}
},
jshint: {
options: {
"laxcomma": true,
"expr": true,
"proto": true,
"lastsemic": true,
"laxbreak": true,
"strict": false
},
cli: [
'bin/dpd'
],
dpdJs: [
'clib/*.js'
],
dashboard: [
'lib/resources/dashboard/js/*.js'
],
collectionDashboard: [
'lib/resources/collection/dashboard/js/*.js'
],
lib: [
'lib/client/*.js',
'lib/resources/*.js',
'lib/util/*.js',
'lib/*.js'
]
}
});
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('dashboard', ['less:production']);
};