-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
20 lines (20 loc) · 931 Bytes
/
package.json
File metadata and controls
20 lines (20 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "math",
"type": "module",
"author": "Damjan Košir",
"license": "AGPL-3.0-only",
"scripts": {
"build": "bun install && bun scripts/update-reward-count.ts && mkdir -p dist/rpg && cp src/*.html dist && cp src/common.css dist && cp src/favicon-32x32.png dist && cp -r src/rewardImages dist && cp src/rpg/*.html dist/rpg && cp -r src/rpg/assets dist/rpg && bun build ./src/app.ts ./src/index.ts ./src/practice.ts ./src/rpg/rpg.ts ./src/rpg/rpgIndex.ts ./src/rpg/actors.ts --outdir dist",
"dev": "bun run build --watch",
"caddy": "mkdir -p dist/rpg && cd dist && caddy file-server --listen :3000",
"debug": "chromium --remote-debugging-port=9222 --user-data-dir=remote-debug-profile http://localhost:3000/rpg/rpg.html",
"sim": "bun run ./src/rpg/simulator.ts"
},
"devDependencies": {
"prettier": "^3.6.2",
"typescript": "^5.9.3"
},
"dependencies": {
"pixi.js": "^8.15.0"
}
}