Hi Reza,

You can use a double dash (--) to add your own parameters that then end up 
as a parameter directly to the thing you put in the script.
sample
in package.json
....
{ scripts; {
    "ngs": "ng serve 
   }
}
...

Yo can then do something like:
npm run ng -- --aot false --prod

to get the parameters through.

Hope this helps
Regards
Sander


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to