UNPKG

ngx-subscribe

Version:

Subscribe decorator to be used in Angular 2+ components, it will automatically subscribe and cleanup observables to component properties.

45 lines (44 loc) 1.27 kB
{ "name": "ngx-subscribe", "version": "1.1.1", "description": "Subscribe decorator to be used in Angular 2+ components, it will automatically subscribe and cleanup observables to component properties.", "main": "./dist/ngx-subscribe.umd.js", "module": "./lib-esm/index.js", "typings": "./lib-esm/index.d.ts", "types": "./lib-esm/index.d.ts", "scripts": { "clean": "shx rm -rf dist lib lib-esm", "build": "npm run clean && tsc && tsc -m es6 --outDir lib-esm && webpack --config webpack.config.js && webpack --config webpack.config.min.js" }, "repository": { "type": "git", "url": "git+https://github.com/valdisz/ngx-subscribe.git" }, "keywords": [ "rxjs", "observable", "angular2", "subscribe" ], "author": { "name": "Valdis Zobēla", "email": "valdis.zobela@gmail.com" }, "license": "MIT", "bugs": { "url": "https://github.com/valdisz/ngx-subscribe/issues" }, "homepage": "https://github.com/valdisz/ngx-subscribe#readme", "peerDependencies": { "@angular/core": "<6.0.0", "rxjs": "<6.0.0" }, "devDependencies": { "@angular/core": "latest", "rxjs": "^5.5.0", "shx": "^0.2.2", "ts-loader": "^2.3.1", "typescript": "^2.4.2", "webpack": "^3.3.0" } }