Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 2.25 KB
/
Copy pathpackage.json
File metadata and controls
46 lines (46 loc) · 2.25 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
{
"name": "mosoo",
"private": true,
"workspaces": [
"apps/*",
"pkgs/*",
"e2e"
],
"type": "module",
"scripts": {
"build": "vp run --filter @mosoo/agent-driver build && vp run --filter @mosoo/web build",
"cf:types": "vp run --filter @mosoo/api cf:types",
"check": "vp run -w fmt:check && vp run -w docs:check && vp run -w lint && vp run -w tc && vp run -w test && vp run -w public-api:contract:check",
"deploy": "vp run -w deploy:api && vp run -w deploy:web",
"deploy:api": "vp run --filter @mosoo/api deploy",
"deploy:web": "vp run --filter @mosoo/web deploy",
"dev": "vp run --filter @mosoo/api --filter @mosoo/web --parallel dev",
"docs:check": "vp exec bun scripts/check-doc-links.ts",
"fmt": "vp fmt --write config scripts vite.config.ts justfile apps/api apps/web pkgs e2e --ignore-path .gitignore",
"fmt:check": "vp fmt --check config scripts vite.config.ts justfile apps/api apps/web pkgs e2e --ignore-path .gitignore",
"graphql:codegen": "vp exec tsx node_modules/.bin/graphql-codegen --config config/graphql-codegen.ts",
"graphql:codegen:check": "vp exec tsx scripts/check-graphql-codegen.ts",
"knip": "vp exec knip --config config/knip.jsonc",
"lint": "vp run -w cf:types && vp lint vite.config.ts config scripts apps/api apps/web pkgs e2e",
"public-api:breaking:check": "vp exec bun scripts/check-public-api-breaking-changes.ts",
"public-api:contract:check": "vp run -w public-api:openapi:check && vp run -w public-api:breaking:check",
"public-api:openapi:check": "vp exec bun scripts/public-api-openapi-artifact.ts --check",
"public-api:openapi:generate": "vp exec bun scripts/public-api-openapi-artifact.ts --write",
"tc": "vp run --filter @mosoo/agent-driver build:types && vp run -r tc",
"test": "vp exec bun test ./config ./scripts && vp run --filter '!mosoo' test && vp run -w graphql:codegen:check"
},
"devDependencies": {
"@graphql-codegen/cli": "^7.2.0",
"@graphql-codegen/client-preset": "^6.1.3",
"@graphql-codegen/schema-ast": "^6.1.0",
"@j178/prek": "^0.4.13",
"graphql": "^17.0.2",
"knip": "^6.32.2",
"tsx": "^4.23.12",
"vite-plus": "^0.1.24"
},
"engines": {
"bun": ">=1.4.0-canary.1"
},
"packageManager": "bun@1.4.0-canary.1"
}