Here is an excerpt from my package.json file:
"scripts": {
"cpFile": cp ../template/index.js /src/view/home/
}
When I try to run the command:
npm run cpFile fileName.js
I expect it to execute:
cp ../template/index.js /src/view/home/fileName.js
However, it does not work as expected.