summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-08-16 14:23:32 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-08-16 14:23:32 +0200
commit53ab332e6d2afe9818914e0026310e4cadcc4202 (patch)
tree198d708fa05d4247bdcc0cf2900fdf551d61b7d6 /package.json
parent2d18d177f48285eb123e7da8680fc00e7a6fe19c (diff)
refactor(web): migrate browser code to TypeScript
Diffstat (limited to 'package.json')
-rw-r--r--package.json11
1 files changed, 6 insertions, 5 deletions
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",