Fix quote exports
This commit is contained in:
parent
8f9d3145e9
commit
5df647f5b1
10 changed files with 12 additions and 11 deletions
|
@ -1,9 +1,10 @@
|
|||
const fs = require("fs-extra");
|
||||
const path = require("path");
|
||||
const parseVariantsData = require("../generate-snapshot-page/parse-variants-data");
|
||||
const parseLigationData = require("../generate-snapshot-page/ligation-data");
|
||||
const getCharMapAndSupportedLanguageList = require("../generate-supported-languages/proc");
|
||||
|
||||
const version = require("../../package.json").version;
|
||||
|
||||
const charMapPath = process.argv[2];
|
||||
const exportPath = process.argv[3];
|
||||
main().catch(e => {
|
||||
|
@ -16,5 +17,5 @@ async function main() {
|
|||
const variantsData = await parseVariantsData();
|
||||
const ligationData = await parseLigationData();
|
||||
const cl = await getCharMapAndSupportedLanguageList(charMapPath);
|
||||
await fs.writeJson(exportPath, { variantsData, ligationData, ...cl }, { spaces: 2 });
|
||||
await fs.writeJson(exportPath, { version, variantsData, ligationData, ...cl }, { spaces: 2 });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue