fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing unwrapping DocumentTextElement
[fnpeditor.git]
/
Gruntfile.js
diff --git
a/Gruntfile.js
b/Gruntfile.js
index
4d26c25
..
8b7469e
100644
(file)
--- a/
Gruntfile.js
+++ b/
Gruntfile.js
@@
-22,11
+22,20
@@
module.exports = function(grunt) {
'build/rng.css': 'styles/main.less'
},
},
'build/rng.css': 'styles/main.less'
},
},
+ },
+ jshint: {
+ all: ['Gruntfile.js', 'modules/**/*.js', 'views/**/*.js', 'fnpjs/**/*.js'],
+ options: {
+ jshintrc: '.jshintrc'
+ }
}
});
grunt.loadNpmTasks('grunt-contrib-requirejs');
grunt.loadNpmTasks('grunt-contrib-less');
}
});
grunt.loadNpmTasks('grunt-contrib-requirejs');
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