Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit fc1a873

Browse files
authored
Merge pull request #26 from solodynamo/angular-5-ng-packagr
Angular 5 ng packagr
2 parents f8d3780 + c04f646 commit fc1a873

14 files changed

+1858
-202
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ testem.log
2727
#System Files
2828
.DS_Store
2929
Thumbs.db
30+
31+
dist/*

dist/index.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

dist/index.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/src/ng2-filter.module.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

dist/src/ng2-filter.module.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/src/ng2-filter.pipe.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

dist/src/ng2-filter.pipe.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "ng2-search-filter",
3-
"version": "0.3.1",
4-
"description": "Angular 2 filter to make custom search",
3+
"version": "0.4.0",
4+
"description": "Angular 2/4/5 filter to make custom search",
55
"scripts": {
6-
"test": "echo \"Error: no test specified\" && exit 1",
6+
"tests": "jasmine-ts src/**/*.spec.ts",
77
"start": "ng server",
8+
"build": "ng-packagr -p package.json",
89
"postinstall": "typings install"
910
},
1011
"repository": {
@@ -14,26 +15,29 @@
1415
"keywords": [
1516
"angular 2",
1617
"angular 4",
18+
"angular 5",
1719
"angular2",
1820
"angular4",
21+
"angular5",
1922
"search",
2023
"filter",
2124
"ng2",
2225
"angular",
2326
"pipe"
2427
],
25-
"dependencies": {},
28+
"dependencies": {
29+
"@angular/core": "^5.2.1"
30+
},
2631
"devDependencies": {
2732
"@angular/common": "2.2.3",
2833
"@angular/compiler": "2.2.3",
2934
"@angular/compiler-cli": "2.2.3",
30-
"@angular/core": "2.2.3",
3135
"@angular/forms": "2.2.3",
3236
"@angular/http": "2.2.3",
3337
"@angular/platform-browser": "2.2.3",
3438
"@angular/platform-browser-dynamic": "2.2.3",
3539
"@types/core-js": "^0.9.34",
36-
"@types/jasmine": "^2.2.34",
40+
"@types/jasmine": "^2.8.5",
3741
"@types/node": "^6.0.51",
3842
"@types/phantom": "0.0.29",
3943
"@types/protractor": "^1.5.20",
@@ -46,10 +50,12 @@
4650
"jasmine": "^2.5.2",
4751
"jasmine-core": "^2.5.2",
4852
"jasmine-spec-reporter": "^2.7.0",
53+
"jasmine-ts": "^0.2.1",
4954
"karma": "^1.3.0",
5055
"karma-chrome-launcher": "^2.0.0",
5156
"karma-jasmine": "^1.0.2",
5257
"material-design-lite": "^1.2.1",
58+
"ng-packagr": "^1.6.0",
5359
"protractor": "^4.0.11",
5460
"reflect-metadata": "0.1.8",
5561
"rxjs": "5.0.0-rc.3",
@@ -68,5 +74,11 @@
6874
"bugs": {
6975
"url": "https://github.com/solodynamo/ng2-search-filter/issues"
7076
},
77+
"ngPackage": {
78+
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
79+
"lib": {
80+
"entryFile": "public_api.ts"
81+
}
82+
},
7183
"homepage": "https://github.com/solodynamo/ng2-search-filter#readme"
7284
}

public_api.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from './src/ng2-filter.module';
2+
export * from './src/ng2-filter.pipe';

src/ng2-filter.module.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)