UNPKG

nativescript-mpesa

Version:

Nativescript plugin to make payment with mpesa.

66 lines 2.64 kB
{ "name": "nativescript-mpesa", "version": "1.0.0", "description": "Nativescript plugin to make payment with mpesa.", "main": "mpesa", "typings": "index.d.ts", "nativescript": { "platforms": { "android": "5.2.0", "ios": "5.2.0" } }, "repository": { "type": "git", "url": "https://github.com/lukkystunt/nativescript-mpesa.git" }, "scripts": { "tsc": "tsc", "build": "npm run tsc && npm run build.native", "build.native": "node scripts/build-native.js", "postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && npx rimraf -- package-lock.json && cd ../src", "test.android": "npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch", "test.ios": "npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch", "tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"", "plugin.tscwatch": "npm run tsc -- -w", "demo.ios": "npm run tsc && cd ../demo && tns run ios --syncAllFiles --emulator", "demo.android": "npm run tsc && cd ../demo && tns run android --syncAllFiles --emulator", "demo.reset": "cd ../demo && npx rimraf -- hooks node_modules platforms package-lock.json", "plugin.prepare": "npm run build && cd ../demo && tns plugin remove nativescript-mpesa && tns plugin add ../src", "clean": "npm run demo.reset && npx rimraf -- node_modules package-lock.json && npm i", "ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**' --exclude '**/platforms/**'", "prepack": "npm run build.native" }, "keywords": [ "NativeScript", "JavaScript", "Android", "iOS", "Mpesa", "Payments", "Kenya", "merchants", "ecommerce" ], "author": { "name": "Alebiosu Lukmon", "email": "alebiosulekan@gmail.com" }, "bugs": { "url": "https://github.com/lukkystunt/nativescript-mpesa/issues" }, "license": "Apache-2.0", "homepage": "https://github.com/lukkystunt/nativescript-mpesa", "readmeFilename": "README.md", "devDependencies": { "tns-core-modules": "^5.2.0", "tns-platform-declarations": "^5.2.0", "typescript": "~3.3.3", "prompt": "^1.0.0", "rimraf": "^2.6.3", "tslint": "^5.12.1", "semver": "^5.6.0" }, "dependencies": {}, "bootstrapper": "nativescript-plugin-seed" }