Skip to content

Commit eac9403

Browse files
committed
initial commit
1 parent e044954 commit eac9403

8 files changed

+4751
-0
lines changed

.editorconfig

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

.gitignore

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

README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# NgxScrolltop
2+
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.4.
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

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {}
6+
}

package.json

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"name": "ngx-scrolltop",
3+
"version": "0.0.0",
4+
"scripts": {
5+
"ng": "ng",
6+
"start": "ng serve",
7+
"build": "ng build",
8+
"test": "ng test",
9+
"lint": "ng lint",
10+
"e2e": "ng e2e"
11+
},
12+
"private": true,
13+
"dependencies": {
14+
"@angular/animations": "~8.2.5",
15+
"@angular/common": "~8.2.5",
16+
"@angular/compiler": "~8.2.5",
17+
"@angular/core": "~8.2.5",
18+
"@angular/forms": "~8.2.5",
19+
"@angular/platform-browser": "~8.2.5",
20+
"@angular/platform-browser-dynamic": "~8.2.5",
21+
"@angular/router": "~8.2.5",
22+
"rxjs": "~6.4.0",
23+
"tslib": "^1.10.0",
24+
"zone.js": "~0.9.1"
25+
},
26+
"devDependencies": {
27+
"@angular/cli": "~8.3.4",
28+
"@angular/compiler-cli": "~8.2.5",
29+
"@angular/language-service": "~8.2.5",
30+
"@types/node": "~8.9.4",
31+
"@types/jasmine": "~3.3.8",
32+
"@types/jasminewd2": "~2.0.3",
33+
"codelyzer": "^5.0.0",
34+
"jasmine-core": "~3.4.0",
35+
"jasmine-spec-reporter": "~4.2.1",
36+
"karma": "~4.1.0",
37+
"karma-chrome-launcher": "~2.2.0",
38+
"karma-coverage-istanbul-reporter": "~2.0.1",
39+
"karma-jasmine": "~2.0.1",
40+
"karma-jasmine-html-reporter": "^1.4.0",
41+
"protractor": "~5.4.0",
42+
"ts-node": "~7.0.0",
43+
"tslint": "~5.15.0",
44+
"typescript": "~3.5.3"
45+
}
46+
}

tsconfig.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"baseUrl": "./",
5+
"outDir": "./dist/out-tsc",
6+
"sourceMap": true,
7+
"declaration": false,
8+
"downlevelIteration": true,
9+
"experimentalDecorators": true,
10+
"module": "esnext",
11+
"moduleResolution": "node",
12+
"importHelpers": true,
13+
"target": "es2015",
14+
"typeRoots": [
15+
"node_modules/@types"
16+
],
17+
"lib": [
18+
"es2018",
19+
"dom"
20+
]
21+
},
22+
"angularCompilerOptions": {
23+
"fullTemplateTypeCheck": true,
24+
"strictInjectionParameters": true
25+
}
26+
}

tslint.json

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"extends": "tslint:recommended",
3+
"rulesDirectory": [
4+
"codelyzer"
5+
],
6+
"rules": {
7+
"array-type": false,
8+
"arrow-parens": false,
9+
"deprecation": {
10+
"severity": "warning"
11+
},
12+
"import-blacklist": [
13+
true,
14+
"rxjs/Rx"
15+
],
16+
"interface-name": false,
17+
"max-classes-per-file": false,
18+
"max-line-length": [
19+
true,
20+
140
21+
],
22+
"member-access": false,
23+
"member-ordering": [
24+
true,
25+
{
26+
"order": [
27+
"static-field",
28+
"instance-field",
29+
"static-method",
30+
"instance-method"
31+
]
32+
}
33+
],
34+
"no-consecutive-blank-lines": false,
35+
"no-console": [
36+
true,
37+
"debug",
38+
"info",
39+
"time",
40+
"timeEnd",
41+
"trace"
42+
],
43+
"no-empty": false,
44+
"no-inferrable-types": [
45+
true,
46+
"ignore-params"
47+
],
48+
"no-non-null-assertion": true,
49+
"no-redundant-jsdoc": true,
50+
"no-switch-case-fall-through": true,
51+
"no-use-before-declare": true,
52+
"no-var-requires": false,
53+
"object-literal-key-quotes": [
54+
true,
55+
"as-needed"
56+
],
57+
"object-literal-sort-keys": false,
58+
"ordered-imports": false,
59+
"quotemark": [
60+
true,
61+
"single"
62+
],
63+
"trailing-comma": false,
64+
"component-class-suffix": true,
65+
"contextual-lifecycle": true,
66+
"directive-class-suffix": true,
67+
"no-conflicting-lifecycle": true,
68+
"no-host-metadata-property": true,
69+
"no-input-rename": true,
70+
"no-inputs-metadata-property": true,
71+
"no-output-native": true,
72+
"no-output-on-prefix": true,
73+
"no-output-rename": true,
74+
"no-outputs-metadata-property": true,
75+
"template-banana-in-box": true,
76+
"template-no-negated-async": true,
77+
"use-lifecycle-interface": true,
78+
"use-pipe-transform-interface": true
79+
}
80+
}

0 commit comments

Comments
 (0)