I'm not sure this question is specific to Angular-cli, and I'm fairly sure I'm doing something a little daft.
I've added the following to the scripts
area of the package.json
of my project:
"prep": "ng build --prod --output-path output --base-href APP-NAME"
I thought this would allow me to run this command with npm prep
from the command line / in tasks, but each time I try I get an error that it's not a valid command. Any ideas why this would be?