query-agent
Version:
An AI-powered database query agent that integrates with existing Express apps using Socket.IO and HTTP routes
69 lines (68 loc) • 2.25 kB
JSON
{
"name": "query-agent",
"version": "1.0.4",
"description": "An AI-powered database query agent that integrates with existing Express apps using Socket.IO and HTTP routes",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"type": "module",
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run copy-types",
"build:esm": "esbuild index.js --bundle --format=esm --outfile=dist/index.js --platform=node --external:socket.io --external:express --external:http --external:https --external:fs --external:path --external:os --external:net --external:tls",
"build:cjs": "esbuild cjs-wrapper.cjs --bundle --format=cjs --outfile=dist/index.cjs --platform=node --external:socket.io --external:express --external:http --external:https --external:fs --external:path --external:os --external:net --external:tls",
"copy-types": "cp index.d.ts dist/",
"prepublishOnly": "npm run build",
"test": "node test.js",
"dev": "nodemon example-server.js",
"example": "node example-server.js",
"example:sequelize": "node integration-examples/sequelize-example.js",
"example:prisma": "node integration-examples/prisma-example.js",
"client:test": "node client-examples.js"
},
"keywords": [
"ai",
"database",
"sql",
"query",
"gemini",
"generative-ai",
"socket.io",
"express",
"websocket",
"integration",
"middleware"
],
"author": "",
"license": "MIT",
"dependencies": {
"@google/generative-ai": "^0.21.0",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.18.2",
"socket.io": "^4.7.5"
},
"devDependencies": {
"esbuild": "^0.20.2",
"nodemon": "^3.1.4",
"socket.io-client": "^4.8.1"
},
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yourusername/query-agent.git"
},
"bugs": {
"url": "https://github.com/yourusername/query-agent/issues"
},
"homepage": "https://github.com/yourusername/query-agent#readme"
}