mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 09:39:35 +02:00
Remove xlsx package from plans prices generator GitOrigin-RevId: 7e190ce4739c5d655750e1c286ed1663f6783c49
694 B
694 B
A nodejs tool for reading plans prices from csv files and creating JSON objects.
Run npm install in order to install the dependencies.
The scripts will put the output results into the output folder.
Create localized and group plan pricing
Command node plans.js -f fileName -o outputdir - generates three json files:
localizedPlanPricing.jsonfor/services/web/config/settings.overrides.saas.jsplans.jsonfor/services/web/frontend/js/main/plans.jsgroups.jsonfor/services/web/app/templates/plans/groups.json
The input file can be in .csv or .json format
.csvcsv format.jsonjson format from therecurly_prices.js --downloadscript output