wiki-security-passportjs/Gruntfile.js

34 lines
662 B
JavaScript
Raw Permalink Normal View History

2016-03-16 14:13:37 +00:00
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']
}
2016-03-31 04:47:41 +00:00
2016-03-16 14:13:37 +00:00
}
});
grunt.registerTask('build', ['browserify']);
grunt.registerTask('default', ['build']);
};