Migrate custom yootheme-pro elements.
npm install yootheme/custom-element-converter -g
custom-element-converter your-element-file.js
Used on the old example element example-element.js, the script would yield two json files named after the used element names example_element.json and example_element_item.json in your current working directory
const {convertElement} = require('custom-element-converter');
const elements = convertElement(yourElementDefinitionsAsAString);