-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.62 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
{
"author": "Developer Platform",
"description": "",
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@devvit/public-api": "0.11.7-next-2025-01-28-641048aff.0",
"@types/node": "22.10.5",
"devvit": "0.11.6",
"esbuild": "0.24.2",
"phaser": "3.87.0",
"typescript": "5.8.0-beta",
"vitest": "3.0.4"
},
"engines": {
"node": ">=22.6"
},
"license": "BSD-3-Clause",
"name": "paint-tv",
"private": true,
"scripts": {
"build": "esbuild --bundle --format=esm --log-level=info --outfile=webroot/index.js src/iframe/index.ts",
"clean": "rm -rf webroot/index.js",
"devvit:dev:upload": "devvit upload --config=devvit.dev.yaml",
"devvit:install": "npm run clean && npm run build && devvit upload && devvit install r/PaintTV",
"devvit:logs": "devvit logs --log-runtime",
"devvit:playtest": "sh -c 'devvit playtest --config=devvit.dev.yaml --log-runtime \"$@\"|grep --invert --line-buffered \"\\[api\\]\"' --",
"format": "npm run formatter -- --fix",
"formatter": "biome check --error-on-warnings",
"playtest": "sh -c 'trap \"kill 0\" exit; npm start& npm run build -- --watch=forever& npm run devvit:playtest -- \"$@\"& wait' --",
"start": "npm run build -- --banner:js='new EventSource(\"/esbuild\").addEventListener(\"change\", () => location.reload());' --serve=1234 --servedir=webroot --watch=forever",
"test": "npm run test:format && npm run test:types && npm run test:unit",
"test:format": "npm run formatter",
"test:types": "tsc --build",
"test:unit": "NODE_OPTIONS='--no-warnings=ExperimentalWarning' vitest run"
},
"type": "module",
"version": "0.0.0"
}