I am using copyfiles as an npm scirpt copyfiles -u 2 /src/app/conf.dev.json dist/config/ but in the end I want to get the file renamed
scirpt
copyfiles -u 2 /src/app/conf.dev.json dist/config/
Ho
You can use this lib. https://www.npmjs.com/package/move-file just move if to the "new name"