lib/generators/half_pipe/templates/Gruntfile.js in half-pipe-0.0.1 vs lib/generators/half_pipe/templates/Gruntfile.js in half-pipe-0.1.0

- old
+ new

@@ -29,34 +29,32 @@ cssmin: { 'public/styles/main.css': 'tmp/styles/main.css' }, requirejs: { - options: { - baseUrl: "app/scripts", - mainConfigFile: "app/scripts/application.js", - name: "main", - out: "public/scripts/application.js" - }, scripts: { + options: { + almond: true, + baseUrl: "app/scripts", + mainConfigFile: "app/scripts/application.js", + name: "oral-health", + out: "public/scripts/application.js", + wrap: true + } } }, - copy: { - 'public/scripts/require.js': 'components/requirejs/require.js' - }, + clean: ['public/scripts/', 'public/styles', 'tmp/'] - clean: ['public/assets/', 'tmp/'] - }); // These plugins provide necessary tasks. grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-sass'); grunt.loadNpmTasks('grunt-contrib-cssmin'); grunt.loadNpmTasks('grunt-contrib-copy'); grunt.loadNpmTasks('grunt-contrib-clean'); - grunt.loadNpmTasks('grunt-contrib-requirejs'); + grunt.loadNpmTasks('grunt-requirejs'); // Default task. grunt.registerTask('default', 'build'); // Build task.