summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
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",