-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.57 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
{
"author": "Stephen Niedzielski <[email protected]> (https://oidoid.com)",
"description": "",
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@devvit/public-api": "0.11.3",
"@types/node": "22.9.0",
"devvit": "0.11.2",
"esbuild": "0.24.0",
"mem-font": "11.0.0-2",
"typescript": "5.7.1-rc",
"vitest": "2.1.5"
},
"engines": {
"node": ">=22.6"
},
"license": "BSD-3-Clause",
"name": "subterrane",
"private": true,
"scripts": {
"build": "esbuild --bundle --format=esm --log-level=info --outfile=webroot/index.js src/web-view/index.ts",
"clean": "rm -rf dist webroot/index.js",
"devvit:install": "npm run clean && npm run build && devvit upload && devvit install r/subterrane",
"devvit:logs": "devvit logs --log-runtime r/subterranedev",
"devvit:playtest": "devvit playtest --log-runtime r/subterranedev|grep --invert --line-buffered '\\[api\\]'",
"format": "npm run formatter -- --fix",
"formatter": "biome check --error-on-warnings",
"playtest": "trap 'kill 0' exit; npm start& npm run build -- --watch=forever& npm run devvit:playtest& wait",
"start": "npm run build -- --banner:js='new globalThis.EventSource(\"/esbuild\").addEventListener(\"change\", () => location.reload());' --serve=1234 --servedir=webroot --watch=forever --serve",
"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"
}