This repository was archived by the owner on Jun 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.45 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.45 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
{
"name": "vibe-mod",
"version": "0.1.0",
"description": "Write a moderation rule. In English. It works. (Reddit Devvit app)",
"private": true,
"type": "module",
"license": "MIT",
"scripts": {
"dev": "devvit playtest",
"build": "tsc --noEmit && vite build",
"upload": "devvit upload",
"publish": "devvit publish",
"publish:public": "devvit publish --public",
"logs": "devvit logs",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:devvit": "vitest run --config vitest.devvit.config.ts",
"acceptance": "tsx scripts/acceptance.ts",
"typecheck": "tsc --noEmit",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"check": "npm run typecheck && npm run lint && npm run format:check && npm test && npm run test:devvit && npm run acceptance",
"replay": "tsx scripts/replay.ts",
"doctor": "tsx scripts/devvit-doctor.ts",
"openai:smoketest": "tsx scripts/openai-smoketest.ts",
"settings:set:openai": "devvit settings set openaiApiKey",
"prepare": "simple-git-hooks"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"pre-push": "npm run typecheck && npm test"
},
"lint-staged": {
"*.ts": [
"eslint --fix --max-warnings 0",
"prettier --write"
],
"*.{js,json,md,yml,yaml}": [
"prettier --write"
]
},
"dependencies": {
"@devvit/web": "0.13.4",
"@hono/node-server": "^2.0.5",
"hono": "^4.12.25",
"zod": "^4.4.3"
},
"devDependencies": {
"@devvit/start": "0.13.4",
"@devvit/test": "0.13.4",
"@eslint/js": "^10.0.1",
"@types/node": "^25.9.3",
"@vitest/coverage-v8": "^4.1.9",
"@vitest/eslint-plugin": "^1.6.20",
"devvit": "0.13.4",
"eslint": "^10.5.0",
"eslint-config-prettier": "^10.1.8",
"fast-check": "^4.7.0",
"lint-staged": "^17.0.7",
"prettier": "^3.8.4",
"simple-git-hooks": "^2.13.1",
"tsx": "^4.22.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.61.1",
"vite": "^8.0.16",
"vitest": "^4.1.5"
},
"engines": {
"node": ">=22.2.0"
},
"vibe-mod": {
"fetch-domains": [
"api.openai.com"
],
"tos-url": "https://two-weeks-team.github.io/reddit-mod-tools-port-gallery/vibe-mod/tos.html",
"privacy-url": "https://two-weeks-team.github.io/reddit-mod-tools-port-gallery/vibe-mod/privacy.html"
}
}