UNPKG

imessage-ts

Version:

TypeScript library for interacting with iMessage on macOS - send messages, monitor chats, and automate responses

97 lines (96 loc) 2.33 kB
{ "name": "imessage-ts", "version": "0.2.5", "description": "TypeScript library for interacting with iMessage on macOS - send messages, monitor chats, and automate responses", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "imessage-ts": "./dist/cli/index.js" }, "scripts": { "build": "tsc", "postbuild": "node scripts/postbuild.js", "test": "jest", "lint": "eslint src --ext .ts", "clean": "rimraf dist", "prebuild": "npm run clean", "prepublishOnly": "npm run test && npm run build", "version": "git add -A", "postversion": "git push && git push --tags", "dev": "tsc -w", "example": "ts-node examples/basic-usage.ts" }, "keywords": [ "imessage", "messages", "apple", "macos", "sqlite", "chat", "messaging", "automation", "cli", "api", "webhook", "typescript", "sms", "bot", "auto-responder" ], "author": "Ryan Trattner <ryan@example.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/ryantrattner/imessage-ts.git" }, "bugs": { "url": "https://github.com/ryantrattner/imessage-ts/issues" }, "homepage": "https://github.com/ryantrattner/imessage-ts#readme", "engines": { "node": ">=14.0.0", "npm": ">=6.0.0" }, "os": [ "darwin" ], "dependencies": { "better-sqlite3": "^8.3.0", "fs-extra": "^11.1.1", "node-notifier": "^10.0.1", "sqlite3": "^5.1.6", "express": "^4.18.2", "axios": "^1.6.0", "commander": "^11.1.0" }, "devDependencies": { "@types/better-sqlite3": "^7.6.4", "@types/fs-extra": "^11.0.1", "@types/jest": "^29.5.1", "@types/node-notifier": "^8.0.2", "@types/sqlite3": "^5.1.0", "@types/express": "^4.17.21", "jest": "^29.5.0", "rimraf": "^3.0.2", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "typescript": "^5.0.4", "@typescript-eslint/eslint-plugin": "^5.59.0", "@typescript-eslint/parser": "^5.59.0", "eslint": "^8.38.0" }, "files": [ "dist/**/*", "!dist/**/*.map", "!dist/**/*.test.*", "!dist/**/*.spec.*", "LICENSE", "README.md", "CLI_USAGE.md", "USAGE_GUIDE.md" ], "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }