-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpackage.json
More file actions
172 lines (172 loc) · 10 KB
/
Copy pathpackage.json
File metadata and controls
172 lines (172 loc) · 10 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "freshell",
"private": true,
"version": "0.7.5",
"homepage": "https://freshell.net",
"type": "module",
"bin": {
"freshell": "dist/tools/freshell-cli/index.js"
},
"main": "dist/electron/electron/entry.js",
"engines": {
"node": ">=22.5.0"
},
"packageManager": "pnpm@10.34.5",
"scripts": {
"predev": "pnpm run prepare:rust-runtime && tsx scripts/run-with-default-port.ts tsx scripts/precheck.ts",
"dev": "tsx scripts/run-with-default-port.ts concurrently -n client,rust -c blue,green \"vite --config config/vite/vite.config.ts\" \"cargo run -p freshell-server --locked\"",
"dev:client": "vite --config config/vite/vite.config.ts",
"predev:server": "pnpm run prepare:rust-runtime",
"dev:server": "tsx scripts/run-with-default-port.ts cargo run -p freshell-server --locked",
"typecheck": "pnpm run typecheck:client && pnpm run typecheck:tools",
"typecheck:client": "tsc -p tsconfig.json --noEmit",
"typecheck:tools": "tsc -p tsconfig.tools.json --noEmit",
"prebuild": "tsx scripts/prebuild-guard.ts",
"postinstall": "node scripts/install-hooks.mjs",
"build": "pnpm run typecheck:client && pnpm run build:client && pnpm run build:tools && pnpm run build:rust",
"build:client": "vite build --config config/vite/vite.config.ts",
"build:rust": "cargo build --release -p freshell-server --locked",
"build:rust:debug": "cargo build -p freshell-server --locked",
"check:rust": "cargo check --workspace --locked",
"build:tools": "tsc -p tsconfig.tools.json",
"build:electron": "node -e \"const fs=require('fs');fs.rmSync('dist/electron',{recursive:true,force:true});fs.rmSync('node_modules/.cache/tsconfig.electron.tsbuildinfo',{force:true});fs.rmSync('node_modules/.cache/tsconfig.electron-preload.tsbuildinfo',{force:true})\" && tsc -p tsconfig.electron.json && tsc -p tsconfig.electron-preload.json",
"build:wizard": "vite build --config config/vite/vite.wizard.config.ts",
"build:launch-chooser": "vite build --config config/vite/vite.launch-chooser.config.ts",
"dev:wizard": "vite --config config/vite/vite.wizard.config.ts",
"dev:launch-chooser": "vite --config config/vite/vite.launch-chooser.config.ts",
"electron:dev": "pnpm run prepare:rust-runtime && tsx scripts/electron-dev-prerequisites.ts && pnpm run build:electron && cross-env ELECTRON_DEV=1 concurrently -n client,wizard,chooser,electron \"vite --config config/vite/vite.config.ts\" \"vite --config config/vite/vite.wizard.config.ts\" \"vite --config config/vite/vite.launch-chooser.config.ts\" \"electron .\"",
"electron:build": "pnpm run build && pnpm run build:electron && pnpm run build:wizard && pnpm run build:launch-chooser && pnpm run prepare:claude-sidecar && pnpm run prepare:electron-runtime && electron-builder --config config/electron-builder.yml && pnpm run verify:electron-artifact",
"electron:build:win": "tsx scripts/assert-native-windows-build.ts && pnpm run build && pnpm run build:electron && pnpm run build:wizard && pnpm run build:launch-chooser && pnpm run prepare:claude-sidecar && pnpm run prepare:electron-runtime && electron-builder --config config/electron-builder.yml --win nsis --publish never && pnpm run verify:electron-artifact",
"prepare:rust-runtime": "tsx scripts/prepare-rust-runtime.ts",
"prepare:claude-sidecar": "tsx scripts/ensure-claude-sidecar.ts",
"prepare:electron-runtime": "tsx scripts/prepare-electron-runtime.ts",
"verify:electron-artifact": "tsx scripts/verify-electron-artifact.ts",
"prestart": "pnpm run prepare:rust-runtime",
"start": "cross-env NODE_ENV=production tsx scripts/start-rust-server.ts target/release/freshell-server",
"serve:precheck": "cross-env FRESHELL_PRECHECK_INTENT=serve tsx scripts/precheck.ts",
"serve": "pnpm run serve:precheck && pnpm run build && pnpm run start",
"test": "tsx scripts/testing/test-coordinator.ts run test",
"test:balanced": "tsx scripts/run-standard-tests.ts",
"test:sequential": "pnpm run test:vitest run --config config/vitest/vitest.config.ts && pnpm run test:source-runtime && pnpm run test:rust && pnpm run test:electron",
"test:aggressive": "tsx scripts/run-standard-tests.ts --mode aggressive",
"test:client:standard": "vitest run --config config/vitest/vitest.config.ts --maxWorkers 25%",
"test:source-runtime": "tsx scripts/testing/run-source-runtime-tests.ts",
"test:rust": "tsx scripts/testing/run-rust-tests.ts",
"test:client:aggressive": "vitest run --config config/vitest/vitest.config.ts --maxWorkers 50%",
"test:electron": "vitest run --config config/vitest/vitest.electron.config.ts",
"test:electron:runtime": "vitest run --config config/vitest/vitest.electron-runtime.config.ts",
"verify": "tsx scripts/testing/test-coordinator.ts run verify",
"check": "tsx scripts/testing/test-coordinator.ts run check",
"test:watch": "tsx scripts/testing/test-coordinator.ts run test:watch",
"test:ui": "tsx scripts/testing/test-coordinator.ts run test:ui",
"test:server": "tsx scripts/testing/test-coordinator.ts run test:server",
"test:coverage": "tsx scripts/testing/test-coordinator.ts run test:coverage",
"test:unit": "tsx scripts/testing/test-coordinator.ts run test:unit",
"test:integration": "tsx scripts/testing/test-coordinator.ts run test:integration",
"test:client": "tsx scripts/testing/test-coordinator.ts run test:client",
"test:visible-first:contract": "vitest run --config config/vitest/vitest.config.ts test/unit/visible-first/acceptance-contract.test.ts test/unit/lib/visible-first-acceptance-report.test.ts",
"test:all": "tsx scripts/testing/test-coordinator.ts run test:all",
"test:status": "tsx scripts/testing/test-coordinator.ts status",
"test:vitest": "tsx scripts/testing/test-coordinator.ts run test:vitest",
"smoke:browser-use": "python3 test/browser_use/smoke_freshell.py",
"smoke:continuity": "cross-env FRESHELL_SMOKE=1 playwright test --config test/e2e-browser/playwright.config.ts --project=continuity-smoke",
"prepare:icons": "node assets/icons/prepare-icons.mjs",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
"test:e2e": "bash scripts/e2e-cloud.sh run",
"test:e2e:local": "bash scripts/e2e-cloud.sh run --local",
"test:e2e:cloud": "bash scripts/e2e-cloud.sh run --cloud",
"test:e2e:cloud:build": "bash scripts/e2e-cloud.sh build",
"test:cloud": "bash scripts/vitest-cloud.sh run --cloud",
"test:cloud:build": "bash scripts/vitest-cloud.sh build",
"test:e2e:chromium": "playwright test --config test/e2e-browser/playwright.config.ts --project=chromium",
"test:e2e:headed": "playwright test --config test/e2e-browser/playwright.config.ts --headed",
"test:e2e:update-snapshots": "playwright test --config test/e2e-browser/playwright.config.ts --update-snapshots",
"test:e2e:debug": "playwright test --config test/e2e-browser/playwright.config.ts --debug",
"test:e2e:helpers": "vitest run --config test/e2e-browser/vitest.config.ts",
"test:e2e:a11y-gate": "tsx test/e2e-browser/helpers/a11y-selector-gate-cli.ts",
"test:e2e:a11y-gate:deny": "tsx test/e2e-browser/helpers/a11y-selector-gate-cli.ts --deny",
"test:e2e:electron": "tsx scripts/run-electron-e2e.ts",
"perf:audit:visible-first": "PORT=3311 pnpm run build && tsx scripts/visible-first-audit.ts",
"visible-first:contract:check": "tsx scripts/assert-visible-first-acceptance.ts",
"perf:audit:compare": "tsx scripts/compare-visible-first-audit.ts",
"perf:audit:gate": "tsx scripts/assert-visible-first-audit-gate.ts",
"contract:generate": "tsx port/contract/generate-ws-contract.ts",
"test:port": "vitest run --config config/vitest/vitest.port.config.ts",
"test:oracle": "vitest run --config config/vitest/vitest.oracle.config.ts",
"test:sandbox": "bash scripts/sandbox-test.sh"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@elgato-stream-deck/webhid": "^7.6.3",
"@fontsource/inter": "^5.3.0",
"@modelcontextprotocol/sdk": "^1.27.1",
"@monaco-editor/react": "^4.6.0",
"@reduxjs/toolkit": "^2.3.0",
"@use-gesture/react": "^10.3.1",
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-search": "^0.16.0",
"@xterm/addon-webgl": "^0.19.0",
"@xterm/xterm": "6.0.0",
"diff": "^8.0.3",
"html2canvas": "^1.4.1",
"lean-qr": "^2.7.1",
"lucide-react": "^0.469.0",
"monaco-editor": "^0.52.0",
"nanoid": "^5.0.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"react-redux": "^9.1.2",
"react-syntax-highlighter": "^16.1.1",
"react-window": "^2.2.6",
"remark-gfm": "^4.0.0",
"ws": "^8.18.0",
"zod": "^4.0.0",
"immer": "11.1.4"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@playwright/test": "^1.52.0",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/typography": "^0.5.19",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^22.10.2",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/react-window": "^1.8.8",
"@types/w3c-web-hid": "^1.0.7",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vitejs/plugin-react": "^4.7.0",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
"electron": "^33.0.0",
"electron-builder": "^25.1.0",
"electron-updater": "^6.3.0",
"eslint": "^9.39.2",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.1.0",
"extract-zip": "^2.0.1",
"globals": "^17.3.0",
"jsdom": "^25.0.1",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"tar": "^6.2.1",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vite": "^6.4.1",
"vitest": "^3.2.4",
"yaml": "^2.9.0",
"ajv": "6.14.0",
"zod-to-json-schema": "3.25.1"
}
}