@vector-im/matrix-bot-sdk
Version:
TypeScript/JavaScript SDK for Matrix bots and appservices
116 lines (115 loc) • 3.35 kB
JSON
{
"name": "@vector-im/matrix-bot-sdk",
"version": "0.7.1-element.11",
"description": "TypeScript/JavaScript SDK for Matrix bots and appservices",
"repository": {
"type": "git",
"url": "git+https://github.com/vector-im/matrix-bot-sdk.git"
},
"author": "Element",
"license": "MIT",
"bugs": {
"url": "https://github.com/vector-im/matrix-bot-sdk/issues"
},
"homepage": "https://github.com/vector-im/matrix-bot-sdk#readme",
"publishConfig": {
"access": "public"
},
"scripts": {
"prepublishOnly": "yarn build",
"docs": "jsdoc -c jsdoc.json -P package.json -u docs/tutorials",
"build": "tsc --listEmittedFiles -p tsconfig-release.json",
"lint": "eslint \"{src,test,examples}/**/*.ts\"",
"lint:fix": "eslint \"{src,test,examples}/**/*.ts\" --fix",
"test": "jest",
"build:examples": "tsc -p tsconfig-examples.json",
"example:bot": "yarn build:examples && node lib/examples/bot.js",
"example:appservice": "yarn build:examples && node lib/examples/appservice.js",
"example:login_register": "yarn build:examples && node lib/examples/login_register.js",
"example:encryption_bot": "yarn build:examples && node lib/examples/encryption_bot.js",
"example:encryption_appservice": "yarn build:examples && node lib/examples/encryption_appservice.js"
},
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"engines": {
"node": ">=18.0.0"
},
"keywords": [
"matrix",
"bot",
"sdk",
"js",
"ts",
"node",
"helpers",
"snippets",
"chat",
"modules",
"bot-sdk",
"appservices"
],
"files": [
"src/*",
"lib/*",
"scripts/*",
"tsconfig.json"
],
"dependencies": {
"@matrix-org/matrix-sdk-crypto-nodejs": "0.3.0-beta.1",
"@types/express": "^4.17.21",
"another-json": "^0.2.0",
"async-lock": "^1.4.0",
"chalk": "4",
"express": "^4.18.2",
"glob-to-regexp": "^0.4.1",
"hash.js": "^1.1.7",
"html-to-text": "^9.0.5",
"htmlencode": "^0.0.4",
"lowdb": "1",
"lru-cache": "^10.0.1",
"mkdirp": "^3.0.1",
"morgan": "^1.10.0",
"postgres": "^3.4.1",
"request": "^2.88.2",
"request-promise": "^4.2.6",
"sanitize-html": "^2.11.0"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.22.15",
"@babel/eslint-plugin": "^7.22.10",
"@testcontainers/postgresql": "^10.2.2",
"@types/async-lock": "^1.4.1",
"@types/jest": "^29.5.6",
"@types/lowdb": "^1.0.14",
"@types/mocha": "^10.0.3",
"@types/node": "18",
"@types/sanitize-html": "^2.9.3",
"@types/simple-mock": "^0.8.4",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"better-docs": "^2.7.2",
"eslint": "^8.52.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-matrix-org": "0.5",
"get-port": "5",
"jest": "^29.7.0",
"jsdoc": "^4.0.2",
"matrix-mock-request": "^2.6.0",
"simple-mock": "^0.8.0",
"taffydb": "^2.7.3",
"testcontainers": "^10.2.2",
"tmp": "^0.2.1",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"<rootDir>/test/**/*Test.ts"
]
},
"packageManager": "yarn@1.22.19"
}