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",
"repository": {
"type": "git",
"url": "https://github.com/nextlevelshit/nls-ng6-d3js-guilloche"
"url": "https://github.com/nextlevelshit/nls-guilloche-generator"
},
"licenses": [
{
"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": {

View File

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

View File

@@ -14,26 +14,19 @@
* 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 { BrowserModule } from '@angular/platform-browser';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { MomentModule } from 'ngx-moment';
import { AppComponent } from './app.component';
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 { 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({
declarations: [
AppComponent,
NlsGraphsComponent,
NlsGuillocheDirective
],
imports: [
BrowserModule,
@@ -42,11 +35,7 @@ import { NlsGraphService } from 'projects/nls-guilloche/src/public_api';
MomentModule,
],
providers: [
NlsCanvasService,
NlsHistoryService,
NlsAnimationService,
NlsMathService,
NlsGraphService,
],
bootstrap: [AppComponent]
})