fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing text to land algorithm - handling case when no child text element exist better
[fnpeditor.git]
/
Gruntfile.js
diff --git
a/Gruntfile.js
b/Gruntfile.js
index
681ec8b
..
8b7469e
100644
(file)
--- a/
Gruntfile.js
+++ b/
Gruntfile.js
@@
-24,7
+24,10
@@
module.exports = function(grunt) {
},
},
jshint: {
},
},
jshint: {
- all: ['Gruntfile.js', 'modules/**/*.js', 'views/**/*.js', 'fnpjs/**/*.js']
+ all: ['Gruntfile.js', 'modules/**/*.js', 'views/**/*.js', 'fnpjs/**/*.js'],
+ options: {
+ jshintrc: '.jshintrc'
+ }
}
});
}
});
@@
-32,5
+35,7
@@
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-jshint');
- grunt.registerTask('default', ['requirejs']);
+ grunt.registerTask('build', ['requirejs', 'less:production']);
+ grunt.registerTask('lint', ['jshint']);
+ grunt.registerTask('default', ['build']);
};
\ No newline at end of file
};
\ No newline at end of file