-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.58 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.5",
"@types/node": "22.10.2",
"devvit": "0.11.5",
"esbuild": "0.24.0",
"lit-html": "3.2.1",
"typescript": "5.7.1-rc",
"vitest": "2.1.8"
},
"engines": {
"node": ">=22.6"
},
"license": "BSD-3-Clause",
"name": "fiddlesticks",
"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/fiddlesticks",
"devvit:logs": "devvit logs --log-runtime r/fiddlesticks_dev",
"devvit:playtest": "devvit playtest --config=devvit.dev.yaml --log-runtime r/fiddlesticks_dev|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 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"
}