-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevvit.json
More file actions
49 lines (49 loc) · 1010 Bytes
/
devvit.json
File metadata and controls
49 lines (49 loc) · 1010 Bytes
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
{
"$schema": "https://developers.reddit.com/schema/config-file.v1.json",
"name": "prismaticgame",
"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 PRISMA Canvas",
"description": "Start a new collaborative light sculpture",
"location": "subreddit",
"forUserType": "moderator",
"endpoint": "/internal/menu/post-create"
}
]
},
"permissions": {
"redis": true,
"realtime": true,
"reddit": {
"enable": true,
"asUser": ["SUBMIT_POST"]
}
},
"triggers": {
"onAppInstall": "/internal/triggers/on-app-install"
},
"scripts": {
"dev": "vite build --watch",
"build": "vite build"
},
"dev": {
"subreddit": "prismaticgame_dev"
}
}