2
0

removing unneccessary dependencies

This commit is contained in:
2018-09-02 16:35:52 +02:00
parent 060a7d0b57
commit 669154ae3a
3 changed files with 3 additions and 20 deletions

View File

@@ -3,12 +3,12 @@
"version": "1.0.0-rc.1", "version": "1.0.0-rc.1",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/nextlevelshit/nls-ng6-d3js-guilloche" "url": "https://github.com/nextlevelshit/nls-guilloche-generator"
}, },
"licenses": [ "licenses": [
{ {
"type": "GPL-2.0-only", "type": "GPL-2.0-only",
"url": "https://github.com/nextlevelshit/nls-ng6-d3js-guilloche/LICENSE.md" "url": "https://github.com/nextlevelshit/nls-guilloche-generator/LICENSE.md"
} }
], ],
"author": { "author": {

View File

@@ -22,11 +22,7 @@ import * as moment from 'moment';
import 'moment/min/locales'; import 'moment/min/locales';
import { environment as env } from '../environments/environment'; import { environment as env } from '../environments/environment';
import { Config } from 'projects/nls-guilloche/src/public_api';
import { Graph } from 'projects/nls-guilloche/src/public_api';
import { NlsCanvasService } from 'projects/nls-guilloche/src/public_api';
import { NlsHistoryService } from 'projects/nls-guilloche/src/public_api'; import { NlsHistoryService } from 'projects/nls-guilloche/src/public_api';
import { NlsGraphService } from 'projects/nls-guilloche/src/public_api';
@Component({ @Component({
selector: 'app-root', selector: 'app-root',
@@ -44,9 +40,7 @@ export class AppComponent implements OnInit {
public animationActive: boolean; public animationActive: boolean;
constructor( constructor(
private canvasService: NlsCanvasService,
private historyService: NlsHistoryService, private historyService: NlsHistoryService,
private graphService: NlsGraphService,
) { ) {
moment.locale('de'); moment.locale('de');

View File

@@ -14,26 +14,19 @@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
import { BrowserModule } from '@angular/platform-browser';
// import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { ReactiveFormsModule, FormsModule } from '@angular/forms'; import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { MomentModule } from 'ngx-moment'; import { MomentModule } from 'ngx-moment';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
import { NlsGraphsComponent } from 'projects/nls-guilloche/src/public_api'; import { NlsGraphsComponent } from 'projects/nls-guilloche/src/public_api';
import { NlsGuillocheDirective } from 'projects/nls-guilloche/src/public_api';
import { NlsCanvasService } from 'projects/nls-guilloche/src/public_api';
import { NlsHistoryService } from 'projects/nls-guilloche/src/public_api'; import { NlsHistoryService } from 'projects/nls-guilloche/src/public_api';
import { NlsAnimationService } from 'projects/nls-guilloche/src/public_api';
import { NlsMathService } from 'projects/nls-guilloche/src/public_api';
import { NlsGraphService } from 'projects/nls-guilloche/src/public_api';
@NgModule({ @NgModule({
declarations: [ declarations: [
AppComponent, AppComponent,
NlsGraphsComponent, NlsGraphsComponent,
NlsGuillocheDirective
], ],
imports: [ imports: [
BrowserModule, BrowserModule,
@@ -42,11 +35,7 @@ import { NlsGraphService } from 'projects/nls-guilloche/src/public_api';
MomentModule, MomentModule,
], ],
providers: [ providers: [
NlsCanvasService,
NlsHistoryService, NlsHistoryService,
NlsAnimationService,
NlsMathService,
NlsGraphService,
], ],
bootstrap: [AppComponent] bootstrap: [AppComponent]
}) })