seriesoftubes/package.json
Antoine cf9ab5e774
Draw the map with WebGL2 by default, with the 2D canvas as fallback
- Sea, land, waves, clouds, cables, tubes and packets are drawn by the
  graphics card; the land is geometry built once, so panning and zooming
  repaint nothing.
- Cities, labels and markers are painted once into a sprite atlas and drawn
  in one call (with drawImage in 2D, which speeds up the 2D map too).
- Settings > Map drawing: Auto or Always 2D, per device. Browsers without
  WebGL2, a lost context and puzzles keep the 2D map.
- npm run bench:gpu compares 2D and WebGL in a real browser on a real GPU;
  ?fps shows a frame meter.
2026-11-04 22:37:12 +01:00

36 lines
1.1 KiB
JSON

{
"name": "seriesoftubes",
"version": "2.9.1",
"description": "A cartoon browser game about building the internet.",
"private": true,
"license": "MIT",
"homepage": "https://seriesoftub.es/",
"repository": {
"type": "git",
"url": "git+https://github.com/fjaeckel/seriesoftubes.git"
},
"scripts": {
"test": "node scripts/test.js",
"test:timings": "node scripts/test-timings.js",
"build": "node scripts/build.js",
"i18n:check": "node scripts/i18n-check.js",
"i18n:fix": "node scripts/i18n-check.js --fix",
"dev": "node scripts/dev.js",
"page": "node scripts/lib/page.js",
"serve": "npm run build && npx --yes serve@14.2.4 _site",
"perf": "node scripts/perf-bench.js",
"bench:gpu": "node scripts/gpu-bench.js",
"mcp": "node scripts/mcp.js",
"mcp:browser": "node scripts/mcp.js --browser"
},
"engines": {
"node": ">=20"
},
"devDependencies": {
"@modelcontextprotocol/node": "2.1.2",
"@modelcontextprotocol/server": "2.4.0",
"jsdom": "24.1.3",
"playwright-core": "1.56.0",
"ws": "8.22.0"
}
}