UNPKG

mailcheck

Version:

A standalone module that suggests a right domain when your users misspell it in an email address.

27 lines (22 loc) 678 B
module.exports = (grunt) -> grunt.initConfig pkg: grunt.file.readJSON('package.json'), uglify: options: banner: '/*! <%= pkg.name %> v<%= pkg.version %> @licence MIT */' main: files: 'src/mailcheck.min.js': 'src/mailcheck.js' jasmine_node: specNameMatcher: "spec" requirejs: false forceExit: true jUnit: report: false savePath : "spec" useDotNotation: true consolidate: true grunt.loadNpmTasks 'grunt-contrib-uglify' grunt.loadNpmTasks 'grunt-jasmine-node' grunt.registerTask 'default', ['jasmine_node', 'uglify'] grunt.registerTask 'test', ['jasmine_node']