"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const serializer_1 = __importDefault(require("./src/serializer"));
const fs_1 = __importDefault(require("fs"));
const version = 'v2';
const dir = `./data/${version}`;
// const config: Config = yaml.load(fs.readFileSync('config.yml', {encoding: 'utf-8'})) as Config;
// console.log(config)
const result = serializer_1.default(dir);
const outName = `${version}_${new Date().getTime()}.json`;
fs_1.default.writeFileSync(`./out/${outName}`, JSON.stringify(result, null, 2));
console.log(`-----> .../${outName}`);
//# sourceMappingURL=index.js.map