n8n-nodes-openrouter
Version:
n8n node for OpenRouter API integration
60 lines (59 loc) • 1.82 kB
JSON
{
"name": "n8n-nodes-openrouter",
"version": "0.3.37",
"description": "n8n node for OpenRouter API integration",
"keywords": [
"n8n-community-node-package",
"n8n",
"openrouter",
"ai"
],
"license": "MIT",
"homepage": "https://x.com/MatthewSabia",
"author": {
"name": "Matthew Sabia",
"url": "https://x.com/MatthewSabia"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MatthewSabia1/n8n-nodes-openrouter.git"
},
"main": "index.js",
"scripts": {
"prebuild": "rm -rf dist && echo 'Cleaned dist directory'",
"build": "echo 'Starting build...' && npx tsc --project tsconfig.json && echo 'TypeScript compilation complete' && mkdir -p dist/nodes/OpenRouter && echo 'Created directories' && cp nodes/OpenRouter/openrouter.svg dist/nodes/OpenRouter/ && echo 'Copied SVG' && ls -la dist/nodes/OpenRouter/",
"dev": "tsc --watch",
"format": "prettier nodes credentials --write",
"lint": "eslint ./nodes ./credentials package.json",
"lintfix": "eslint ./nodes ./credentials package.json --fix",
"prepublishOnly": "npm run build && npm run lint",
"test": "jest"
},
"files": [
"dist",
"README.md"
],
"n8n": {
"n8nNodesApiVersion": 1,
"credentials": [
"dist/credentials/OpenRouterApi.credentials.js"
],
"nodes": [
"dist/nodes/OpenRouter/OpenRouter.node.js"
]
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/jest": "^29.5.13",
"@types/request-promise-native": "~1.0.15",
"@typescript-eslint/parser": "~5.45",
"eslint": "^8.0.1",
"eslint-plugin-n8n-nodes-base": "^1.16.3",
"jest": "^29.7.0",
"n8n-core": "^1.59.1",
"n8n-workflow": "^1.59.1",
"prettier": "^2.8.8",
"ts-jest": "^29.2.5",
"typescript": "~4.8.4"
}
}