Skip to content

Commit 505d6ba

Browse files
committed
Initial commit
0 parents  commit 505d6ba

30 files changed

Lines changed: 23069 additions & 0 deletions

.stackblitzrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# angular-tutorial
2+
3+
[Edit on StackBlitz ⚡️](https://stackblitz.com/edit/angular-hfzwqf-uc9ybx)

angular.json

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"angular.io-example": {
7+
"projectType": "application",
8+
"root": "",
9+
"sourceRoot": "src",
10+
"prefix": "app",
11+
"architect": {
12+
"build": {
13+
"builder": "@angular-devkit/build-angular:browser",
14+
"options": {
15+
"outputPath": "dist",
16+
"index": "src/index.html",
17+
"main": "src/main.ts",
18+
"polyfills": ["zone.js"],
19+
"tsConfig": "tsconfig.app.json",
20+
"assets": [
21+
"src/favicon.ico",
22+
"src/assets"
23+
],
24+
"styles": [
25+
"src/styles.css"
26+
],
27+
"scripts": []
28+
},
29+
"configurations": {
30+
"production": {
31+
"budgets": [
32+
{
33+
"type": "initial",
34+
"maximumWarning": "500kb",
35+
"maximumError": "1mb"
36+
},
37+
{
38+
"type": "anyComponentStyle",
39+
"maximumWarning": "2kb",
40+
"maximumError": "4kb"
41+
}
42+
],
43+
"outputHashing": "all"
44+
},
45+
"development": {
46+
"buildOptimizer": false,
47+
"optimization": false,
48+
"vendorChunk": true,
49+
"extractLicenses": false,
50+
"sourceMap": true,
51+
"namedChunks": true
52+
}
53+
},
54+
"defaultConfiguration": "production"
55+
},
56+
"serve": {
57+
"builder": "@angular-devkit/build-angular:dev-server",
58+
"configurations": {
59+
"production": {
60+
"browserTarget": "angular.io-example:build:production"
61+
},
62+
"development": {
63+
"browserTarget": "angular.io-example:build:development"
64+
}
65+
},
66+
"defaultConfiguration": "development"
67+
},
68+
"extract-i18n": {
69+
"builder": "@angular-devkit/build-angular:extract-i18n",
70+
"options": {
71+
"browserTarget": "angular.io-example:build"
72+
}
73+
},
74+
"test": {
75+
"builder": "@angular-devkit/build-angular:karma",
76+
"options": {
77+
"polyfills": ["zone.js", "zone.js/testing"],
78+
"tsConfig": "tsconfig.spec.json",
79+
"assets": [
80+
"src/favicon.ico",
81+
"src/assets"
82+
],
83+
"styles": [
84+
"src/styles.css"
85+
],
86+
"scripts": []
87+
}
88+
},
89+
"e2e": {
90+
"builder": "@angular-devkit/build-angular:protractor",
91+
"options": {
92+
"protractorConfig": "e2e/protractor.conf.js",
93+
"devServerTarget": "angular.io-example:serve"
94+
},
95+
"configurations": {
96+
"production": {
97+
"devServerTarget": "angular.io-example:serve:production"
98+
}
99+
}
100+
}
101+
}
102+
}
103+
}
104+
}

0 commit comments

Comments
 (0)