-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 4.19 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 4.19 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "plexus2",
"module": "index.ts",
"devDependencies": {
"@biomejs/biome": "2.4.16",
"@redocly/cli": "^2.31.5",
"agent-browser": "^0.27.0",
"bun-types": "1.3.14",
"lefthook": "^2.1.9",
"octokit": "^5.0.5",
"typescript-language-server": "^5.3.0",
"vitest": "^4.1.8",
"yaml": "^2.9.0"
},
"private": true,
"scripts": {
"dev": "bun run scripts/dev.ts",
"profile": "bun run dev --profile",
"dev:pglite": "bun run scripts/dev.ts --pglite",
"dev:full": "bun run scripts/dev.ts --full",
"dev:get:port": "bun run scripts/dev-config.ts port",
"dev:get:db_path": "bun run scripts/dev-config.ts db_path",
"build:frontend": "cd packages/frontend && bun run build",
"build:frontend:if-needed": "[ -n \"$CI\" ] || bun run build:frontend",
"compile:macos": "bun run build:frontend:if-needed && bun build packages/backend/src/index.ts packages/backend/drizzle/migrations/*.sql packages/backend/drizzle/migrations_pg/*.sql packages/frontend/dist/*.png packages/frontend/dist/*.ico packages/frontend/dist/*.svg packages/frontend/dist/*.webmanifest --compile --asset-naming=\"[name].[ext]\" --target=bun-darwin-arm64 --outfile plexus-macos",
"compile:linux-amd64": "bun run build:frontend:if-needed && bun build packages/backend/src/index.ts packages/backend/drizzle/migrations/*.sql packages/backend/drizzle/migrations_pg/*.sql packages/frontend/dist/*.png packages/frontend/dist/*.ico packages/frontend/dist/*.svg packages/frontend/dist/*.webmanifest --compile --asset-naming=\"[name].[ext]\" --target=bun-linux-x64 --outfile plexus-linux-amd64",
"compile:linux-arm64": "bun run build:frontend:if-needed && bun build packages/backend/src/index.ts packages/backend/drizzle/migrations/*.sql packages/backend/drizzle/migrations_pg/*.sql packages/frontend/dist/*.png packages/frontend/dist/*.ico packages/frontend/dist/*.svg packages/frontend/dist/*.webmanifest --compile --asset-naming=\"[name].[ext]\" --target=bun-linux-arm64 --outfile plexus-linux-arm64",
"compile:windows": "bun run build:frontend:if-needed && bun build packages/backend/src/index.ts packages/backend/drizzle/migrations/*.sql packages/backend/drizzle/migrations_pg/*.sql packages/frontend/dist/*.png packages/frontend/dist/*.ico packages/frontend/dist/*.svg packages/frontend/dist/*.webmanifest --compile --asset-naming=\"[name].[ext]\" --target=bun-windows-x64 --outfile plexus.exe",
"build:bin": "bun run build:frontend:if-needed && bun build packages/backend/src/index.ts packages/backend/drizzle/migrations/*.sql packages/backend/drizzle/migrations_pg/*.sql packages/frontend/dist/*.png packages/frontend/dist/*.ico packages/frontend/dist/*.svg packages/frontend/dist/*.webmanifest --compile --asset-naming=\"[name].[ext]\" --outfile plexus",
"typecheck": "bun run --workspaces typecheck",
"test": "cd packages/backend && bun run test",
"test:force": "cd packages/backend && bun run test:force-all",
"test:watch": "cd packages/backend && bun run test:watch",
"release": "bun run scripts/release.ts",
"prep-dev": "bun run scripts/prep-dev.ts",
"prep-dev:clear": "bun run scripts/prep-dev.ts --clear",
"prep-dev:reset": "bun run scripts/prep-dev.ts --reset",
"prep-dev:save": "bun run scripts/prep-dev.ts --save",
"prep-dev:live": "bun run scripts/prep-dev.ts --live",
"postinstall": "bun run scripts/wrap-drizzle-kit.ts",
"prepare": "if [ -z \"$CI\" ]; then lefthook install; fi",
"format": "bunx biome format --write .",
"format:check": "bunx biome format .",
"lint": "bunx biome lint --write .",
"lint:check": "bunx biome lint .",
"lint:migrations": "bun run scripts/lint-migrations.ts",
"lint:openapi": "bunx @redocly/cli lint docs/openapi/openapi.yaml",
"bundle:openapi": "bunx @redocly/cli bundle docs/openapi/openapi.yaml -o docs/openapi.yaml",
"preview:openapi": "bunx @redocly/cli preview-docs docs/openapi/openapi.yaml",
"sync:openapi": "bun run scripts/sync-openapi.ts",
"sync:openapi:write": "bun run scripts/sync-openapi.ts --write",
"generate-migrations": "bun run scripts/generate-migrations.ts",
"deploy:staging": "bun run scripts/deploy-staging.ts"
},
"type": "module",
"workspaces": [
"packages/*"
]
}