aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorBjoern Kimminich <bjoern.kimminich@kuehne-nagel.com>2016-01-08 10:46:28 +0100
committerBjoern Kimminich <bjoern.kimminich@kuehne-nagel.com>2016-01-08 10:51:35 +0100
commit7621e1085d6389b214f244ac3e3ddb78c381d1c8 (patch)
treec863206afcd0a4ecbc9a119b4ead9ef256f589aa /Gruntfile.js
parentde4efa5d194329095f90911101a67c5b5e13922f (diff)
downloadfreenode-live-2017-presentation-7621e1085d6389b214f244ac3e3ddb78c381d1c8.tar
freenode-live-2017-presentation-7621e1085d6389b214f244ac3e3ddb78c381d1c8.tar.gz
added retire.js to build process
-allows security vulnerability check in used npm-dependencies and own scripts -execute with ```grunt retire```
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index f6c71e2..11bd42b 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -134,7 +134,14 @@ module.exports = function(grunt) {
markdown: {
files: [ './*.md' ]
}
- }
+ },
+
+ retire: {
+ js: ['js/reveal.js', 'lib/js/*.js', 'plugin/**/*.js'],
+ node: ['.'],
+ options: {
+ }
+ }
});
@@ -148,6 +155,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks( 'grunt-contrib-connect' );
grunt.loadNpmTasks( 'grunt-autoprefixer' );
grunt.loadNpmTasks( 'grunt-zip' );
+ grunt.loadNpmTasks('grunt-retire');
// Default task
grunt.registerTask( 'default', [ 'css', 'js' ] );