Skip to content

Commit ea71f3d

Browse files
committed
initial commit
0 parents  commit ea71f3d

23 files changed

+8700
-0
lines changed

.gitignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# Compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
/bazel-out
8+
9+
# Node
10+
/node_modules
11+
npm-debug.log
12+
yarn-error.log
13+
14+
# IDEs and editors
15+
.idea/
16+
.project
17+
.classpath
18+
.c9/
19+
*.launch
20+
.settings/
21+
*.sublime-workspace
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
29+
.history/*
30+
31+
# Miscellaneous
32+
/.angular/cache
33+
.sass-cache/
34+
/connect.lock
35+
/coverage
36+
/libpeerconnection.log
37+
testem.log
38+
/typings
39+
40+
# System files
41+
.DS_Store
42+
Thumbs.db

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"git.ignoreLimitWarning": true
3+
}

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Angular sample project
2+
3+
Forked from the ready-made sample project at https://angular.io/start#create-the-sample-project
4+
5+
To serve the project, run
6+
```
7+
pnpm i
8+
pnpm start
9+
```

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+
}

package.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "angular.io-example",
3+
"version": "0.0.0",
4+
"description": "Example project from an angular.io guide.",
5+
"license": "MIT",
6+
"scripts": {
7+
"ng": "ng",
8+
"start": "ng serve",
9+
"build": "ng build",
10+
"watch": "ng build --watch --configuration development",
11+
"test": "ng test",
12+
"e2e": "ng e2e"
13+
},
14+
"private": true,
15+
"dependencies": {
16+
"@angular/animations": "^16.2.2",
17+
"@angular/common": "^16.2.2",
18+
"@angular/compiler": "^16.2.2",
19+
"@angular/core": "^16.2.2",
20+
"@angular/forms": "^16.2.2",
21+
"@angular/platform-browser": "^16.2.2",
22+
"@angular/platform-browser-dynamic": "^16.2.2",
23+
"@angular/router": "^16.2.2",
24+
"angular-in-memory-web-api": "~0.16.0",
25+
"rxjs": "~7.8.0",
26+
"tslib": "^2.3.0",
27+
"zone.js": "~0.13.0"
28+
},
29+
"devDependencies": {
30+
"@angular-devkit/build-angular": "^16.2.2",
31+
"@angular/cli": "^16.2.2",
32+
"@angular/compiler-cli": "^16.2.2",
33+
"@types/jasmine": "~4.3.0",
34+
"@types/node": "^16.11.35",
35+
"copyfiles": "^2.4.1",
36+
"jasmine-core": "~4.6.0",
37+
"jasmine-marbles": "~0.9.2",
38+
"jasmine-spec-reporter": "~7.0.0",
39+
"karma": "~6.4.0",
40+
"karma-chrome-launcher": "~3.2.0",
41+
"karma-coverage": "~2.2.0",
42+
"karma-jasmine": "~5.1.0",
43+
"karma-jasmine-html-reporter": "~2.1.0",
44+
"protractor": "~7.0.0",
45+
"ts-node": "~10.9.0",
46+
"typescript": "~4.9.3"
47+
}
48+
}

0 commit comments

Comments
 (0)