Skip to content

Commit 481450e

Browse files
author
Georgi Peltekov
committed
Remove some not needed dependencies
1 parent 86a6c1a commit 481450e

File tree

4 files changed

+5
-19
lines changed

4 files changed

+5
-19
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ customstyle | Custom style class name to be used | customstyle="my-style"
104104

105105
## Change Log
106106

107+
### 1.0.7
108+
* Remove some not needed dependencies
109+
107110
### 1.0.7
108111
* Fix typos in Readme
109112

lib/ngx-drop/file-drop.module.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
1-
import { BrowserModule } from '@angular/platform-browser';
21
import { NgModule } from '@angular/core';
3-
import { FormsModule } from '@angular/forms';
4-
import { HttpModule } from '@angular/http';
52
import {FileComponent} from './file-drop.component';
63

74
@NgModule({
85
declarations: [
96
FileComponent,
107
],
118
exports: [FileComponent],
12-
imports: [
13-
BrowserModule,
14-
FormsModule,
15-
HttpModule
16-
],
9+
imports: [],
1710
providers: [],
1811
bootstrap: [FileComponent],
1912
})

lib/sandbox/app/app.module.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { BrowserModule } from '@angular/platform-browser';
22
import { NgModule } from '@angular/core';
3-
import { FormsModule } from '@angular/forms';
4-
import { HttpModule } from '@angular/http';
53

64
import { AppComponent } from './app.component';
75
import { FileDropModule } from '../../ngx-drop';
@@ -13,8 +11,6 @@ import { FileDropModule } from '../../ngx-drop';
1311
],
1412
imports: [
1513
BrowserModule,
16-
FormsModule,
17-
HttpModule,
1814
FileDropModule
1915
],
2016
providers: [],

package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-file-drop",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"license": "MIT",
55
"scripts": {
66
"ng": "ng",
@@ -29,17 +29,11 @@
2929
"url": "https://github.com/georgipeltekov/ngx-file-drop.git"
3030
},
3131
"dependencies": {
32-
"@angular/animations": "^4.0.0",
3332
"@angular/common": "^4.0.0",
3433
"@angular/compiler": "^4.0.0",
3534
"@angular/core": "^4.0.0",
36-
"@angular/forms": "^4.0.0",
37-
"@angular/http": "^4.0.0",
38-
"@angular/material": "^2.0.0-beta.5",
3935
"@angular/platform-browser": "^4.0.0",
4036
"@angular/platform-browser-dynamic": "^4.0.0",
41-
"@angular/router": "^4.0.0",
42-
"core-js": "^2.4.1",
4337
"rxjs": "^5.1.0",
4438
"zone.js": "^0.8.4"
4539
},

0 commit comments

Comments
 (0)