Skip to content

Commit

Permalink
Updated dependencies to latest versions and added .idea project files…
Browse files Browse the repository at this point in the history
… to gitignore
  • Loading branch information
Havunen authored and pghalliday committed Jul 17, 2018
1 parent c6caa4d commit 8934db9
Show file tree
Hide file tree
Showing 5 changed files with 1,092 additions and 525 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ BrowserStackConfig.js
Berksfile.lock
Vagrantfile
/bin/
.idea
46 changes: 23 additions & 23 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
files: ['src/**/*.js', 'test/src/**/*.js'],
options: grunt.file.readJSON('./.jshintrc')
},
mochaTest: {
test: {
options: {
reporter: 'spec'
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
files: ['src/**/*.js', 'test/src/**/*.js'],
options: grunt.file.readJSON('./.jshintrc')
},
src: ['test/src/**/*.js']
}
},
watch: {
files: ['grunt.js', 'src/**/*.js', 'test/src/**/*.js'],
tasks: ['default']
}
});
mochaTest: {
test: {
options: {
reporter: 'spec'
},
src: ['test/src/**/*.js']
}
},
watch: {
files: ['grunt.js', 'src/**/*.js', 'test/src/**/*.js'],
tasks: ['default']
}
});

grunt.loadNpmTasks('grunt-mocha-test');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-mocha-test');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');

grunt.registerTask('default', ['jshint', 'mochaTest']);
grunt.registerTask('default', ['jshint', 'mochaTest']);
};
Loading

0 comments on commit 8934db9

Please sign in to comment.