I'm a newcomer to Angular and currently working on setting up an Angular project. I ran yo angular
and after completing some initial steps, I reached a point where it presented me with the following question:
? Overwrite package.json? (ynaxdH)
y) overwrite
n) do not overwrite
a) overwrite this and all others
x) abort
d) show the differences between the old and the new
h) Help, list all options
Answer:
I wasn't sure which option to choose as this is a completely new project for me. So, I opted for the d
option to understand the difference.
The question about overwriting package.json brought up the following comparison of what was removed and added:
removed added
{
"name": "client",
"private": true,
"devDependencies": {
"autoprefixer-core": "^5.2.1",
... // The rest of the devDependencies
},
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "karma start test/karma.conf.js"
}
}
In essence, the addition that appeared was:
},
"scripts": {
"test": "karma start test/karma.conf.js"
}