Skip to content

Commit 8d775f9

Browse files
committed
''
1 parent d26c49c commit 8d775f9

File tree

174 files changed

+44454
-0
lines changed

Some content is hidden

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

174 files changed

+44454
-0
lines changed

angular-13/.browserslistrc

+12
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'.

angular-13/.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://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+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

angular-13/.gitignore

+42
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+
8+
# dependencies
9+
/node_modules
10+
11+
# IDEs and editors
12+
/.idea
13+
.project
14+
.classpath
15+
.c9/
16+
*.launch
17+
.settings/
18+
*.sublime-workspace
19+
20+
# IDE - VSCode
21+
.vscode/*
22+
!.vscode/settings.json
23+
!.vscode/tasks.json
24+
!.vscode/launch.json
25+
!.vscode/extensions.json
26+
27+
# misc
28+
/.sass-cache
29+
/connect.lock
30+
/coverage
31+
/libpeerconnection.log
32+
npm-debug.log
33+
testem.log
34+
/typings
35+
36+
# e2e
37+
/e2e/*.js
38+
/e2e/*.map
39+
40+
# System Files
41+
.DS_Store
42+
Thumbs.db

angular-13/angular.json

+157
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"material": {
7+
"root": "",
8+
"sourceRoot": "src",
9+
"projectType": "application",
10+
"architect": {
11+
"build": {
12+
"builder": "@angular-devkit/build-angular:browser",
13+
"options": {
14+
"allowedCommonJsDependencies": [
15+
"rxjs-compat",
16+
"rxjs",
17+
"hammerjs",
18+
"chartist"
19+
],
20+
"outputPath": "dist",
21+
"index": "src/index.html",
22+
"main": "src/main.ts",
23+
"tsConfig": "tsconfig.app.json",
24+
"polyfills": "src/polyfills.ts",
25+
"assets": [
26+
"src/assets",
27+
"src/favicon.ico"
28+
],
29+
"styles": [
30+
"node_modules/chartist/dist/chartist.css",
31+
"src/styles.css",
32+
"src/assets/styles/style.scss"
33+
],
34+
"scripts": [],
35+
"vendorChunk": true,
36+
"extractLicenses": false,
37+
"buildOptimizer": false,
38+
"sourceMap": true,
39+
"optimization": false,
40+
"namedChunks": true
41+
},
42+
"configurations": {
43+
"production": {
44+
"budgets": [
45+
{
46+
"type": "anyComponentStyle",
47+
"maximumWarning": "6kb"
48+
}
49+
],
50+
"optimization": true,
51+
"outputHashing": "all",
52+
"sourceMap": false,
53+
"extractCss": true,
54+
"namedChunks": false,
55+
"extractLicenses": true,
56+
"vendorChunk": false,
57+
"buildOptimizer": true,
58+
"fileReplacements": [
59+
{
60+
"replace": "src/environments/environment.ts",
61+
"with": "src/environments/environment.prod.ts"
62+
}
63+
]
64+
}
65+
}
66+
},
67+
"serve": {
68+
"builder": "@angular-devkit/build-angular:dev-server",
69+
"options": {
70+
"browserTarget": "material:build"
71+
},
72+
"configurations": {
73+
"production": {
74+
"browserTarget": "material:build:production"
75+
}
76+
}
77+
},
78+
"extract-i18n": {
79+
"builder": "@angular-devkit/build-angular:extract-i18n",
80+
"options": {
81+
"browserTarget": "material:build"
82+
}
83+
},
84+
"test": {
85+
"builder": "@angular-devkit/build-angular:karma",
86+
"options": {
87+
"main": "src/test.ts",
88+
"karmaConfig": "./karma.conf.js",
89+
"polyfills": "src/polyfills.ts",
90+
"tsConfig": "tsconfig.spec.json",
91+
"scripts": [
92+
"node_modules/jquery/dist/jquery.min.js"
93+
],
94+
"styles": [
95+
"src/styles.css",
96+
"src/assets/styles/style.scss"
97+
],
98+
"assets": [
99+
"src/assets",
100+
"src/favicon.ico"
101+
]
102+
}
103+
},
104+
"lint": {
105+
"builder": "@angular-devkit/build-angular:tslint",
106+
"options": {
107+
"tsConfig": [
108+
"tsconfig.app.json",
109+
"tsconfig.spec.json"
110+
],
111+
"exclude": [
112+
"**/node_modules/**"
113+
]
114+
}
115+
}
116+
}
117+
},
118+
"material-e2e": {
119+
"root": "",
120+
"sourceRoot": "",
121+
"projectType": "application",
122+
"architect": {
123+
"e2e": {
124+
"builder": "@angular-devkit/build-angular:protractor",
125+
"options": {
126+
"protractorConfig": "./protractor.conf.js",
127+
"devServerTarget": "material:serve"
128+
}
129+
},
130+
"lint": {
131+
"builder": "@angular-devkit/build-angular:tslint",
132+
"options": {
133+
"tsConfig": [
134+
"e2e/tsconfig.e2e.json"
135+
],
136+
"exclude": [
137+
"**/node_modules/**"
138+
]
139+
}
140+
}
141+
}
142+
}
143+
},
144+
"defaultProject": "material",
145+
"schematics": {
146+
"@schematics/angular:component": {
147+
"prefix": "app",
148+
"style": "css"
149+
},
150+
"@schematics/angular:directive": {
151+
"prefix": "app"
152+
}
153+
},
154+
"cli": {
155+
"analytics": false
156+
}
157+
}

angular-13/e2e/app.e2e-spec.ts

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { AppPage } from './app.po';
2+
3+
describe('material App', () => {
4+
let page: AppPage;
5+
6+
beforeEach(() => {
7+
page = new AppPage();
8+
});
9+
10+
/*it('should display welcome message', () => {
11+
page.navigateTo();
12+
expect(page.getParagraphText()).toEqual('Welcome to app!');
13+
});*/
14+
});

angular-13/e2e/app.po.ts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { browser, by, element } from 'protractor';
2+
3+
export class AppPage {
4+
navigateTo() {
5+
return browser.get('/');
6+
}
7+
8+
getParagraphText() {
9+
return element(by.css('')).getText();
10+
}
11+
}

angular-13/e2e/tsconfig.e2e.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "../tsconfig.base.json",
3+
"compilerOptions": {
4+
"outDir": "../out-tsc/e2e",
5+
"baseUrl": "./",
6+
"module": "commonjs",
7+
"target": "es5",
8+
"types": [
9+
"jasmine",
10+
"jasminewd2",
11+
"node"
12+
]
13+
}
14+
}

angular-13/karma.conf.js

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Karma configuration file, see link for more information
2+
// https://karma-runner.github.io/1.0/config/configuration-file.html
3+
4+
module.exports = function (config) {
5+
config.set({
6+
basePath: '',
7+
frameworks: ['jasmine', '@angular-devkit/build-angular'],
8+
plugins: [
9+
require('karma-jasmine'),
10+
require('karma-chrome-launcher'),
11+
require('karma-jasmine-html-reporter'),
12+
require('karma-coverage-istanbul-reporter'),
13+
require('@angular-devkit/build-angular/plugins/karma')
14+
],
15+
client:{
16+
clearContext: false // leave Jasmine Spec Runner output visible in browser
17+
},
18+
coverageIstanbulReporter: {
19+
dir: require('path').join(__dirname, 'coverage'), reports: [ 'html', 'lcovonly' ],
20+
fixWebpackSourcePaths: true
21+
},
22+
angularCli: {
23+
environment: 'dev'
24+
},
25+
reporters: ['progress', 'kjhtml'],
26+
port: 9876,
27+
colors: true,
28+
logLevel: config.LOG_INFO,
29+
autoWatch: true,
30+
browsers: ['Chrome'],
31+
singleRun: false
32+
});
33+
};

0 commit comments

Comments
 (0)