Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
Intranet
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Matteo
Intranet
Commits
71a3fd61
Commit
71a3fd61
authored
Oct 12, 2021
by
Matteo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
a53849a8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
156 additions
and
48 deletions
+156
-48
.browserslistrc
.browserslistrc
+17
-0
.editorconfig
.editorconfig
+16
-0
.eslintrc.json
.eslintrc.json
+47
-0
angular.json
angular.json
+32
-48
karma.conf.js
karma.conf.js
+44
-0
No files found.
.browserslistrc
0 → 100644
View file @
71a3fd61
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.
.editorconfig
0 → 100644
View file @
71a3fd61
# Editor configuration, see https://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
[*.ts]
quote_type = single
[*.md]
max_line_length = off
trim_trailing_whitespace = false
.eslintrc.json
0 → 100644
View file @
71a3fd61
{
"root"
:
true
,
"ignorePatterns"
:
[
"projects/**/*"
],
"overrides"
:
[
{
"files"
:
[
"*.ts"
],
"parserOptions"
:
{
"project"
:
[
"tsconfig.json"
,
"e2e/tsconfig.json"
],
"createDefaultProgram"
:
true
},
"extends"
:
[
"plugin:@angular-eslint/ng-cli-compat"
,
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on"
,
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules"
:
{
"@angular-eslint/component-class-suffix"
:
[
"error"
,
{
"suffixes"
:
[
"Page"
,
"Component"
]
}
],
"@angular-eslint/component-selector"
:
[
"error"
,
{
"type"
:
"element"
,
"prefix"
:
"app"
,
"style"
:
"kebab-case"
}
],
"@angular-eslint/directive-selector"
:
[
"error"
,
{
"type"
:
"attribute"
,
"prefix"
:
"app"
,
"style"
:
"camelCase"
}
]
}
},
{
"files"
:
[
"*.html"
],
"extends"
:
[
"plugin:@angular-eslint/template/recommended"
],
"rules"
:
{}
}
]
}
angular.json
View file @
71a3fd61
{
"$schema"
:
"./node_modules/@angular
-devkit/core/src/workspace/workspace-
schema.json"
,
"$schema"
:
"./node_modules/@angular
/cli/lib/config/
schema.json"
,
"version"
:
1
,
"defaultProject"
:
"app"
,
"newProjectRoot"
:
"projects"
,
...
...
@@ -18,7 +18,7 @@
"index"
:
"src/index.html"
,
"main"
:
"src/main.ts"
,
"polyfills"
:
"src/polyfills.ts"
,
"tsConfig"
:
"
src/
tsconfig.app.json"
,
"tsConfig"
:
"tsconfig.app.json"
,
"assets"
:
[
{
"glob"
:
"**/*"
,
...
...
@@ -31,22 +31,15 @@
"output"
:
"./svg"
}
],
"styles"
:
[
{
"input"
:
"src/theme/variables.scss"
},
{
"input"
:
"src/global.scss"
},
{
"input"
:
"src/desktop.scss"
},
{
"input"
:
"src/smartphone.scss"
}
],
"styles"
:
[
"src/theme/variables.scss"
,
"src/global.scss"
,
"src/desktop.scss"
,
"src/smartphone.scss"
],
"scripts"
:
[],
"es5BrowserSupport"
:
true
"aot"
:
false
,
"vendorChunk"
:
true
,
"extractLicenses"
:
false
,
"buildOptimizer"
:
false
,
"sourceMap"
:
true
,
"optimization"
:
false
,
"namedChunks"
:
true
},
"configurations"
:
{
"production"
:
{
...
...
@@ -59,7 +52,6 @@
"optimization"
:
true
,
"outputHashing"
:
"all"
,
"sourceMap"
:
false
,
"extractCss"
:
true
,
"namedChunks"
:
false
,
"aot"
:
true
,
"extractLicenses"
:
true
,
...
...
@@ -103,8 +95,8 @@
"options"
:
{
"main"
:
"src/test.ts"
,
"polyfills"
:
"src/polyfills.ts"
,
"tsConfig"
:
"
src/
tsconfig.spec.json"
,
"karmaConfig"
:
"
src/
karma.conf.js"
,
"tsConfig"
:
"tsconfig.spec.json"
,
"karmaConfig"
:
"karma.conf.js"
,
"styles"
:
[],
"scripts"
:
[],
"assets"
:
[
...
...
@@ -128,10 +120,27 @@
}
},
"lint"
:
{
"builder"
:
"@angular-
devkit/build-angular:ts
lint"
,
"builder"
:
"@angular-
eslint/builder:
lint"
,
"options"
:
{
"tsConfig"
:
[
"src/tsconfig.app.json"
,
"src/tsconfig.spec.json"
],
"exclude"
:
[
"**/node_modules/**"
]
"lintFilePatterns"
:
[
"src/**/*.ts"
,
"src/**/*.html"
]
}
},
"e2e"
:
{
"builder"
:
"@angular-devkit/build-angular:protractor"
,
"options"
:
{
"protractorConfig"
:
"e2e/protractor.conf.js"
,
"devServerTarget"
:
"app:serve"
},
"configurations"
:
{
"production"
:
{
"devServerTarget"
:
"app:serve:production"
},
"ci"
:
{
"devServerTarget"
:
"app:serve:ci"
}
}
},
"ionic-cordova-build"
:
{
...
...
@@ -159,31 +168,6 @@
}
}
}
},
"app-e2e"
:
{
"root"
:
"e2e/"
,
"projectType"
:
"application"
,
"architect"
:
{
"e2e"
:
{
"builder"
:
"@angular-devkit/build-angular:protractor"
,
"options"
:
{
"protractorConfig"
:
"e2e/protractor.conf.js"
,
"devServerTarget"
:
"app:serve"
},
"configurations"
:
{
"ci"
:
{
"devServerTarget"
:
"app:serve:ci"
}
}
},
"lint"
:
{
"builder"
:
"@angular-devkit/build-angular:tslint"
,
"options"
:
{
"tsConfig"
:
"e2e/tsconfig.e2e.json"
,
"exclude"
:
[
"**/node_modules/**"
]
}
}
}
}
},
"cli"
:
{
...
...
karma.conf.js
0 → 100644
View file @
71a3fd61
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module
.
exports
=
function
(
config
)
{
config
.
set
({
basePath
:
''
,
frameworks
:
[
'jasmine'
,
'@angular-devkit/build-angular'
],
plugins
:
[
require
(
'karma-jasmine'
),
require
(
'karma-chrome-launcher'
),
require
(
'karma-jasmine-html-reporter'
),
require
(
'karma-coverage'
),
require
(
'@angular-devkit/build-angular/plugins/karma'
)
],
client
:
{
jasmine
:
{
// you can add configuration options for Jasmine here
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
// for example, you can disable the random execution with `random: false`
// or set a specific seed with `seed: 4321`
},
clearContext
:
false
// leave Jasmine Spec Runner output visible in browser
},
jasmineHtmlReporter
:
{
suppressAll
:
true
// removes the duplicated traces
},
coverageReporter
:
{
dir
:
require
(
'path'
).
join
(
__dirname
,
'./coverage/ngv'
),
subdir
:
'.'
,
reporters
:
[
{
type
:
'html'
},
{
type
:
'text-summary'
}
]
},
reporters
:
[
'progress'
,
'kjhtml'
],
port
:
9876
,
colors
:
true
,
logLevel
:
config
.
LOG_INFO
,
autoWatch
:
true
,
browsers
:
[
'Chrome'
],
singleRun
:
false
,
restartOnFileChange
:
true
});
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment