scripts/perf-bench.js times routing, a game day, an action, panels, the NOC dashboard and the map on tests/fixtures/big-network.json (104 POPs, 950 PNIs, 832 caches), base and head in alternating turns, and says whether routing results changed. perf.yml runs it on every PR against the base; perf-comment.yml posts the table as one updated comment. New performance skill, CLAUDE.md rule, PR template and docs.
20 lines
869 B
JSON
20 lines
869 B
JSON
{
|
|
"name": "seriesoftubes",
|
|
"version": "1.28.0",
|
|
"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 --test --test-concurrency=1 tests/game.test.js tests/build.test.js tests/persist.test.js tests/services.test.js tests/peering.test.js tests/issues.test.js tests/regions.test.js tests/modes.test.js tests/levels.test.js tests/speed.test.js tests/i18n.test.js",
|
|
"build": "bash scripts/build.sh",
|
|
"i18n:check": "node scripts/i18n-check.js",
|
|
"serve": "npm run build && npx --yes serve@14.2.4 _site",
|
|
"perf": "node scripts/perf-bench.js"
|
|
},
|
|
"engines": { "node": ">=20" },
|
|
"devDependencies": {
|
|
"jsdom": "24.1.3"
|
|
}
|
|
}
|