A microkernel for modular javascript, a toolchain for modern front-end, a micro-framework for growable WebApp.

grunt-furnace

  • Grunt tasks for transforming code from one format to another

Support

Config Example


furnace: {
    tplExample: {
        options: {
            importas: 'tpl',
            exportas: 'amd',
        },
        src: 'tpl/**/*.tpl',
        dest: 'js/app/tpl/'
    },
    npmExample: {
        options: {
            importas: 'amd',
            exportas: 'cjs',
        },
        files: [{
            expand: true,
            cwd: './',
            src: ['**/*.js', '!<%= meta.npmPublishDir %>/**', '!node_modules/**', 'Gruntfile.js'],
            dest: '<%= meta.npmPublishDir %>/',
            ext: '.js'
        }]
    }
},

See Gruntfile.js and tests/ for more examples.

Source code

More References

See OzJS Project Homepage

Release History

See OzJS Release History

License

Copyright (c) 2010 - 2013 dexteryy
Licensed under the MIT license.