Sha256: a8b9981864b2dc2a712b0e4f6be61d454e3a00e8b7cfd756a2d27f8f29fcd916

Contents?: true

Size: 949 Bytes

Versions: 8

Compression:

Stored size: 949 Bytes

Contents

module.exports = function(grunt){
    grunt.initConfig({
        requirejs: {
            options: {
                baseUrl: 'src',
                name: './contrib/almond/almond',
		        include: ['main'],
                wrap: {
                    startFile: 'src/wrap/start.js',
                    endFile: 'src/wrap/end.js'
                }
	    },
            production: {
                options: {
		            optimizeAllPluginResources: true,
		            optimize: 'uglify2',
		            out: "release/bionya.min.js"
		        }
	        },
            development: {
		        options: {
                    optimize: "none",
                    out: "release/bionya.js"
		        }
	        }
	    }
    });
    
    grunt.loadNpmTasks("grunt-contrib-requirejs");
    grunt.registerTask("default", ["release"]);
    grunt.registerTask("debug", ["requirejs:development"]);
    grunt.registerTask("release", ["requirejs"]);
};

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
nyaplot-0.1.6 lib/bionya/js/Gruntfile.js
nyaplot-0.1.5 lib/bionya/js/Gruntfile.js
nyaplot-0.1.4 lib/bionya/js/Gruntfile.js
nyaplot-0.2.0.rc1 lib/bionya/js/Gruntfile.js
nyaplot-0.1.3 lib/bionya/js/Gruntfile.js
nyaplot-0.1.2 lib/bionya/js/Gruntfile.js
nyaplot-0.1.1 lib/bionya/js/Gruntfile.js
nyaplot-0.1.0 lib/bionya/js/Gruntfile.js