-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 5.26 KB
/
Copy pathpackage.json
File metadata and controls
128 lines (128 loc) · 5.26 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "cella",
"version": "0.8.2",
"license": "MIT",
"repository": "https://github.com/cellajs/cella",
"description": "Cella is a TypeScript template to build collaborative web apps with sync engine. MIT licensed.",
"keywords": [
"starter kit",
"fullstack",
"monorepo",
"typescript",
"cellajs"
],
"author": "CellaJS <info@cellajs.com>",
"homepage": "https://cellajs.com",
"type": "module",
"engines": {
"node": "24.x"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"docker": "pnpm --filter backend docker:up --detach",
"docker:test": "docker compose -f backend/compose.yaml --profile test up -d --wait db_test",
"docker:test:down": "docker compose -f backend/compose.yaml --profile test down",
"stop": "pnpm -r --parallel --stream stop",
"generate": "pnpm --filter backend generate",
"sdk": "pnpm --filter backend generate:openapi && pnpm --filter sdk generate:sdk",
"clean": "rimraf backend/dist frontend/dist frontend/stats",
"dev": "pnpm run clean && cross-env pnpm --reporter=append-only -r --parallel --stream dev",
"dev:single": "pnpm run clean && cross-env SINGLE_VM=true pnpm --reporter=append-only -r --parallel --stream --filter backend --filter frontend dev",
"dev:migration": "pnpm run clean && cross-env DATABASE_URL=postgres://postgres:postgres@0.0.0.0:5555/postgres DATABASE_ADMIN_URL=postgres://postgres:postgres@0.0.0.0:5555/postgres pnpm --reporter=append-only -r --parallel --stream dev",
"tunnel": "pnpm run clean && cross-env pnpm --reporter=append-only -r --parallel --stream tunnel",
"dev:proxy": "pnpm run clean && cross-env pnpm --reporter=append-only -r --parallel --stream --filter backend --filter cdc-worker --filter frontend --filter proxy dev",
"seed": "pnpm --filter backend seed",
"infra": "pnpm infra:compose && pnpm --filter infra cli",
"infra:staging": "pnpm infra --mode staging",
"infra:production": "pnpm infra --mode production",
"infra:compose": "pnpm --filter infra compose:generate",
"check": "pnpm sdk && pnpm --filter backend ts && pnpm -r --filter '!backend' ts && pnpm --filter shared lens:check && pnpm lint:fix",
"comments:check": "node shared/scripts/check-comment-style.ts",
"comments:audit": "node shared/scripts/check-comment-style.ts --audit",
"comments:language": "node shared/scripts/check-comment-style.ts --concrete-language",
"comments:placement": "node shared/scripts/check-comment-style.ts --placement",
"vocabulary:check": "node shared/scripts/check-app-vocabulary.ts",
"docs:style": "node shared/scripts/check-doc-style.ts",
"docs:style:audit": "node shared/scripts/check-doc-style.ts --audit",
"frontend:style": "node shared/scripts/check-frontend-style.ts",
"style": "node shared/scripts/check-style.ts",
"prose:check": "pnpm docs:style && pnpm comments:language",
"prose:audit": "pnpm docs:style:audit && pnpm comments:audit",
"lint": "pnpm biome check . && pnpm style",
"lint:fix": "pnpm biome check --write --unsafe && pnpm style",
"ts": "pnpm -r ts",
"tsperf": "pnpm --filter backend tsperf && pnpm --filter frontend tsperf && pnpm --filter cdc-worker tsperf && pnpm --filter yjs-worker tsperf",
"build": "pnpm run clean && pnpm -r --parallel build",
"build:dev": "pnpm -r --parallel build:dev",
"build:staging": "pnpm -r --parallel build:staging",
"start": "pnpm -r --parallel start",
"test": "pnpm test:full",
"test:core": "pnpm docker:test && cross-env TEST_MODE=core vitest run --silent=passed-only",
"test:core:verbose": "pnpm docker:test && cross-env TEST_MODE=core vitest run",
"test:full": "pnpm docker:test && cross-env TEST_MODE=full COVERAGE_REPORTERS=summary vitest run --coverage.enabled --silent=passed-only",
"test:full:verbose": "pnpm docker:test && cross-env TEST_MODE=full vitest run",
"test:storybook": "pnpm --filter frontend exec vitest run --project=storybook",
"cella": "cella",
"offline": "cross-env pnpm -r --parallel --stream --filter backend --filter cdc-worker dev & pnpm --filter frontend offline",
"story": "pnpm --filter frontend storybook",
"bench": "pnpm -C bench bench",
"session": "bash session.sh"
},
"devDependencies": {
"@biomejs/biome": "^2.5.7",
"@cellajs/cli": "^0.1.0",
"@commitlint/cli": "^21.2.1",
"@commitlint/config-conventional": "^21.2.0",
"@evilmartians/lefthook": "^2.1.10",
"@typescript/native-preview": "7.0.0-dev.20260707.2",
"cross-env": "^10.1.0",
"knip": "^6.31.0",
"rimraf": "^6.1.3",
"semver": "^7.7.3",
"tsx": "^4.23.7",
"typescript": "^6.0.3",
"vitest": "^4.1.10"
},
"packageManager": "pnpm@11.8.0",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"feat",
"fix",
"perf",
"refactor",
"revert",
"docs",
"chore",
"build",
"ci",
"style",
"test"
]
],
"header-max-length": [
2,
"always",
120
],
"body-max-line-length": [
0,
"always",
200
],
"footer-max-line-length": [
0,
"always",
200
]
}
}
}