mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-28 16:59:58 +02:00
added retire.js to build process
-allows security vulnerability check in used npm-dependencies and own scripts -execute with ```grunt retire```
This commit is contained in:
10
Gruntfile.js
10
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' ] );
|
||||
|
Reference in New Issue
Block a user