react-intl-po-example icon indicating copy to clipboard operation
react-intl-po-example copied to clipboard

Npm scripts on Windows

Open alfechner opened this issue 6 years ago • 0 comments

The scripts you provided in your example package.json file don't work for me on windows. They don't work with the single quoted path's.

I had to change i.e.

"extract:messages": "react-intl-cra 'src/**/*.js' -o 'output/messages.json'",

to something like

"extract:messages": "react-intl-cra src/**/*.js -o output/messages.json".

Besides that, everything works perfectly. Thank you for this great package.

alfechner avatar Jan 17 '19 09:01 alfechner