langflow-chatbot
Version:
Add a Langflow-powered chatbot to your website.
82 lines (81 loc) • 2.51 kB
JSON
{
"name": "langflow-chatbot",
"version": "0.3.1",
"description": "Add a Langflow-powered chatbot to your website.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./langflow-proxy": {
"types": "./dist/langflow-proxy.d.ts",
"default": "./dist/langflow-proxy.js"
},
"./plugin": "./dist/plugins/LangflowChatbotPlugin.js",
"./styles": "./dist/styles/langflow-chatbot.css",
"./dist/*": "./dist/*"
},
"scripts": {
"clean": "rm -rf dist",
"build:tsc": "tsc",
"build:plugin": "esbuild src/plugins/LangflowChatbotPlugin.ts --bundle --outfile=dist/plugins/LangflowChatbotPlugin.js --format=iife --global-name=LangflowChatbotPlugin --platform=browser",
"build:example-ui-logic": "esbuild examples/basic/static/example-app-logic.ts --bundle --outfile=examples/basic/static/example-app-logic.js --format=iife --platform=browser",
"build:copy-assets": "mkdir -p dist/styles && cp src/styles/langflow-chatbot.css dist/styles/langflow-chatbot.css",
"build": "npm run clean && npm run build:tsc && npm run build:plugin && npm run build:example-ui-logic && npm run build:copy-assets",
"prepare": "npm run build",
"test": "jest --coverage",
"examples:basic": "ts-node examples/basic/server.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AI-Phil/langflow-chatbot.git"
},
"keywords": [
"langflow",
"chatbot",
"datastax"
],
"author": "DataStax, Inc. (Phil Miesle)",
"license": "MIT",
"files": [
"dist/**/*",
"README.md",
"LICENSE"
],
"dependencies": {
"@datastax/langflow-client": "^0.2.1",
"date-fns": "^4.1.0",
"js-yaml": "^4.1.0"
},
"devDependencies": {
"@babel/core": "^7.27.1",
"@babel/preset-env": "^7.27.2",
"@types/dotenv": "^8.2.0",
"@types/ejs": "^3.1.5",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.14",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.15.18",
"babel-jest": "^29.7.0",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"esbuild": "^0.25.4",
"express": "^4.19.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-util": "^29.7.0",
"ts-jest": "^29.3.4",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
},
"peerDependencies": {
"express": ">=4.0.0"
},
"peerDependenciesMeta": {
"express": {
"optional": true
}
}
}