aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mousetrap/Gruntfile.js
diff options
context:
space:
mode:
authorTeddy Wing2021-03-21 17:23:11 +0100
committerTeddy Wing2021-03-21 17:47:35 +0100
commita129f8e229f16292d65ffd9dcf9f8a585aa3fe8a (patch)
tree02b50df62163bc86570488ecc587489f5c09e3a2 /lib/mousetrap/Gruntfile.js
parent5ba6d5d6b508c535efb4ab43b02c6c21bfd49185 (diff)
downloadPeniquitous-a129f8e229f16292d65ffd9dcf9f8a585aa3fe8a.tar.bz2
Remove Bower-included Mousetrap
Now that we've added Mousetrap via NPM, we can remove the one we installed via Bower and Bower files. Didn't really need to switch to NPM, but I wanted to get a Mousetrap dependency that included its LICENSE file so I could include it in my build.
Diffstat (limited to 'lib/mousetrap/Gruntfile.js')
-rw-r--r--lib/mousetrap/Gruntfile.js47
1 files changed, 0 insertions, 47 deletions
diff --git a/lib/mousetrap/Gruntfile.js b/lib/mousetrap/Gruntfile.js
deleted file mode 100644
index 859ec6b..0000000
--- a/lib/mousetrap/Gruntfile.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*jshint node:true */
-module.exports = function(grunt) {
- 'use strict';
-
- grunt.initConfig({
- pkg: grunt.file.readJSON('package.json'),
-
- mocha: {
- options: {
- reporter: 'Nyan',
- run: true
- },
- mousetrap: {
- src: ['tests/mousetrap.html']
- }
- },
-
- 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.loadNpmTasks('grunt-mocha');
-
- grunt.registerTask('default', [
- 'complexity',
- 'mocha'
- ]);
-};