UNPKG

@whiskeysockets/baileys

Version:

A WebSockets library for interacting with WhatsApp Web

140 lines (139 loc) 4.34 kB
{ "name": "@whiskeysockets/baileys", "type": "module", "version": "7.0.0-rc13", "description": "A WebSockets library for interacting with WhatsApp Web", "keywords": [ "whatsapp", "automation" ], "homepage": "https://github.com/WhiskeySockets/Baileys/", "repository": { "url": "git@github.com:WhiskeySockets/Baileys.git" }, "license": "MIT", "author": "Rajeh Taher", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib/**/*", "WAProto/**/*", "engine-requirements.js" ], "scripts": { "build:all": "npm run build && npm run build:docs", "build:docs": "typedoc", "build": "tsc -P tsconfig.build.json && tsc-esm-fix --tsconfig=tsconfig.build.json --ext=.js", "changelog:last": "conventional-changelog -p angular -r 2", "changelog:preview": "conventional-changelog -p angular -u", "changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "example": "tsx ./Example/example.ts", "gen:protobuf": "sh WAProto/GenerateStatics.sh", "format": "prettier --write \"src/**/*.{ts,js,json,md}\"", "lint": "tsc && eslint src --ext .js,.ts", "lint:fix": "npm run format && npm run lint -- --fix", "prepack": "npm run build", "prepare": "npm run build", "preinstall": "node ./engine-requirements.js", "release": "release-it", "test": "node --experimental-vm-modules ./node_modules/.bin/jest --testMatch '**/*.test.ts'", "test:e2e": "NODE_TLS_REJECT_UNAUTHORIZED=0 node --experimental-vm-modules ./node_modules/.bin/jest --runInBand --forceExit --testMatch '**/*.test-e2e.ts'", "update:version": "tsx ./scripts/update-version.ts" }, "dependencies": { "@cacheable/node-cache": "^1.4.0", "@hapi/boom": "^9.1.3", "async-mutex": "^0.5.0", "libsignal": "^6.0.0", "lru-cache": "^11.1.0", "music-metadata": "^11.12.3", "p-queue": "^9.0.0", "pino": "^9.6", "protobufjs": "^7.5.6", "whatsapp-rust-bridge": "0.5.4", "ws": "^8.13.0" }, "devDependencies": { "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.31.0", "@types/jest": "^30.0.0", "@types/node": "^20.9.0", "@types/ws": "^8.0.0", "@typescript-eslint/eslint-plugin": "^8", "@typescript-eslint/parser": "^8", "@whiskeysockets/eslint-config": "^1.0.0", "conventional-changelog": "^7.1.1", "conventional-changelog-angular": "^8.0.0", "esbuild-register": "^3.6.0", "eslint": "^9", "eslint-config-prettier": "^10.1.2", "eslint-plugin-prettier": "^5.4.0", "jest": "^30.0.5", "jimp": "^1.6.1", "jiti": "^2.4.2", "json": "^11.0.0", "link-preview-js": "^3.0.0", "lru-cache": "^11.1.0", "open": "^8.4.2", "pino-pretty": "^13.1.1", "prettier": "^3.5.3", "protobufjs-cli": "^1.1.3", "release-it": "^20.0.1", "ts-jest": "^29.4.0", "tsc-esm-fix": "^3.1.2", "tsx": "^4.20.3", "typedoc": "^0.27.9", "typedoc-plugin-markdown": "4.4.2", "typescript": "^5.8.2" }, "peerDependencies": { "audio-decode": "^2.1.3", "jimp": "^1.6.1", "link-preview-js": "^3.0.0", "sharp": "*" }, "resolutions": { "ajv@npm:^6.12.4": "^6.14.0", "basic-ftp": "^5.2.4", "brace-expansion@npm:^1.1.7": "^1.1.13", "brace-expansion@npm:^2.0.1": "^2.0.3", "flatted": "^3.4.2", "glob@npm:^10.2.2": "^10.5.0", "glob@npm:^10.3.10": "^10.5.0", "glob@npm:^10.5.0": "^10.5.0", "handlebars": "^4.7.9", "ip-address": "^10.1.1", "js-yaml@npm:^3.13.1": "^3.14.2", "js-yaml@npm:^4.1.0": "^4.1.1", "markdown-it": "^14.1.1", "minimatch@npm:^3.0.4": "^3.1.5", "minimatch@npm:^3.1.2": "^3.1.5", "minimatch@npm:^5.0.1": "^5.1.8", "minimatch@npm:^9.0.4": "^9.0.9", "minimatch@npm:^9.0.5": "^9.0.9", "picomatch@npm:^2.0.4": "^2.3.2", "picomatch@npm:^2.3.1": "^2.3.2", "picomatch@npm:^4.0.0": "^4.0.4", "picomatch@npm:^4.0.2": "^4.0.4", "socks": "^2.8.8", "tar": "^7.5.11", "tmp": "^0.2.5", "underscore": "^1.13.8", "yaml@npm:^2.6.1": "^2.8.4" }, "peerDependenciesMeta": { "audio-decode": { "optional": true }, "jimp": { "optional": true }, "link-preview-js": { "optional": true } }, "packageManager": "yarn@4.9.2", "engines": { "node": ">=20.0.0" } }