Kristina 4eee7cd6ef [web] rm annual-prices-monthly-rates split test (#26727) 1 سال پیش
..
.gitignore cdee7f7715 Merge pull request #14070 from overleaf/ii-remove-xlsx-package 3 سال پیش
README.md 0d42173034 [web] add annual-prices-monthly-rates experiment (#22956) 1 سال پیش
additional-license-add-on-legacy-prices.json 667b97664c Merge pull request #23366 from overleaf/ii-flexible-licensing-add-seats-for-all-legacy-plans 1 سال پیش
package-lock.json 08ee37afc1 Update to lockfile-version 3 (#23839) 1 سال پیش
package.json cdee7f7715 Merge pull request #14070 from overleaf/ii-remove-xlsx-package 3 سال پیش
plans.mjs 4eee7cd6ef [web] rm annual-prices-monthly-rates split test (#26727) 1 سال پیش

README.md

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.json for /services/web/config/settings.overrides.saas.js
  • groups.json for /services/web/app/templates/plans/groups.json

The input file can be in .csv or .json format

  • .csv csv format
  • .json json format from the recurly_prices.mjs --download script output