seriesoftubes/package.json
Frederic Jung 2d1f48f3e6
CI: tests in four parts on four runners, every core in use, older PR runs cancelled
npm test ran every file one after another (--test-concurrency=1, from when there were three files). It now runs as many files at once as there are cores (TEST_JOBS=1 for the old way), and --shard i/n picks one of n parts of about equal time, balanced by tests/durations.json (npm run test:timings). CI runs four parts and the build side by side; a final 'test' job is green only when all are, so the check keeps its name. A newer push to a PR cancels the older run.
2026-10-31 14:11:02 +01:00

30 lines
854 B
JSON

{
"name": "seriesoftubes",
"version": "2.1.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 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"
},
"engines": {
"node": ">=20"
},
"devDependencies": {
"jsdom": "24.1.3",
"playwright-core": "1.56.0"
}
}