-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathGruntfile.js
More file actions
32 lines (23 loc) · 771 Bytes
/
Gruntfile.js
File metadata and controls
32 lines (23 loc) · 771 Bytes
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
32
/*jslint vars: true, plusplus: true, devel: true, nomen: true, regexp: true, indent: 4, maxerr: 50 */
/*global module, require */
module.exports = function (grunt) {
'use strict';
require('load-grunt-tasks')(grunt);
var pkg = grunt.file.readJSON("package.json");
grunt.initConfig({
watch: {
files: ['./{,*/}*.js'],
tasks: ['jshint']
},
jshint: {
options: {
jshintrc: '.jshintrc'
},
// lint all files, ignore the built output from https://github.com/adobe-webplatform/css-shapes-editor
all: [
'./{,*/}*.js', '!./thirdparty/CSSShapesEditor.js'
]
}
});
grunt.registerTask('default', ['jshint']);
};