قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-22 06:57:53 +00:00

* update npm packages to latest * fix javascript path location * update screenshots * Add node_modules for users that do not have npm insalled but use git to deploy. * fix release checklist test * Add old chroma-js + some files missing from node_module. * remove npm install * fix .travis.yml * update expected screenshots * update submodule Co-authored-by: sgiehl <stefan@matomo.org>
36 خطوط
793 B
JavaScript
Vendored
36 خطوط
793 B
JavaScript
Vendored
/*jshint node:true */
|
|
module.exports = function(grunt) {
|
|
'use strict';
|
|
|
|
grunt.initConfig({
|
|
pkg: grunt.file.readJSON('package.json'),
|
|
|
|
complexity: {
|
|
options: {
|
|
errorsOnly: false,
|
|
cyclomatic: 10,
|
|
halstead: 30,
|
|
maintainability: 85
|
|
},
|
|
generic: {
|
|
src: [
|
|
'mousetrap.js'
|
|
]
|
|
},
|
|
plugins: {
|
|
src: [
|
|
'plugins/**/*.js',
|
|
'!plugins/**/tests/**',
|
|
'!plugins/**/*.min.js'
|
|
]
|
|
}
|
|
}
|
|
});
|
|
|
|
grunt.loadNpmTasks('grunt-complexity');
|
|
|
|
grunt.registerTask('default', [
|
|
'complexity'
|
|
]);
|
|
};
|