3 module.exports = function(grunt) {
10 baseUrl: 'src/editor',
11 mainConfigFile: 'src/editor/entrypoint.js',
14 include: ['libs/require']
25 'build/rng.css': 'src/editor/styles/main.less'
30 all: ['Gruntfile.js', 'src/**/*.js'],
37 grunt.loadNpmTasks('grunt-contrib-requirejs');
38 grunt.loadNpmTasks('grunt-contrib-less');
39 grunt.loadNpmTasks('grunt-contrib-jshint');
41 grunt.registerTask('build', ['requirejs', 'less:production']);
42 grunt.registerTask('lint', ['jshint']);
43 grunt.registerTask('default', ['build']);