I know node/express. I know the difference between dependencies
and devDependencies
.
I'm learning angular. I've been through the official tutorial.
I thought an angular app is compiled - at development time - into a set of static files. Those files are uploaded to some server. Once they are downloaded by a client, all the action takes place in the client, except when it reaches out to my node/express server for data.
So I don't understand why a scaffolded angular project has a package.json
with both dependencies
and devDependencies
. I assumed everything would be in devDependencies
, because there is no package.json
at runtime, only the bootstrapping html
file and then all the compiled javascripts.
I'm obviously misunderstanding the deployment stage. Please correct me where I'm wrong.