This tool is converting CSS files to JS files compatible with EmotionJS. Initial implementation is taken from css-in-js-generator, converted to JS and improved to fit the needs of internal project.
To convert a file run following command:
node ./index.js <path/to/css/file>
For example
node ./index.js Component.css
The result of the conversion will be placed in the same folder as the source file with extension .styles.js
.