From 53ab332e6d2afe9818914e0026310e4cadcc4202 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sun, 16 Aug 2026 14:23:32 +0200 Subject: refactor(web): migrate browser code to TypeScript --- package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 13f91b1..e63fa69 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,13 @@ "private": true, "type": "module", "scripts": { - "format": "biome format --write web/static/*.js web/static_test/*.js", - "format:check": "biome format web/static/*.js web/static_test/*.js", - "lint": "biome lint web/static/*.js web/static_test/*.js", + "format": "biome format --write web/frontend", + "format:check": "biome format web/frontend", + "lint": "biome lint web/frontend", "typecheck": "tsc --noEmit", - "test": "node --test web/static_test/*.test.js", - "check": "npm run format:check && npm run lint && npm run typecheck && npm test" + "build": "tsc -p tsconfig.build.json", + "test": "node --experimental-strip-types --test web/frontend/*.test.ts", + "check": "npm run format:check && npm run lint && npm run typecheck && npm run build && npm test" }, "devDependencies": { "@biomejs/biome": "^2.5.8", -- cgit v1.2.3