mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
* [web] rm annual-prices-monthly-rates split test - rm monthly rates treatment - rm unused translations - rm unused supporting functions - rm unused styles GitOrigin-RevId: 5901853245cd9b01ee9e4774154d29ae8f5fcae5
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.mjs -f fileName -o outputdir - generates two json files:
localizedPlanPricing.jsonfor/services/web/config/settings.overrides.saas.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.mjs --downloadscript output