This repository has been archived by the owner on May 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
57 lines (57 loc) · 1.6 KB
/
package.json
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
{
"name": "twitter-runner",
"version": "2.3.2",
"description": "Serverless function to generate Twitter auth tokens and automate tweets.",
"main": "src/app.ts",
"private": true,
"scripts": {
"build": "esbuild --define:process.env.NODE_ENV=\\\"production\\\" src/app.ts --minify --bundle --format=esm --outfile=dist/worker.js",
"clean": "rm -rf dist",
"clean:node": "rm -rf node_modules",
"dev": "wrangler dev src/app.ts",
"deploy": "wrangler publish src/app.ts",
"format": "rome format --write **/*.ts",
"lint": "rome check --apply-suggested **/*.ts",
"scripts:auto-tweet": "esno --no-cache scripts/auto-tweet.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fourjuaneight/twitter-runner.git"
},
"author": "Juan Villela",
"license": "MIT",
"bugs": {
"url": "https://github.com/fourjuaneight/twitter-runner/issues"
},
"homepage": "https://github.com/fourjuaneight/twitter-runner#readme",
"lint-staged": {
"*.ts": [
"npm run format",
"npm run lint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20221111.1",
"@types/isomorphic-fetch": "^0.0.36",
"@types/node": "^17.0.45",
"esbuild": "^0.17.4",
"esno": "^0.16.3",
"husky": "^7.0.4",
"lint-staged": "^11.2.6",
"rome": "11.0.0",
"typescript": "^4.9.4",
"wrangler": "2.8.0"
},
"dependencies": {
"@cloudflare/wrangler": "^1.20.0",
"dotenv": "^16.0.3",
"hono": "^2.7.3",
"isomorphic-fetch": "^3.0.0",
"openai": "^3.1.0"
}
}