Add grunt dependencies and Gruntfile.js
This commit is contained in:
parent
18565e7977
commit
f318ec226a
20
Gruntfile.js
Normal file
20
Gruntfile.js
Normal file
@ -0,0 +1,20 @@
|
||||
module.exports = function(grunt) {
|
||||
grunt.initConfig({
|
||||
jshint: {
|
||||
options: {
|
||||
trailing: true
|
||||
},
|
||||
target: {
|
||||
src : [
|
||||
'converse.js',
|
||||
'mock.js',
|
||||
'main.js',
|
||||
'tests_main.js',
|
||||
'spec/*.js'
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.registerTask('default', ['jshint']);
|
||||
};
|
@ -25,5 +25,10 @@
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jcbrand/converse.js/issues"
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt-cli": "~0.1.9",
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-contrib-jshint": "~0.6.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user