Files
le-journal-d-un-podcast/node_modules/mailcheck/Gruntfile.coffee
T
2023-05-10 21:03:22 -04:00

27 lines
678 B
CoffeeScript

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']