UNPKG

bot-handoff

Version:

Bot hand off module for the Microsoft Bot Framework. It allows you to transfer a customer from talking to a bot to talking to a human.

83 lines (82 loc) 2.36 kB
{ "name": "bot-handoff", "version": "0.0.1", "license": "MIT", "description": "Bot hand off module for the Microsoft Bot Framework. It allows you to transfer a customer from talking to a bot to talking to a human.", "main": "dist/src/applyHandoffMiddleware.js", "types": "dist/src/applyHandoffMiddleware.d.ts", "homepage": "https://github.com/palindromed/Bot-HandOff/tree/npm-handoff", "scripts": { "prepublishOnly": "npm run testPublish", "build": "node_modules/.bin/tsc", "clean": "rm -rf dist", "cleanBuild": "npm run clean && npm run build", "nodewatch": "nodemon dist/index.js", "start": "node dist/index.js", "test": "node_modules/.bin/_mocha", "coverageTests": "nyc node_modules/.bin/_mocha --require source-map-support/register", "testPublish": " npm run cleanBuild && node_modules/.bin/_mocha dist/test/*.spec.js", "testWatch": "watch-run -i -p 'src/**/*.ts,test/**/*.ts' npm test", "coverage": "npm run coverageTests && nyc report --reporter=text-lcov | node_modules/.bin/coveralls" }, "nyc": { "extension": [ ".ts", ".tsx" ], "exclude": [ "**/*.d.ts", "**/*.js", "**/*.map" ], "reporter": [ "html" ], "all": true }, "repository": { "type": "git", "url": "git+https://github.com/palindromed/Bot-HandOff.git" }, "keywords": [ "bot", "handover", "hand off", "bot framework", "customer service", "chatbot", "mbf" ], "dependencies": { "bluebird": "^3.5.0", "body-parser": "^1.17.2", "botbuilder": "^3.9.1", "lodash": "^4.17.4", "typescript": "^2.4.2" }, "devDependencies": { "@types/bluebird": "^3.5.8", "@types/chai": "^4.0.2", "@types/chai-as-promised": "^0.0.31", "@types/express": "^4.0.34", "@types/lodash": "^4.14.71", "@types/mocha": "^2.2.41", "@types/mongoose": "^4.7.11", "@types/node": "^6.0.59", "@types/sinon": "^2.3.3", "@types/sinon-chai": "^2.7.28", "bot-tester": "^2.0.1", "chai": "^4.1.0", "chai-as-promised": "^7.1.1", "coveralls": "^2.13.1", "istanbul": "^0.4.5", "mocha": "^3.5.0", "nodemon": "^1.11.0", "nyc": "^11.1.0", "sinon": "^3.0.0", "sinon-chai": "^2.12.0", "source-map-support": "^0.4.16", "ts-node": "^3.3.0", "tslint": "^5.6.0" } }