mirror of
https://github.com/Dvorinka/Primora.git
synced 2026-06-03 20:13:01 +00:00
23 lines
999 B
JSON
23 lines
999 B
JSON
{
|
|
"name": "primora",
|
|
"version": "0.2.0",
|
|
"private": true,
|
|
"packageManager": "npm@9.2.0",
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build --workspaces --if-present",
|
|
"dev:auth": "npm run dev --workspace @primora/auth",
|
|
"dev:frontend": "npm run dev --workspace @primora/frontend",
|
|
"generate:client": "npm run generate --workspace @primora/api-client",
|
|
"generate:sqlc": "cd apps/backend && go run github.com/sqlc-dev/sqlc/cmd/sqlc@v1.30.0 generate",
|
|
"test:backend": "cd apps/backend && go test ./...",
|
|
"typecheck:frontend": "cd apps/frontend && npx tsc -p tsconfig.json --noEmit",
|
|
"check:generated": "npm run generate:sqlc && npm run generate:client && git diff --exit-code -- apps/backend/internal/database/db packages/api-client/src/generated",
|
|
"check": "npm run test:backend && npm run typecheck:frontend && npm run build && npm run check:generated",
|
|
"test": "npm run test --workspaces --if-present"
|
|
}
|
|
}
|