-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdevvit.json
More file actions
48 lines (48 loc) · 1.04 KB
/
devvit.json
File metadata and controls
48 lines (48 loc) · 1.04 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
{
"$schema": "https://developers.reddit.com/schema/config-file.v1.json",
"name": "<% name %>",
"post": {
"dir": "dist/client",
"entrypoints": {
"default": {
"inline": true,
"entry": "splash.html"
},
"game": {
"entry": "game.html"
}
}
},
"server": {
"dir": "dist/server",
"entry": "index.cjs"
},
"menu": {
"items": [
{
"label": "Create a new post",
"description": "<% name %>",
"location": "subreddit",
"forUserType": "moderator",
"endpoint": "/internal/menu/post-create"
},
{
"label": "Example form",
"description": "Show a simple form",
"location": "subreddit",
"forUserType": "moderator",
"endpoint": "/internal/menu/example-form"
}
]
},
"forms": {
"exampleForm": "/internal/form/example-submit"
},
"triggers": {
"onAppInstall": "/internal/triggers/on-app-install"
},
"scripts": {
"dev": "vite build --watch",
"build": "vite build"
}
}