-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.57 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.57 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
{
"name": "fairpost",
"version": "4.0.0",
"type": "module",
"engines": {
"node": "22.17.0"
},
"description": "Publishes posts to social media platforms based on a single source feed",
"main": "index.js",
"scripts": {
"build": "npm run build:test && npm run build:exec && npm run build:post",
"build:test": "npx tsc",
"build:exec": "rm -rf build/* && ( npx tsc --noEmit false 1>/dev/null || true )",
"build:post": "npm run build:fix-imports",
"build:fix-imports": "sh -c 'if [ \"$(uname)\" = \"Darwin\" ]; then npm run build:fix-imports-mac; npm run build:fix-exports-mac; else npm run build:fix-imports-linux; npm run build:fix-exports-linux; fi'",
"build:fix-imports-mac": "find build -name '*.js' -exec sed -i '' 's/import \\(.*\\)\"\\(\\..*\\)\\.ts\"/import \\1\"\\2.js\"/g' {} +",
"build:fix-exports-mac": "find build -name '*.js' -exec sed -i '' 's/export \\(.*\\)\"\\(\\..*\\)\\.ts\"/export \\1\"\\2.js\"/g' {} +",
"build:fix-imports-linux": "find build -name '*.js' -exec sed -i 's/import \\(.*\\)\"\\(\\..*\\)\\.ts\"/import \\1\"\\2.js\"/g' {} +",
"build:fix-exports-linux": "find build -name '*.js' -exec sed -i 's/export \\(.*\\)\"\\(\\..*\\)\\.ts\"/export \\1\"\\2.js\"/g' {} +",
"htmldocs": "npx typedoc --entryPoints src/ --entryPointStrategy expand --out docs/html",
"test": "npx tsc && npm run lint",
"prettier": "prettier --config .prettierrc 'src/**/*.ts' --write",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"keywords": [
"feed",
"social",
"twitter",
"facebook",
"instagram",
"reddit",
"ayrshare"
],
"author": "codepike",
"license": "ISC",
"exports": {
".": "./services/Fairpost.js",
"./types": "./types/index.js"
},
"dependencies": {
"@atproto/api": "^0.15.23",
"@flystorage/file-storage": "^1.0.1",
"@flystorage/local-fs": "^1.0.0",
"@googleapis/youtube": "^20.0.0",
"argon2": "^0.41.1",
"cookie": "^1.0.2",
"dotenv": "^16.0.3",
"fast-xml-parser": "^4.3.2",
"google-auth-library": "^9.4.2",
"log4js": "^6.9.1",
"mime-types": "^2.1.35",
"node-fetch": "^3.3.2",
"sharp": "^0.33.5",
"twitter-api-v2": "^1.15.2"
},
"devDependencies": {
"@types/node": "^22.13.4",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@typescript-eslint/parser": "^8.24.0",
"eslint": "^9.20.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-jsdoc": "^50.6.3",
"eslint-plugin-prettier": "^5.0.1",
"prettier": "^3.0.3",
"ts-node": "^10.9.1",
"typedoc": "^0.28.4",
"typescript": "^5.0.4"
}
}