grunt-jskeleton

0.0.16 • Public • Published

grunt-jskeleton

Indirect gruntfile for JSkeleton applications.

Getting Started

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-jskeleton --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

module.exports = function(grunt) {
 
    // Init main modular gruntfile and return the tasks
    require('grunt-jskeleton')(grunt);
 
    grunt.config.merge({
        // Include here your plugins configuration
    });
 
    // Custom tasks
    grunt.registerTask('task-name', []);
};

Also, you can have this indirect Gruntfile, using the generator-jskeleton.

Usage

grunt serve

Runs server for development.

grunt serve:dist

Runs server for production

grunt serve:benchmark

Runs server for benchmark

grunt build

Generates the files for distribution

Task targets, files and options may be specified according to the grunt Configuring tasks guide.

Package Sidebar

Install

npm i grunt-jskeleton

Weekly Downloads

0

Version

0.0.16

License

MIT

Last publish

Collaborators

  • alvarobrito