packages/okam-build/lib/processor/json/json5-parser.js
function compile(file, options) {
    let obj = json5.parse(file.content.toString());
    let result = JSON.stringify(obj, null, 4);

    return {
        content: result
    };
}
function compile(file, options) {
    let obj = json5.parse(file.content.toString());
    let result = JSON.stringify(obj, null, 4);

    return {
        content: result
    };
}
Compile the file using json5

@param {Object} file the file to process
@param {Object} options the compile options
@return {{content: string}}