-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 1.68 KB
/
Copy pathpackage.json
File metadata and controls
31 lines (31 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"private": true,
"packageManager": "pnpm@11.5.2",
"scripts": {
"dev": "docker compose up -d --wait postgres s3mock && pnpm --parallel --filter @katari-lang/runtime --filter @katari-lang/admin-web run dev",
"dev:down": "docker compose down",
"build": "pnpm run build:haskell && pnpm run build:typescript",
"build:haskell": "stack build",
"build:typescript": "pnpm -r run build",
"test": "pnpm run test:haskell && pnpm run test:typescript",
"test:haskell": "stack test",
"test:typescript": "pnpm -r run test",
"test:e2e": "pnpm --filter @katari-lang/e2e run e2e",
"format": "pnpm run format:haskell && pnpm run format:typescript",
"format:haskell": "find haskell -path '*/.stack-work' -prune -o -name '*.hs' -type f -exec stack exec --package ormolu -- ormolu --mode inplace {} +",
"format:typescript": "biome format --write",
"typecheck": "pnpm run typecheck:haskell && pnpm run typecheck:typescript",
"typecheck:haskell": "stack build --fast --ghc-options=\"-O0\"",
"typecheck:typescript": "pnpm -r run typecheck",
"lint": "pnpm run lint:haskell && pnpm run lint:typescript",
"lint:haskell": "find haskell -path '*/.stack-work' -prune -o -name '*.hs' -type f -exec stack exec --package hlint -- hlint {} +",
"lint:typescript": "biome check",
"lint-fix": "pnpm run lint-fix:haskell && pnpm run lint-fix:typescript",
"lint-fix:haskell": "find haskell -path '*/.stack-work' -prune -o -name '*.hs' -type f -exec stack exec --package hlint -- hlint --refactor --refactor-options=\"--inplace\" {} \\;",
"lint-fix:typescript": "biome check --fix"
},
"devDependencies": {
"@biomejs/biome": "^2.4.16",
"lefthook": "^2.1.9"
}
}