rhiokim / grunt-sloc

Source line of codes plugin for Grunt.js
MIT License
23 stars 12 forks source link

json format fix #19

Closed frnwtr closed 9 years ago

frnwtr commented 9 years ago

if the grunt configuration assume the form of ‘’sloc: { options: { reportType: 'json', reportPath: ‘’ }, ‘yourFirstTarget’: { files: { ‘path’: '*/' } }, 'yourSecondTarget': { files: { ‘path1’: '**/_' ‘path2’: '_/' } } },

print a file with structure: { createdAt:’iso date of last creation’, targets:[array of targets], ‘yourFirstTarget’:{

, createdAt:’iso date of last creation of the target’, }, ‘yourSecondTarget’:{ , createdAt:’iso date of last creation of the target’, } }
rhiokim commented 9 years ago

@frnwtr Great work. Thanks :-)