wiki-security-passportjs/Gruntfile.js

34 lines
662 B
JavaScript

module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-git-authors');
grunt.initConfig({
browserify: {
plugin: {
src: ['client/security.coffee'],
dest: 'client/security.js',
options: {
transform: ['coffeeify'],
browserifyOptions: {
extentions: ".coffee"
}
}
}
},
watch: {
all: {
files: ['client/*.coffee'],
tasks: ['build']
}
}
});
grunt.registerTask('build', ['browserify']);
grunt.registerTask('default', ['build']);
};