Skip to content

Commit 849afff

Browse files
committed
first version
1 parent d4760b3 commit 849afff

File tree

119 files changed

+27372
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+27372
-2
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.ts]
12+
quote_type = single
13+
14+
[*.md]
15+
max_line_length = off
16+
trim_trailing_whitespace = false

.gitignore

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# dependencies
11+
/node_modules
12+
13+
# profiling files
14+
chrome-profiler-events*.json
15+
speed-measure-plugin*.json
16+
17+
# IDEs and editors
18+
/.idea
19+
.project
20+
.classpath
21+
.c9/
22+
*.launch
23+
.settings/
24+
*.sublime-workspace
25+
26+
# IDE - VSCode
27+
.vscode/*
28+
!.vscode/settings.json
29+
!.vscode/tasks.json
30+
!.vscode/launch.json
31+
!.vscode/extensions.json
32+
.history/*
33+
34+
# misc
35+
/.sass-cache
36+
/connect.lock
37+
/coverage
38+
/libpeerconnection.log
39+
npm-debug.log
40+
yarn-error.log
41+
testem.log
42+
/typings
43+
44+
# System Files
45+
.DS_Store
46+
Thumbs.db

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#### 0.0.1 (2020-05-14)
2+

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
1-
# angular-starter
2-
Angular 9 Starter project with Material, Transloco & Jest
1+
# AngularStarter
2+
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.6.
4+
5+
## Development server
6+
7+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
8+
9+
## Code scaffolding
10+
11+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12+
13+
## Build
14+
15+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
16+
17+
## Running unit tests
18+
19+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20+
21+
## Running end-to-end tests
22+
23+
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
24+
25+
## Further help
26+
27+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

angular.json

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

browserslist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.

documentation/coverage.html

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
<!doctype html>
2+
<html class="no-js" lang="">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="x-ua-compatible" content="ie=edge">
6+
<title>angular-starter documentation</title>
7+
<meta name="description" content="">
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
10+
<link rel="icon" type="image/x-icon" href="./images/favicon.ico">
11+
<link rel="stylesheet" href="./styles/style.css">
12+
</head>
13+
<body>
14+
15+
<div class="navbar navbar-default navbar-fixed-top visible-xs">
16+
<a href="./" class="navbar-brand">angular-starter documentation</a>
17+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
18+
</div>
19+
20+
<div class="xs-menu menu" id="mobile-menu">
21+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
22+
</div>
23+
24+
<div class="container-fluid main">
25+
<div class="row main">
26+
<div class="hidden-xs menu">
27+
<compodoc-menu mode="normal"></compodoc-menu>
28+
</div>
29+
<!-- START CONTENT -->
30+
<div class="content coverage">
31+
<div class="content-data">
32+
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
<ol class="breadcrumb">
50+
<li>Documentation coverage</li>
51+
</ol>
52+
53+
<div>
54+
<img src="./images/coverage-badge-documentation.svg">
55+
</div>
56+
57+
<table class="table table-bordered coverage" id="coverage-table">
58+
<thead class="coverage-header">
59+
<tr>
60+
<th>File</th>
61+
<th>Type</th>
62+
<th>Identifier</th>
63+
<th style="text-align:right" class="statements" data-sort-default>Statements</th>
64+
</tr>
65+
</thead>
66+
<tbody>
67+
</tbody>
68+
</table>
69+
70+
<script src="js/libs/tablesort.min.js"></script>
71+
<script src="js/libs/tablesort.number.min.js"></script>
72+
<script>
73+
new Tablesort(document.getElementById('coverage-table'));
74+
</script>
75+
76+
</div><div class="search-results">
77+
<div class="has-results">
78+
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1>
79+
<ul class="search-results-list"></ul>
80+
</div>
81+
<div class="no-results">
82+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
83+
</div>
84+
</div>
85+
</div>
86+
<!-- END CONTENT -->
87+
</div>
88+
</div>
89+
90+
<script>
91+
var COMPODOC_CURRENT_PAGE_DEPTH = 0;
92+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'coverage';
93+
var COMPODOC_CURRENT_PAGE_URL = 'coverage.html';
94+
var MAX_SEARCH_RESULTS = 15;
95+
</script>
96+
97+
<script src="./js/libs/custom-elements.min.js"></script>
98+
<script src="./js/libs/lit-html.js"></script>
99+
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
100+
<script src="./js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
101+
<script src="./js/menu-wc.js" defer></script>
102+
103+
<script src="./js/libs/bootstrap-native.js"></script>
104+
105+
<script src="./js/libs/es6-shim.min.js"></script>
106+
<script src="./js/libs/EventDispatcher.js"></script>
107+
<script src="./js/libs/promise.min.js"></script>
108+
<script src="./js/libs/zepto.min.js"></script>
109+
110+
<script src="./js/compodoc.js"></script>
111+
112+
<script src="./js/tabs.js"></script>
113+
<script src="./js/menu.js"></script>
114+
<script src="./js/libs/clipboard.min.js"></script>
115+
<script src="./js/libs/prism.js"></script>
116+
<script src="./js/sourceCode.js"></script>
117+
<script src="./js/search/search.js"></script>
118+
<script src="./js/search/lunr.min.js"></script>
119+
<script src="./js/search/search-lunr.js"></script>
120+
<script src="./js/search/search_index.js"></script>
121+
<script src="./js/lazy-load-graphs.js"></script>
122+
123+
124+
</body>
125+
</html>

0 commit comments

Comments
 (0)