Completed
Push — master ( f224bc...4ef394 )
by Sander
01:15
created

Gruntfile.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 45
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
c 1
b 0
f 0
nc 1
dl 0
loc 45
rs 10
wmc 1
mnd 0
bc 1
fnc 1
bpm 1
cpm 1
noi 0
1
module.exports = function (grunt) {
2
    var jsResources = [];
3
    // Project configuration.
4
    grunt.initConfig({
5
        jsResources: [],
6
        cssResources: [],
7
        pkg: grunt.file.readJSON('package.json'),
8
        jshint: {
9
            options: {
10
                reporter: require('jshint-stylish'),
11
                curly: false,
12
                eqeqeq: true,
13
                eqnull: true,
14
                browser: true,
15
                globals: {
16
                    "angular": true,
17
                    "PassmanImporter": true,
18
                    "PassmanExporter": true,
19
                    "OC": true,
20
                    "window": true,
21
                    "console": true,
22
                    "CRYPTO": true,
23
                    "C_Promise": true,
24
                    "forge": true,
25
                    "sjcl": true,
26
                    "jQuery": true,
27
                    "$": true,
28
                    "_": true,
29
                    "oc_requesttoken": true
30
                }
31
            },
32
            all: ['js/*','!js/vendor']
33
        }
34
35
    });
36
37
    // Load the plugin that provides the "uglify" task.
38
    grunt.loadNpmTasks('grunt-contrib-jshint');
39
40
41
    // Default task(s).
42
43
    grunt.registerTask('hint', ['jshint']);
44
45
};