mirror of
https://github.com/sergeyyarkov/xmpp-llm-bot.git
synced 2026-10-11 02:19:06 +03:00
setup
This commit is contained in:
commit
b60ccd6915
1
.env.example
Normal file
1
.env.example
Normal file
@ -0,0 +1 @@
|
||||
API_BASE_URL=http://localhost:1234/v1
|
||||
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
.env
|
||||
14
eslint.config.js
Normal file
14
eslint.config.js
Normal file
@ -0,0 +1,14 @@
|
||||
import js from "@eslint/js";
|
||||
import globals from "globals";
|
||||
import { defineConfig } from "eslint/config";
|
||||
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
||||
|
||||
export default defineConfig([
|
||||
{
|
||||
files: ["**/*.{js,mjs,cjs}"],
|
||||
plugins: { js },
|
||||
extends: ["js/recommended"],
|
||||
languageOptions: { globals: globals.node }
|
||||
},
|
||||
eslintPluginPrettierRecommended
|
||||
]);
|
||||
12
jsconfig.json
Normal file
12
jsconfig.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"ignoreDeprecations": "6.0",
|
||||
"checkJs": true,
|
||||
"allowJs": true,
|
||||
"lib": ["ESNext"],
|
||||
"strict": true,
|
||||
"module": "nodenext",
|
||||
"resolveJsonModule": true
|
||||
}
|
||||
}
|
||||
1419
package-lock.json
generated
Normal file
1419
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
26
package.json
Normal file
26
package.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "xmpp-llm-bot",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node --env-file=.env index.js",
|
||||
"dev": "node --env-file=.env --watch index.js",
|
||||
"lint": "eslint .",
|
||||
"fix": "eslint . --fix"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"type": "commonjs",
|
||||
"dependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@xmpp/client": "^0.14.0",
|
||||
"eslint": "^10.9.1",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-prettier": "^5.5.6",
|
||||
"globals": "^17.12.0",
|
||||
"openai": "^7.9.0",
|
||||
"prettier": "^3.9.6"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user