File size: 1,838 Bytes
d0f5399
 
 
 
6c72139
d0f5399
 
 
 
 
 
 
 
 
 
 
79a5a39
d0f5399
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "name": "phantom-monorepo",
  "version": "1.0.0",
  "private": true,
  "license": "Apache-2.0",
  "type": "module",
  "workspaces": [
    "web/backend",
    "web/frontend",
    "web/shared",
    "mobile",
    "packages/*"
  ],
  "scripts": {
    "ui": "cd web/frontend && npm run dev",
    "api": "cd web/backend && npm run dev",
    "cli": "node packages/extractors/dist/cli.js",
    "install:web": "bash scripts/setup/install-web.sh",
    "build:ui": "cd web/frontend && npm install && npm run build",
    "build:api": "cd web/backend && npm install && npm run build",
    "lint": "echo 'linting changed (backend)...' && (cd web/backend && npm run lint) && echo 'linting changed (frontend)...' && (cd web/frontend && npm run lint) && echo 'linting mobile...' && (cd mobile && npm run lint) && echo '✅ lint passed (changed files)'",
    "lint:all": "echo 'linting backend...' && (cd web/backend && npm run lint:all) && echo 'linting frontend...' && (cd web/frontend && npm run lint:all) && echo 'linting mobile...' && (cd mobile && npm run lint:all) && echo '✅ lint passed (all files)'",
    "format:all": "prettier --write .",
    "format": "pretty-quick",
    "typecheck": "echo 'checking backend types...' && (cd web/backend && npx -y tsc --noEmit) && echo 'checking frontend types...' && (cd web/frontend && npx -y tsc --noEmit) && echo '✅ types passed'",
    "check": "npm run typecheck && npm run lint && echo '✅ all passed (changed lint)'",
    "check:all": "npm run typecheck && npm run lint:all && echo '✅ all passed (full lint)'",
    "prepare": "husky || true"
  },
  "devDependencies": {
    "husky": "^9.1.7",
    "lint-staged": "^17.0.5",
    "prettier": "^3.8.3",
    "pretty-quick": "^4.2.2"
  },
  "overrides": {
    "libsql": "npm:empty-npm-package@1.0.0",
    "@libsql/android-arm64": "npm:null@*"
  }
}