Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 2.73 KB
/
Copy pathpackage.json
File metadata and controls
45 lines (45 loc) · 2.73 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
{
"name": "thelastsaas",
"private": true,
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"start": "bun run --cwd packages/server start",
"dev": "bun run --cwd packages/server dev",
"test": "bun test --parallel --timeout=30000 packages/shared packages/server packages/client",
"test:shared": "bun test --parallel --timeout=30000 packages/shared",
"test:server": "bun test --parallel --timeout=30000 packages/server",
"test:client": "bun test --parallel --timeout=30000 packages/client",
"embed:skill": "bun run scripts/embed-skill.ts",
"build:client": "bun run embed:skill && bun build packages/client/src/index.ts --compile --outfile dist/saas",
"build:client:linux-x64": "bun run embed:skill && bun build packages/client/src/index.ts --compile --target=bun-linux-x64 --outfile dist/saas-linux-x64",
"build:client:linux-arm64": "bun run embed:skill && bun build packages/client/src/index.ts --compile --target=bun-linux-arm64 --outfile dist/saas-linux-arm64",
"build:client:darwin-x64": "bun run embed:skill && bun build packages/client/src/index.ts --compile --target=bun-darwin-x64 --outfile dist/saas-darwin-x64",
"build:client:darwin-arm64": "bun run embed:skill && bun build packages/client/src/index.ts --compile --target=bun-darwin-arm64 --outfile dist/saas-darwin-arm64",
"build:client:windows-x64": "bun run embed:skill && bun build packages/client/src/index.ts --compile --target=bun-windows-x64 --outfile dist/saas-windows-x64.exe",
"build:client:all": "bun run build:client:linux-x64 && bun run build:client:linux-arm64 && bun run build:client:darwin-x64 && bun run build:client:darwin-arm64 && bun run build:client:windows-x64",
"build:server": "bun run --cwd packages/server prisma:generate && bun run build:client:all && bun run scripts/build-server.ts",
"build:server:postgres": "bun run --cwd packages/server prisma:generate:postgres && bun run build:client:all && bun run scripts/build-server.ts",
"build:server:current": "bun run --cwd packages/server prisma:generate && bun run build:client && bun run scripts/build-server.ts --current-platform",
"smoke:built": "bun run scripts/smoke-built.ts",
"typecheck": "bun run --filter '*' typecheck",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test:postgres": "bun run scripts/test-postgres.ts",
"test:postgres:queues": "bun run scripts/test-postgres.ts --queues",
"test:postgres:automation": "bun run scripts/test-postgres.ts --automation"
},
"devDependencies": {
"@types/bun": "latest",
"eslint": "^9.39.1",
"prettier": "^3.6.2",
"typescript": "^5.9.2",
"typescript-eslint": "^8.46.1"
},
"engines": {
"bun": ">=1.4.0"
}
}