sstapi
Version:
a 3rd-party ifeng fm api
28 lines (27 loc) • 605 B
JavaScript
// Generated by CoffeeScript 1.7.1
module.exports = function(grunt) {
grunt.initConfig({
coffee: {
compile: {
files: {
"./index.js": "./index.coffee"
}
},
glob_to_multiple: {
expand: true,
flatten: true,
cwd: './src/',
src: ['*.coffee'],
dest: './lib',
ext: '.js'
}
},
watch: {
files: ['./src/*.coffee'],
tasks: ['coffee']
}
});
grunt.loadNpmTasks('grunt-contrib-coffee');
grunt.loadNpmTasks('grunt-contrib-watch');
return grunt.registerTask('default', ['coffee']);
};