UNPKG

take-until-destroy

Version:

A simple way to unsubscribe from an RxJs stream in Angular (2+) when the component is destroyed

97 lines (96 loc) 2.99 kB
{ "name": "take-until-destroy", "version": "2.1.0", "description": "A simple way to unsubscribe from an RxJs stream in Angular (2+) when the component is destroyed", "main": "dist/index.js", "typings": "dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/jsdevtom/take-until-destroy.git" }, "bugs": { "url": "http://github.com/jsdevtom/take-until-destroy/issues" }, "scripts": { "test": "tsc -p ./tsconfig.json && nyc --reporter=html --reporter=text ava", "test:debug": "npm run build && inspect node_modules/ava/profile.js", "test:integration": "ng test", "coverage": "nyc report --reporter=text-lcov | coveralls", "build": "rm -rf ./dist && tsc -p ./tsconfig.json", "lint": "tslint -c ./tslint.json -p ./tsconfig.json", "copy:package": "cp -rf package.json dist", "copy:index": "cp -rf dist/index.js dist/index.d.ts dist/index.js.map ./", "del:index": "rm -rf dist/index.js dist/index.d.ts dist/index.js.map", "preversion": "npm test", "postversion": "git push && git push --tags" }, "keywords": [ "angular", "takeUntilDestroy", "rxjs", "unsubscribe" ], "author": "jsdevtom", "license": "MIT", "peerDependencies": { "rxjs": "^6.1.0" }, "devDependencies": { "@angular/animations": "^6.0.1", "@angular/cli": "^6.0.1", "@angular/common": "^6.0.1", "@angular/compiler": "^6.0.1", "@angular/compiler-cli": "^6.0.1", "@angular/core": "^6.0.1", "@angular/forms": "^6.0.1", "@angular/http": "^6.0.1", "@angular/platform-browser": "^6.0.1", "@angular/platform-browser-dynamic": "^6.0.1", "@angular/platform-server": "^6.0.1", "@angular/router": "^6.0.1", "@types/jasmine": "~2.5.53", "@types/jasminewd2": "^2.0.3", "@types/node": "^6.0.110", "angular-in-memory-web-api": "^0.6.0", "ava": "^0.25.0", "core-js": "^2.5.6", "coveralls": "^3.0.1", "inspect-process": "^0.5.0", "jasmine": "~2.4.1", "jasmine-core": "~2.4.1", "karma": "^1.3.0", "karma-chrome-launcher": "^2.0.0", "karma-cli": "^1.0.1", "karma-coverage-istanbul-reporter": "^1.4.2", "karma-jasmine": "^1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "karma-phantomjs-launcher": "^1.0.2", "lodash": "^4.17.10", "nyc": "^11.8.0", "phantomjs-prebuilt": "^2.1.7", "protractor": "~5.1.0", "ts-node": "^3.3.0", "tslint": "^5.10.0", "tslint-config-standard": "^7.0.0", "typescript": "2.7.2", "web-animations-js": "^2.3.1", "zone.js": "^0.8.26", "@angular-devkit/build-angular": "~0.6.1" }, "ava": { "files": [ "dist/*.spec.js", "!dist/*.spec.d.js" ] }, "files": [ "dist/index.js", "dist/index.d.ts", "dist/error-messages.js", "dist/error-messages.d.ts", "dist/take-until-destroy.js", "dist/take-until-destroy.d.ts", "dist/destroyable.decorator.js", "dist/destroyable.decorator.d.ts" ] }