aboutsummaryrefslogtreecommitdiff
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
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```
-rw-r--r--Gruntfile.js10
-rw-r--r--package.json3
2 files changed, 11 insertions, 2 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' ] );
diff --git a/package.json b/package.json
index f7035aa..b75bb90 100644
--- a/package.json
+++ b/package.json
@@ -36,10 +36,11 @@
"grunt-sass": "~1.1.0-beta",
"grunt-contrib-connect": "~0.11.2",
"grunt-autoprefixer": "~3.0.3",
+ "grunt-retire": "~0.3.10",
"grunt-zip": "~0.17.1",
"grunt": "~0.4.5",
"node-sass": "~3.3.3"
},
-
+
"license": "MIT"
}