Skip to content

Commit 77f3b19

Browse files
committed
initial commit
0 parents  commit 77f3b19

8 files changed

+4217
-0
lines changed

Diff for: .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

Diff for: .gitignore

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

Diff for: README.md

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

Diff for: 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+
}

Diff for: package.json

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"name": "angular-image-annotator",
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": "~7.1.0",
15+
"@angular/common": "~7.1.0",
16+
"@angular/compiler": "~7.1.0",
17+
"@angular/core": "~7.1.0",
18+
"@angular/forms": "~7.1.0",
19+
"@angular/platform-browser": "~7.1.0",
20+
"@angular/platform-browser-dynamic": "~7.1.0",
21+
"@angular/router": "~7.1.0",
22+
"core-js": "^2.5.4",
23+
"rxjs": "~6.3.3",
24+
"tslib": "^1.9.0",
25+
"zone.js": "~0.8.26"
26+
},
27+
"devDependencies": {
28+
"@angular/cli": "~7.1.3",
29+
"@angular/compiler-cli": "~7.1.0",
30+
"@angular/language-service": "~7.1.0",
31+
"@types/node": "~8.9.4",
32+
"@types/jasmine": "~2.8.8",
33+
"@types/jasminewd2": "~2.0.3",
34+
"codelyzer": "~4.5.0",
35+
"jasmine-core": "~2.99.1",
36+
"jasmine-spec-reporter": "~4.2.1",
37+
"karma": "~3.1.1",
38+
"karma-chrome-launcher": "~2.2.0",
39+
"karma-coverage-istanbul-reporter": "~2.0.1",
40+
"karma-jasmine": "~1.1.2",
41+
"karma-jasmine-html-reporter": "^0.2.2",
42+
"protractor": "~5.4.0",
43+
"ts-node": "~7.0.0",
44+
"tslint": "~5.11.0",
45+
"typescript": "~3.1.6"
46+
}
47+
}

Diff for: tsconfig.json

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

Diff for: tslint.json

+131
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"rulesDirectory": [
3+
"codelyzer"
4+
],
5+
"rules": {
6+
"arrow-return-shorthand": true,
7+
"callable-types": true,
8+
"class-name": true,
9+
"comment-format": [
10+
true,
11+
"check-space"
12+
],
13+
"curly": true,
14+
"deprecation": {
15+
"severity": "warn"
16+
},
17+
"eofline": true,
18+
"forin": true,
19+
"import-blacklist": [
20+
true,
21+
"rxjs/Rx"
22+
],
23+
"import-spacing": true,
24+
"indent": [
25+
true,
26+
"spaces"
27+
],
28+
"interface-over-type-literal": true,
29+
"label-position": true,
30+
"max-line-length": [
31+
true,
32+
140
33+
],
34+
"member-access": false,
35+
"member-ordering": [
36+
true,
37+
{
38+
"order": [
39+
"static-field",
40+
"instance-field",
41+
"static-method",
42+
"instance-method"
43+
]
44+
}
45+
],
46+
"no-arg": true,
47+
"no-bitwise": true,
48+
"no-console": [
49+
true,
50+
"debug",
51+
"info",
52+
"time",
53+
"timeEnd",
54+
"trace"
55+
],
56+
"no-construct": true,
57+
"no-debugger": true,
58+
"no-duplicate-super": true,
59+
"no-empty": false,
60+
"no-empty-interface": true,
61+
"no-eval": true,
62+
"no-inferrable-types": [
63+
true,
64+
"ignore-params"
65+
],
66+
"no-misused-new": true,
67+
"no-non-null-assertion": true,
68+
"no-redundant-jsdoc": true,
69+
"no-shadowed-variable": true,
70+
"no-string-literal": false,
71+
"no-string-throw": true,
72+
"no-switch-case-fall-through": true,
73+
"no-trailing-whitespace": true,
74+
"no-unnecessary-initializer": true,
75+
"no-unused-expression": true,
76+
"no-use-before-declare": true,
77+
"no-var-keyword": true,
78+
"object-literal-sort-keys": false,
79+
"one-line": [
80+
true,
81+
"check-open-brace",
82+
"check-catch",
83+
"check-else",
84+
"check-whitespace"
85+
],
86+
"prefer-const": true,
87+
"quotemark": [
88+
true,
89+
"single"
90+
],
91+
"radix": true,
92+
"semicolon": [
93+
true,
94+
"always"
95+
],
96+
"triple-equals": [
97+
true,
98+
"allow-null-check"
99+
],
100+
"typedef-whitespace": [
101+
true,
102+
{
103+
"call-signature": "nospace",
104+
"index-signature": "nospace",
105+
"parameter": "nospace",
106+
"property-declaration": "nospace",
107+
"variable-declaration": "nospace"
108+
}
109+
],
110+
"unified-signatures": true,
111+
"variable-name": false,
112+
"whitespace": [
113+
true,
114+
"check-branch",
115+
"check-decl",
116+
"check-operator",
117+
"check-separator",
118+
"check-type"
119+
],
120+
"no-output-on-prefix": true,
121+
"use-input-property-decorator": true,
122+
"use-output-property-decorator": true,
123+
"use-host-property-decorator": true,
124+
"no-input-rename": true,
125+
"no-output-rename": true,
126+
"use-life-cycle-interface": true,
127+
"use-pipe-transform-interface": true,
128+
"component-class-suffix": true,
129+
"directive-class-suffix": true
130+
}
131+
}

0 commit comments

Comments
 (0)