-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 4.31 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 4.31 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "brainstorm",
"version": "0.14.0",
"private": true,
"description": "Brainstorm \u2014 knowledge-management product modeled as a desktop OS.",
"license": "AGPL-3.0-or-later",
"type": "module",
"workspaces": ["packages/*", "apps/*", "tools/*"],
"scripts": {
"predev": "bun run build:native",
"dev": "bun run --elide-lines=100 --filter @brainstorm-os/shell dev",
"build": "bun run build:native && bun run --filter '*' build",
"build:shell": "bun run build:native && bun run --filter @brainstorm-os/shell build",
"build:apps": "bun tools/build-apps.mjs",
"build:native": "bun run --filter @brainstorm-os/native build:debug && bun run build:native-image",
"build:native:release": "bun run --filter @brainstorm-os/native build && bun run build:native-image:release",
"build:native-embed": "bun run --filter @brainstorm-os/native-embed build:debug",
"build:native-embed:release": "bun run --filter @brainstorm-os/native-embed build",
"build:native-image": "bun run --filter @brainstorm-os/native-image build:debug",
"build:native-image:release": "bun run --filter @brainstorm-os/native-image build",
"preview": "bun run --filter @brainstorm-os/shell preview",
"start": "bun run --filter @brainstorm-os/shell start",
"typecheck": "bun run typecheck:packages && bun run typecheck:apps",
"typecheck:packages": "tsc --noEmit",
"typecheck:apps": "fail=0; for d in apps/*/; do echo \"== $d ==\"; (cd \"$d\" && bunx tsc --noEmit -p tsconfig.json) || fail=1; done; exit $fail",
"pretest": "bun run build:native",
"test": "bun --bun vitest run",
"test:ci": "bun --bun vitest run --exclude '**/node_modules/**' --exclude '**/*bench*.test.*' --exclude '**/*perf*.test.*' --exclude '**/stress.test.*'",
"test:watch": "bun --bun vitest",
"test:coverage": "bun --bun vitest run --coverage",
"lint": "biome check . && bun run lint:apps",
"lint:apps": "node tools/check-app-reactivity.mjs && node tools/check-control-faces.mjs && bun tools/check-css-tokens.mjs && bun tools/check-hardcoded-radius.mjs && node tools/check-app-i18n.mjs && node tools/check-bespoke-empty-cta.mjs && node tools/check-panel-toggles.mjs && node tools/check-offcanvas-guard.mjs && node tools/check-template-i18n.mjs && node tools/check-native-select.mjs && node tools/check-entity-title.mjs && node tools/check-accent-fill.mjs && node tools/check-design-drift.mjs",
"new-app": "bun tools/new-app.ts",
"release": "bun tools/release.mjs",
"format": "biome format --write .",
"verify": "bun run build:native && bun run typecheck && bun run lint:apps && bun run build:apps && bun --bun vitest run packages/shell/src/main/integration packages/shell/src/main/entities",
"logs": "node tools/error-log.mjs",
"size": "size-limit",
"size:why": "size-limit --why",
"perf": "bun run perf:build && playwright test --config=playwright.config.ts",
"perf:build": "bun run --filter @brainstorm-os/shell build && bun run build:apps",
"perf:check": "bun run tests/perf/lib/check-results.ts",
"perf:ci": "bun run perf && bun run perf:check",
"soak": "bun run soak:build && playwright test --config=playwright.soak.config.ts",
"soak:build": "bun run --filter @brainstorm-os/shell build && bun run build:apps",
"e2e": "bun run e2e:build && playwright test --config=playwright.e2e.config.ts",
"e2e:build": "bun run --filter @brainstorm-os/shell build && bun run build:apps",
"build:icons": "node scripts/build-icons.mjs",
"build:app-icons": "bun scripts/build-app-icons.ts",
"publish:catalog": "bun run build:native && bun run build:apps && bun tools/publish-first-party-catalog.ts",
"prepackage": "bun run build:native:release && bun run --filter @brainstorm-os/shell build && bun run build:apps",
"package": "bun run --filter @brainstorm-os/shell package"
},
"devDependencies": {
"@biomejs/biome": "^1.9.0",
"@lexical/headless": "0.21.0",
"@playwright/test": "^1.60.0",
"@size-limit/file": "^12.1.0",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^4.1.5",
"happy-dom": "^20.9.0",
"jsdom": "^29.1.1",
"sharp": "^0.35.0",
"size-limit": "^12.1.0",
"tsup": "^8",
"typescript": "^5.6.0",
"vite": "^6.4.3",
"vitest": "^4.1.5"
},
"dependencies": {
"@sentry/react": "^10.67.0",
"@types/imapflow": "^1.0.189"
}
}