File: gruntfile.js

Recommend this page to a friend!
  Classes of Jonathan Gotti   stpl   gruntfile.js   Download  
File: gruntfile.js
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: stpl
Template engine based on replacing tags
Author: By
Last change: Update of gruntfile.js
Date: 2 years ago
Size: 638 bytes
 

Contents

Class file image Download
module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), uglify: { options: { banner: '/* (c) Jonathan Gotti - licence: https://github.com/malko/stpl/LICENCE.txt */\n' }, build: { src: 'lib/stpl.js', dest: 'lib/stpl.min.js' } }, qunit: { all: ['tests/*.html'] } }); // Load the plugin that provides the "uglify" task. grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-qunit'); // Default task(s). grunt.registerTask('default', ['uglify','qunit']); };