-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgruntfile.js
39 lines (33 loc) · 1023 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
32
33
34
35
36
37
38
39
/* globals module */
module.exports = function (grunt) {
var config = {
pkg: grunt.file.readJSON("package.json"),
jshint: {
uses_defaults: ["gruntfile.js", "./tasks/**/*.js"],
options: {
jshintrc: ".jshintrc"
}
},
npm: {
defaultThing: {
args: ["install", "less"],
options: {
//registry: "http://www.idontexistatalleveranywhere.com",
"loglevel": "silent",
//"parseable": false,
"strict-ssl": true,
"long": false,
"unicode": false,
"json": false
}
}
}
};
// Project configuration.
grunt.initConfig(config);
// NPM tasks
grunt.loadNpmTasks("grunt-contrib-jshint");
grunt.loadTasks("./tasks/");
grunt.registerTask("travis", "default");
grunt.registerTask("default", ["jshint"]);
};