UNPKG

toastr-stylus

Version:

ToastrJS is a JavaScript library for Gnome / Growl type non-blocking notifications. jQuery is required. The goal is to create a simple core library that can be customized and extended.

36 lines (33 loc) 694 B
module.exports = function(grunt) { grunt.initConfig({ stylus: { dev: { options: { compress: false }, files: { "toastr.css": "stylus/toastr.styl" } }, prod: { files: { "toastr.min.css": "stylus/toastr.styl" } } }, uglify: { prod: { files: { "toastr.min.js": "toastr.js" } } }, qunit: { all: ['tests/toastr-tests.html'] } }); grunt.loadNpmTasks('grunt-contrib-stylus'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-qunit'); grunt.registerTask('default', ['stylus', 'qunit', 'uglify']); };