UNPKG

@klippa/nativescript-http

Version:

The best way to do HTTP requests in NativeScript, a drop-in replacement for the core HTTP with important improvements and additions like proper connection pooling, form data support and certificate pinning

76 lines (75 loc) 3.07 kB
{ "name": "@klippa/nativescript-http", "version": "3.0.4", "description": "The best way to do HTTP requests in NativeScript, a drop-in replacement for the core HTTP with important improvements and additions like proper connection pooling, form data support and certificate pinning", "main": "http", "typings": "index.d.ts", "nativescript": { "platforms": { "android": "6.5.0", "ios": "6.5.0" } }, "repository": { "type": "git", "url": "https://github.com/klippa-app/nativescript-http.git" }, "scripts": { "tsc": "npm i && ts-patch install && tsc", "build": "npm i && ts-patch install && npm run ngcc && npm run ngc", "build.old": "npm i && ts-patch install && npm run ngcc && npm run ngc", "tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\" --exclude \"**/typings/**\"", "ci.tslint": "npm i && ts-patch install && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**' --exclude '**/platforms/**' --exclude '**/typings/**'", "demo.ios": "npm i && ts-patch install && cd ../demo && ns run ios", "demo.android": "npm i && ts-patch install && cd ../demo && ns run android", "demo.reset": "cd ../demo && npx rimraf -- hooks node_modules platforms package-lock.json", "demo-angular.ios": "npm i && ts-patch install && cd ../demo-angular && ns run ios", "demo-angular.android": "npm i && ts-patch install && cd ../demo-angular && ns run android", "demo-angular.reset": "cd ../demo-angular && npx rimraf -- hooks node_modules platforms package-lock.json", "plugin.prepare": "npm run build && cd ../demo && ns plugin remove @klippa/nativescript-http && ns plugin add ../src && cd ../demo-angular && ns plugin remove @klippa/nativescript-http && ns plugin add ../src", "clean": "npm run demo.reset && npm run demo-angular.reset && npx rimraf -- node_modules package-lock.json && npm i", "ngcc": "node --max-old-space-size=8192 ./node_modules/.bin/ngcc -p es2015", "ngc": "node --max-old-space-size=8192 ./node_modules/.bin/ngc" }, "keywords": [ "NativeScript", "JavaScript", "Android", "iOS" ], "author": { "name": "Jeroen Bobbeldijk", "email": "jeroen@klippa.com" }, "bugs": { "url": "https://github.com/klippa-app/nativescript-http/issues" }, "license": "MIT", "homepage": "https://github.com/klippa-app/nativescript-http", "devDependencies": { "@angular/common": "~14.0.0", "@angular/compiler": "~14.0.0", "@angular/compiler-cli": "~14.0.0", "@angular/core": "~14.0.0", "@nativescript/angular": "~14.0.0", "@nativescript/core": "~8.2.0", "@nativescript/types": "~8.2.0", "@nativescript/webpack": "~5.0.6", "@angular/router": "~14.0.0", "@angular/animations": "~14.0.0", "@angular/forms": "~14.0.0", "@angular/platform-browser": "~14.0.0", "prompt": "^1.0.0", "rimraf": "^2.6.3", "rxjs": "~7.5.0", "semver": "^5.6.0", "ts-patch": "^1.3.0", "tslint": "6.1.3", "typescript": "~4.7.0", "zone.js": "~0.11.5" }, "dependencies": { "ts-node": "9.1.1" }, "bootstrapper": "nativescript-plugin-seed" }