-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 2.16 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 2.16 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
32
33
34
{
"name": "language-app-project",
"private": true,
"workspaces": [
"backend",
"sonus-react"
],
"scripts": {
"hooks:install": "git config core.hooksPath .githooks && chmod +x .githooks/pre-commit .githooks/pre-push",
"dev": "npm run dev:all",
"dev:frontend": "npm run -w sonus-react dev",
"dev:backend": "npm run -w sonus-backend dev",
"dev:all": "bash -lc 'trap \"kill 0\" EXIT; npm run -w sonus-backend dev & npm run -w sonus-react dev & wait'",
"checklist": "node scripts/regression-checklist.mjs",
"test": "npm run test:backend && npm run test:frontend",
"test:backend": "npm run -w sonus-backend test:srs && npm run -w sonus-backend test:auth-contract && npm run -w sonus-backend test:core:local",
"test:frontend": "npm run -w sonus-react test:unit",
"test:core": "npm run -w sonus-backend test:core",
"lint": "npm run -w sonus-react lint && npm run -w sonus-backend lint",
"build": "npm run -w sonus-react build && npm run -w sonus-backend build",
"tatoeba:fetch": "node scripts/tatoeba-fetch.mjs",
"quality:report": "node scripts/quality-report.mjs",
"quality:report:soft": "node scripts/quality-report.mjs || true",
"quality:report:prod-safe": "QUALITY_PROFILE=prod-safe node scripts/quality-report.mjs",
"quality:report:prod-safe:soft": "QUALITY_PROFILE=prod-safe node scripts/quality-report.mjs || true",
"a11y:check": "bash -lc 'set -e; npm --prefix sonus-react run build; npm --prefix sonus-react run preview -- --host 127.0.0.1 --port 4173 > /tmp/sonus-preview.log 2>&1 & PREVIEW_PID=$!; trap \"kill $PREVIEW_PID\" EXIT; npx --yes @lhci/cli@0.14.x autorun --config=sonus-react/.lighthouserc.json'",
"codehealth:dead": "npx --yes knip --config config/knip.json",
"codehealth:deps": "node scripts/codehealth-deps.mjs",
"codehealth:cycles": "bash -lc 'npx --yes madge --circular --extensions ts,tsx backend/src && npx --yes madge --circular --extensions ts,tsx sonus-react/src'",
"codehealth:scan": "node scripts/codehealth-scan.mjs",
"codehealth": "npm run codehealth:dead && npm run codehealth:deps && npm run codehealth:cycles && npm run codehealth:scan"
},
"devDependencies": {}
}