diff --git a/angular-cli.json b/angular-cli.json
index 03ed289d..115a6467 100644
--- a/angular-cli.json
+++ b/angular-cli.json
@@ -7,19 +7,14 @@
{
"root": "src",
"outDir": "dist",
- "assets": [
- "assets",
- "favicon.ico"
- ],
+ "assets": [],
"index": "index.html",
"main": "main.ts",
"test": "test.ts",
"tsconfig": "tsconfig.json",
"prefix": "app",
"mobile": false,
- "styles": [
- "styles.css"
- ],
+ "styles": [],
"scripts": [],
"environments": {
"source": "environments/environment.ts",
@@ -49,11 +44,11 @@
},
"spec": {
"class": false,
- "component": true,
- "directive": true,
- "module": false,
+ "component": false,
+ "directive": false,
+ "module": true,
"pipe": true,
- "service": true
+ "service": false
}
}
}
diff --git a/package.json b/package.json
index 6738511f..eef35f90 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ng2-pipes",
- "version": "0.4.12",
+ "version": "0.4.13",
"author": "Dan Revah",
"description": "Useful angular2 pipes",
"license": "MIT",
diff --git a/src/app/demo/app.component.css b/src/app/demo/app.component.css
deleted file mode 100644
index e69de29b..00000000
diff --git a/src/app/demo/app.component.html b/src/app/demo/app.component.html
deleted file mode 100644
index b6931b53..00000000
--- a/src/app/demo/app.component.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
- {{title}}
-
diff --git a/src/app/demo/app.component.spec.ts b/src/app/demo/app.component.spec.ts
deleted file mode 100644
index f1e6bed7..00000000
--- a/src/app/demo/app.component.spec.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-/* tslint:disable:no-unused-variable */
-
-import { TestBed, async } from '@angular/core/testing';
-import { AppComponent } from './app.component';
-
-describe('AppComponent', () => {
- beforeEach(() => {
- TestBed.configureTestingModule({
- declarations: [
- AppComponent
- ],
- });
- });
-
- it('should create the app', async(() => {
- let fixture = TestBed.createComponent(AppComponent);
- let app = fixture.debugElement.componentInstance;
- expect(app).toBeTruthy();
- }));
-
- it(`should have as title 'app works!'`, async(() => {
- let fixture = TestBed.createComponent(AppComponent);
- let app = fixture.debugElement.componentInstance;
- expect(app.title).toEqual('app works!');
- }));
-
- it('should render title in a h1 tag', async(() => {
- let fixture = TestBed.createComponent(AppComponent);
- fixture.detectChanges();
- let compiled = fixture.debugElement.nativeElement;
- expect(compiled.querySelector('h1').textContent).toContain('app works!');
- }));
-});
diff --git a/src/app/demo/app.component.ts b/src/app/demo/app.component.ts
deleted file mode 100644
index ff63e050..00000000
--- a/src/app/demo/app.component.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'app-root',
- templateUrl: './app.component.html',
- styleUrls: ['./app.component.css']
-})
-export class AppComponent {
- title = 'app works!';
-}
diff --git a/src/app/demo/app.module.ts b/src/app/demo/app.module.ts
deleted file mode 100644
index 67ae4911..00000000
--- a/src/app/demo/app.module.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import { BrowserModule } from '@angular/platform-browser';
-import { NgModule } from '@angular/core';
-import { FormsModule } from '@angular/forms';
-import { HttpModule } from '@angular/http';
-
-import { AppComponent } from './app.component';
-
-@NgModule({
- declarations: [
- AppComponent
- ],
- imports: [
- BrowserModule,
- FormsModule,
- HttpModule
- ],
- providers: [],
- bootstrap: [AppComponent]
-})
-export class AppModule { }
diff --git a/src/app/index.ts b/src/app/index.ts
index 706bafc6..77a56417 100644
--- a/src/app/index.ts
+++ b/src/app/index.ts
@@ -1,3 +1 @@
export * from './pipes.module';
-export * from './demo/app.component';
-export * from './demo/app.module';
diff --git a/src/favicon.ico b/src/favicon.ico
deleted file mode 100644
index 8081c7ce..00000000
Binary files a/src/favicon.ico and /dev/null differ
diff --git a/src/main.ts b/src/main.ts
index 5c3c5204..f7f6f39f 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -1,12 +1,2 @@
import './polyfills.ts';
-import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
-import { enableProdMode } from '@angular/core';
-import { environment } from './environments/environment';
-import { AppModule } from './app/';
-
-if (environment.production) {
- enableProdMode();
-}
-
-platformBrowserDynamic().bootstrapModule(AppModule);
diff --git a/src/styles.css b/src/styles.css
deleted file mode 100644
index 90d4ee00..00000000
--- a/src/styles.css
+++ /dev/null
@@ -1 +0,0 @@
-/* You can add global styles to this file, and also import other style files */
diff --git a/src/typings.d.ts b/src/typings.d.ts
deleted file mode 100644
index ea52695a..00000000
--- a/src/typings.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-// Typings reference file, you can add your own global typings here
-// https://www.typescriptlang.org/docs/handbook/writing-declaration-files.html