-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 2.5 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "@humanwhocodes/crosspost",
"version": "1.0.4",
"description": "A utility to post across multiple social networks.",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"crosspost": "dist/bin.js"
},
"exports": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"!(*.js)": [
"prettier --write --ignore-unknown"
]
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/nzakas"
},
"scripts": {
"build": "tsc",
"lint": "eslint src/ tests/",
"fmt": "prettier --write .",
"prepublishOnly": "npm run build",
"pretest": "npm run build",
"test:unit": "mocha tests/**/*.{js,mjs} --exit --forbid-only",
"test:build": "node tests/pkg.test.mjs",
"test:jsr": "npx jsr@latest publish --dry-run",
"test:attw": "attw --pack --profile esm-only",
"test": "npm run test:unit && npm run test:build && npm run test:attw",
"mcp:inspect": "npm run build && cross-env CROSSPOST_DOTENV=1 npx @modelcontextprotocol/inspector node dist/bin.js --mcp"
},
"repository": {
"type": "git",
"url": "git+https://github.com/humanwhocodes/crosspost.git"
},
"keywords": [
"nodejs",
"twitter",
"bluesky",
"mastodon",
"discord",
"linkedin",
"social",
"social media",
"social networks",
"crosspost",
"devto"
],
"author": "Nicholas C. Zaks",
"license": "Apache-2.0",
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"@eslint/js": "^9.0.0",
"@tsconfig/node16": "^16.1.1",
"@types/mocha": "^10.0.3",
"@types/node": "^22.17.1",
"@types/ws": "^8.18.1",
"chai": "^5.1.2",
"cross-env": "^7.0.3",
"eslint": "^9.0.0",
"lint-staged": "15.4.3",
"mentoss": "^0.9.2",
"mocha": "^11.0.0",
"msw": "^2.11.1",
"nock": "^13.5.5",
"prettier": "^3.3.3",
"sinon": "^19.0.2",
"typescript": "^5.6.3",
"yorkie": "2.0.0"
},
"dependencies": {
"@humanwhocodes/env": "^4.0.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@noble/secp256k1": "^3.0.0",
"bech32": "^2.0.0",
"image-size": "^2.0.2",
"tlds": "^1.255.0",
"twitter-api-v2": "^1.20.2",
"zod": "^3.24.2"
}
}