mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
* [web] add annual-prices-monthly-rates experiment * [web] add annualMonthly to plans.mjs and update settings.overrides.saas.js * [web] display monthly rates on individual plans on desktop * [web] display monthly rates on individual plans on mobile * [web] add monthly rates split test to view event segmentation GitOrigin-RevId: 4ddbdc2fc6a9ec5a868643d3fc0e3f78ef27772d
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