UNPKG

@slack/socket-mode

Version:

Official library for using the Slack Platform's Socket Mode API

77 lines (76 loc) 2.13 kB
{ "name": "@slack/socket-mode", "version": "2.0.4", "description": "Official library for using the Slack Platform's Socket Mode API", "author": "Slack Technologies, LLC", "license": "MIT", "keywords": [ "slack", "socket", "websocket", "firewall", "bot", "client", "http", "websocket", "api", "proxy", "state", "connection" ], "main": "dist/src/index.js", "types": "./dist/src/index.d.ts", "files": ["dist/**/*"], "engines": { "node": ">= 18", "npm": ">= 8.6.0" }, "repository": "slackapi/node-slack-sdk", "homepage": "https://tools.slack.dev/node-slack-sdk/socket-mode", "publishConfig": { "access": "public" }, "bugs": { "url": "https://github.com/slackapi/node-slack-sdk/issues" }, "scripts": { "prepare": "npm run build", "build": "npm run build:clean && tsc", "build:clean": "shx rm -rf ./dist ./coverage", "lint": "npx @biomejs/biome check .", "lint:fix": "npx @biomejs/biome check --write .", "test:unit": "mocha --config ./test/.mocharc.json src/**/*.spec.ts", "test:coverage": "c8 --config ./test/.c8rc.json npm run test:unit", "test:integration": "mocha --config ./test/.mocharc.json test/integration.spec.js", "test": "npm run lint && npm run build && npm run test:coverage && npm run test:integration", "watch": "npx nodemon --watch 'src' --ext 'ts' --exec npm test" }, "dependencies": { "@slack/logger": "^4", "@slack/web-api": "^7.9.1", "@types/node": ">=18", "@types/ws": "^8", "eventemitter3": "^5", "ws": "^8" }, "devDependencies": { "@biomejs/biome": "^1.8.3", "@tsconfig/recommended": "^1.0.7", "@types/chai": "^4", "@types/mocha": "^10", "@types/proxyquire": "^1.3.31", "@types/sinon": "^17", "c8": "^10.1.2", "chai": "^4", "mocha": "^11", "mocha-junit-reporter": "^2.2.1", "mocha-multi-reporters": "^1.5.1", "nodemon": "^3.1.0", "proxyquire": "^2.1.3", "shx": "^0.4.0", "sinon": "^20", "source-map-support": "^0.5.21", "ts-node": "^10", "typescript": "5.7.3" } }