UNPKG

daraja

Version:

A NodeJS library to simplify integration with Safaricom's Daraja M-Pesa API

55 lines (54 loc) 1.55 kB
{ "name": "daraja", "version": "1.0.1", "description": "A NodeJS library to simplify integration with Safaricom's Daraja M-Pesa API", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "rimraf ./dist && tsc && npm run format", "coverage": "nyc report --reporter=text-lcov | coveralls", "jsdoc": "rimraf ./docs && npm run build && jsdoc -c ./conf.json", "format": "prettier --write ./dist/**/*", "postversion": "git push && git push --tags", "prepare": "npm run build && npm run jsdoc", "test": "npm run build && nyc mocha test/**/*.test.js", "version": "git add -A src" }, "repository": { "type": "git", "url": "git+https://github.com/austinewuncler/daraja.git" }, "keywords": [ "safaricom", "mpesa", "daraja" ], "author": "Austine Were", "license": "MIT", "bugs": { "url": "https://github.com/austinewuncler/daraja/issues" }, "homepage": "https://github.com/austinewuncler/daraja#readme", "devDependencies": { "@types/node": "^10.12.18", "@types/request-promise-native": "^1.0.15", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "coveralls": "^3.0.2", "eslint": "^5.12.0", "istanbul": "^0.4.5", "jsdoc": "^3.5.5", "mocha": "^5.2.0", "nock": "^10.0.6", "nyc": "^13.1.0", "prettier": "^1.15.3", "sinon": "^7.2.2", "tslint": "^5.12.1", "typescript": "^3.2.2" }, "dependencies": { "moment": "^2.23.0", "request": "^2.88.0", "request-promise-native": "^1.0.5" } }