Download node_modules/mousetrap/Gruntfile.js from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 793 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/mousetrap/Gruntfile.js
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/node_modules/mousetrap/Gruntfile.js
-
curl -L -o Gruntfile.js https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/node_modules/mousetrap/Gruntfile.js
793 Bytes
| /*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' | |
| ]); | |
| }; | |