build: add frontend TypeScript toolchain

This commit is contained in:
sjg
2026-08-01 11:52:47 +02:00
parent 860760ecfc
commit 888f793eb8
56 changed files with 43175 additions and 23 deletions
@@ -0,0 +1,24 @@
{
"name": "trx-frontend-http-web",
"version": "0.1.0",
"private": true,
"type": "module",
"engines": {
"node": ">=20"
},
"scripts": {
"build": "node build.mjs",
"typecheck": "tsc --project tsconfig.json",
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.mjs\" build.mjs --no-error-on-unmatched-pattern",
"test": "node --test tests/*.test.mjs",
"verify-generated": "npm run build && git diff --exit-code -- ../assets/web/generated"
},
"devDependencies": {
"@eslint/js": "9.39.2",
"esbuild": "0.25.12",
"eslint": "9.39.2",
"globals": "16.5.0",
"typescript": "5.9.3",
"typescript-eslint": "8.51.0"
}
}