forked from WarlaxZ/alexa-home-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gruntfile.js
31 lines (29 loc) · 997 Bytes
/
gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// This line makes your node configurations available for use
pkg: grunt.file.readJSON('package.json'),
// This is where we configure JSHint
jshint: {
// You get to make the name
// The paths tell JSHint which files to validate
all: ['./**/*.js'],
options: {
esversion: 6,
node: true,
// jshintrc: true,
ignores: [
'node_modules/**/*.js',
'apps/**/node_modules/**/*.js'
]
}
},
'npm-install-all': {
src: ['apps/**'],
},
});
// Each plugin must be loaded following this pattern
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-npm-install-all');
grunt.registerTask('default', ['jshint', 'npm-install-all']);
};