This commit updates the docs examples to Angular v12.1.3. In addition to updating the dependencies versions, it also updates the projects' structure and configs to more closely match what a new v12 CLI app would look like. See, also, the [diff][1] between a basic v11.2.11 CLI app and a v12.1.3 one. [1]: https://github.com/cexbrayat/angular-cli-diff/compare/11.2.11..12.1.3 PR Close #42949
55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"name": "angular.io-example",
|
|
"version": "0.0.0",
|
|
"description": "Example project from an angular.io guide.",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"ng": "ng",
|
|
"start": "ng serve",
|
|
"start:fr": "ng serve --configuration=fr",
|
|
"build": "ng build",
|
|
"build:fr": "ng build --configuration=production-fr",
|
|
"watch": "ng build --watch --configuration development",
|
|
"test": "ng test",
|
|
"lint": "ng lint",
|
|
"e2e": "ng e2e",
|
|
"extract": "ng extract-i18n --output-path=locale"
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"@angular/animations": "~12.1.0-",
|
|
"@angular/common": "~12.1.0-",
|
|
"@angular/compiler": "~12.1.0-",
|
|
"@angular/core": "~12.1.0-",
|
|
"@angular/forms": "~12.1.0-",
|
|
"@angular/localize": "~12.1.0-",
|
|
"@angular/platform-browser": "~12.1.0-",
|
|
"@angular/platform-browser-dynamic": "~12.1.0-",
|
|
"@angular/router": "~12.1.0-",
|
|
"angular-in-memory-web-api": "~0.11.0",
|
|
"rxjs": "~6.6.0",
|
|
"tslib": "^2.2.0",
|
|
"zone.js": "~0.11.4"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/build-angular": "~12.1.3",
|
|
"@angular/cli": "~12.1.3",
|
|
"@angular/compiler-cli": "~12.1.0-",
|
|
"@types/jasmine": "~3.8.0",
|
|
"@types/node": "^12.11.1",
|
|
"codelyzer": "^6.0.0",
|
|
"jasmine-core": "~3.8.0",
|
|
"jasmine-marbles": "~0.8.3",
|
|
"jasmine-spec-reporter": "~7.0.0",
|
|
"karma": "~6.3.0",
|
|
"karma-chrome-launcher": "~3.1.0",
|
|
"karma-coverage": "~2.0.3",
|
|
"karma-jasmine": "~4.0.0",
|
|
"karma-jasmine-html-reporter": "~1.7.0",
|
|
"protractor": "~7.0.0",
|
|
"ts-node": "~10.1.0",
|
|
"tslint": "~6.1.0",
|
|
"typescript": "~4.3.2"
|
|
}
|
|
}
|