-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Feature/#36
- Loading branch information
Showing
21 changed files
with
128 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
# compiled output | ||
/dist | ||
/tmp | ||
/aot | ||
|
||
# dependencies | ||
/node_modules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* Created by vadimdez on 28/11/2016. | ||
*/ | ||
import { NgModule } from '@angular/core'; | ||
import { FilterPipe } from './ngx-filter.pipe'; | ||
|
||
@NgModule({ | ||
declarations: [FilterPipe], | ||
exports: [FilterPipe] | ||
}) | ||
|
||
export class FilterPipeModule {} |
8 changes: 4 additions & 4 deletions
8
src/ng2-filter.pipe.spec.ts → ...li/src/app/shared/ngx-filter.pipe.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* Created by vadimdez on 28/11/2016. | ||
*/ | ||
export * from './src/ng2-filter.module'; | ||
export * from './src/ng2-filter.pipe'; | ||
export * from './src/ngx-filter.module'; | ||
export * from './src/ngx-filter.pipe'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
{ | ||
"name": "ng2-filter-pipe", | ||
"version": "0.1.10", | ||
"name": "ngx-filter-pipe", | ||
"version": "1.0.0", | ||
"author": "Vadym Yatsyuk <[email protected]>", | ||
"license": "MIT", | ||
"angular-cli": {}, | ||
"scripts": { | ||
"start": "ng server", | ||
"typings": "typings install", | ||
"lint": "tslint \"src/**/*.ts\"", | ||
"test": "ng test --watch=false", | ||
"pree2e": "webdriver-manager update", | ||
"e2e": "protractor", | ||
"minify": "uglifyjs ./dist/app/shared/ng2-filter.pipe.js --compress --mangle --output ./ng2-filter.pipe.min.js --source-map ./ng2-filter.pipe.min.js.map", | ||
"build": "ngc -p tsconfig.json" | ||
"minify": "uglifyjs ./dist/app/shared/ngx-filter.pipe.js --compress --mangle --output ./ngx-filter.pipe.min.js --source-map ./ngx-filter.pipe.min.js.map", | ||
"build": "rimraf dist && tsc -p tsconfig-esm.json && mkdir ./dist/bundles && rollup -c rollup.config.js dist/index.js > dist/bundles/ngx-filter-pipe.umd.js && ngc -p tsconfig.json" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://[email protected]/VadimDez/ng2-filter-pipe.git" | ||
"url": "git+https://[email protected]/VadimDez/ngx-filter-pipe.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/VadimDez/ng2-filter-pipe/issues" | ||
"url": "https://github.com/VadimDez/ngx-filter-pipe/issues" | ||
}, | ||
"homepage": "https://github.com/VadimDez/ng2-filter-pipe#readme", | ||
"homepage": "https://github.com/VadimDez/ngx-filter-pipe#readme", | ||
"peerDependencies": { | ||
"@angular/core": ">=2.2.3" | ||
}, | ||
"dependencies": { | ||
"typings": "^2.0.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@angular/common": "^4.0.1", | ||
"@angular/compiler": "^4.0.1", | ||
|
@@ -37,7 +33,6 @@ | |
"@angular/http": "^4.0.1", | ||
"@angular/platform-browser": "^4.0.1", | ||
"@angular/platform-browser-dynamic": "^4.0.1", | ||
"@types/core-js": "0.9.34", | ||
"@types/jasmine": "^2.5.47", | ||
"@types/node": "^6.0.51", | ||
"@types/phantom": "3.2.1", | ||
|
@@ -57,6 +52,9 @@ | |
"material-design-lite": "^1.3.0", | ||
"protractor": "^5.1.1", | ||
"reflect-metadata": "^0.1.10", | ||
"rollup": "^0.43.0", | ||
"rollup-plugin-commonjs": "^8.0.2", | ||
"rollup-plugin-node-resolve": "^3.0.0", | ||
"rxjs": "^5.2.1-smooth", | ||
"systemjs": "^0.20.11", | ||
"ts-node": "^3.0.2", | ||
|
@@ -65,14 +63,16 @@ | |
"uglifyjs": "^2.4.10", | ||
"zone.js": "^0.8.5" | ||
}, | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"main": "dist/bundles/ngx-filter-pipe.umd.js", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"keywords": [ | ||
"angular", | ||
"angular2", | ||
"angular4", | ||
"filter", | ||
"pipe" | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* Created by Vadym Yatsyuk on 22.06.17 | ||
*/ | ||
export default { | ||
format: 'umd', | ||
moduleName: 'ngx-filter-pipe', | ||
external: [ | ||
'@angular/core' | ||
], | ||
onwarn: ( warning ) => { | ||
const skip_codes = [ | ||
'THIS_IS_UNDEFINED', | ||
'MISSING_GLOBAL_NAME' | ||
]; | ||
if (skip_codes.indexOf(warning.code) !== -1) { | ||
return; | ||
} | ||
console.error(warning); | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* Created by vadimdez on 28/11/2016. | ||
*/ | ||
import { NgModule } from '@angular/core'; | ||
import { FilterPipe } from './ngx-filter.pipe'; | ||
|
||
@NgModule({ | ||
declarations: [FilterPipe], | ||
exports: [FilterPipe] | ||
}) | ||
|
||
export class FilterPipeModule {} |
8 changes: 4 additions & 4 deletions
8
...li/src/app/shared/ng2-filter.pipe.spec.ts → src/ngx-filter.pipe.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"compilerOptions": { | ||
"noImplicitAny": false, | ||
"module": "es2015", | ||
"target": "es5", | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"declaration": true, | ||
"sourceMap": true, | ||
"moduleResolution": "node", | ||
"rootDir": ".", | ||
"outDir": "./dist/", | ||
"lib": ["es2015", "dom"] | ||
}, | ||
"files": [ | ||
"index.ts" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"dist", | ||
"example", | ||
"examples", | ||
"typings", | ||
"aot" | ||
] | ||
} |
Oops, something went wrong.