UNPKG

curp.js

Version:

Función para generar el CURP, de acuerdo a las especificaciones oficiales.

36 lines (29 loc) 665 B
/*jslint node: true, indent:2*/ "use strict"; module.exports = function (grunt) { // Project configuration. grunt.initConfig({ pkg : grunt.file.readJSON('package.json'), jslint : { all : { src : ['package.json', 'bower.json', 'curp.js', 'Gruntfile.js', 'test/**.js'], directives : { indent : 2, node : true } } }, mochaTest : { test : { src : ['test/**/*.js'] } } }); grunt.loadNpmTasks('grunt-jslint'); grunt.loadNpmTasks('grunt-mocha-test'); // Default task(s). grunt.registerTask('default', [ 'jslint', 'mochaTest' ]); };