- Authentication: login / logout / whoami with token caching - Accounts: list / create / delete / info - Aliases: list / create / delete - Domains: list - TypeScript + ESM + commander.js - Node fetch (no axios) - Table and --json output modes - Auto token refresh on expiry - MCMAIL_HOST / MCMAIL_USER / MCMAIL_PASSWORD env var support
29 lines
595 B
JSON
29 lines
595 B
JSON
{
|
|
"name": "mcmail",
|
|
"version": "0.1.0",
|
|
"description": "Mailcheap CLI — manage your mail server from the terminal",
|
|
"type": "module",
|
|
"bin": {
|
|
"mcmail": "./dist/cli.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsx src/cli.ts",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": ["mailcheap", "mail", "cli", "email"],
|
|
"author": "小橘",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"commander": "^12.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.5.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|