json.excel
Version:
json to excel,or excel to json
29 lines (25 loc) • 657 B
JavaScript
/*
* ss-cli
* http://github.com/donghanji/json.excel/
*
* Copyright (c) 2014 donghanji, contributors
* Licensed under the MIT license.
*/
;
module.exports = function(grunt) {
var excel_file='E://Dropbox//M//Node//json.excel//test//test.xlsx';
var json_file='E://Dropbox//M//Node//json.excel//test//test.json';
grunt.initConfig({
go:{
options:{
json:json_file,
excel:excel_file,
to:'json',
formating:true
},
dist:{}
}
});
grunt.loadTasks('tasks');
grunt.registerTask('default',['go']);
};