Erstelle ein neues Projekt mit dem Angular CLI
$> cd /path/to/your/workplace
$> ng new angular-workshop
Erstellt Verzeichnis ./angular-workshop und installiert alle Dependencies.
"scripts": {
"clean": "npm run rimraf dist",
"build": "npm run clean && npm run ng build"
}
Semantic Versioning Cheatsheet
"jquery": "2.4.6",
npm i -E @angular/http
"devDependencies": {
"webpack": "2.2.1",
"karma": "0.12.1"
},
"scripts": {
"build": "webpack",
"test": "npm run build && npm run karma start"
}
Zugriff auf der Konsole per "npm run build"