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',
|
src: 'jquery.mousewheel.js',
|
||||||
dest: 'build/jquery.mousewheel.min.js'
|
dest: 'build/jquery.mousewheel.min.js'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
connect: {
|
||||||
|
server: {
|
||||||
|
options: {
|
||||||
|
hostname: '*',
|
||||||
|
directory: '.',
|
||||||
|
keepalive: true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Load the plugin that provides the 'uglify' task.
|
// Load the plugin that provides the 'uglify' task.
|
||||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||||
|
grunt.loadNpmTasks('grunt-contrib-connect');
|
||||||
|
|
||||||
// Default task(s).
|
// Default task(s).
|
||||||
grunt.registerTask('default', ['jshint', 'uglify']);
|
grunt.registerTask('default', ['jshint', 'uglify']);
|
||||||
|
@ -29,7 +29,8 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "~0.4.1",
|
"grunt": "~0.4.1",
|
||||||
"grunt-contrib-jshint": "~0.6.4",
|
"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",
|
"readmeFilename": "README.markdown",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
Reference in New Issue
Block a user