mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add grunt-contrib-connect
This commit is contained in:
10
Gruntfile.js
10
Gruntfile.js
@ -19,12 +19,22 @@ module.exports = function(grunt) {
|
||||
src: 'jquery.mousewheel.js',
|
||||
dest: 'build/jquery.mousewheel.min.js'
|
||||
}
|
||||
},
|
||||
connect: {
|
||||
server: {
|
||||
options: {
|
||||
hostname: '*',
|
||||
directory: '.',
|
||||
keepalive: true
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Load the plugin that provides the 'uglify' task.
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
||||
|
||||
// Default task(s).
|
||||
grunt.registerTask('default', ['jshint', 'uglify']);
|
||||
|
@ -29,7 +29,8 @@
|
||||
"devDependencies": {
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-contrib-jshint": "~0.6.4",
|
||||
"grunt-contrib-uglify": "~0.2.4"
|
||||
"grunt-contrib-uglify": "~0.2.4",
|
||||
"grunt-contrib-connect": "~0.5.0"
|
||||
},
|
||||
"readmeFilename": "README.markdown",
|
||||
"directories": {
|
||||
|
Reference in New Issue
Block a user