Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.49 KB
/
Copy pathpackage.json
File metadata and controls
45 lines (45 loc) · 1.49 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
{
"name": "cloudssh",
"version": "2.3.1",
"packageManager": "pnpm@11.8.0",
"description": "纯 Cloudflare 架构 Web SSH 工具",
"main": "src/worker/index.ts",
"scripts": {
"dev": "node scripts/build-html.js && wrangler dev",
"deploy": "node scripts/build-html.js && wrangler deploy",
"deploy:test": "node scripts/build-html.js && wrangler deploy --env test",
"sync:theme-editor": "node scripts/sync-theme-editor.js",
"build:frontend": "node scripts/build-html.js",
"typecheck": "pnpm run typecheck:worker && pnpm run typecheck:frontend",
"typecheck:worker": "tsc --noEmit && tsc -p tests/tsconfig.worker.json --noEmit && tsc -p tests/tsconfig.frontend.json --noEmit",
"typecheck:frontend": "pnpm --dir frontend exec tsc --noEmit",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch",
"test:e2e": "playwright test",
"verify": "pnpm run typecheck && pnpm test && pnpm run build:frontend && pnpm run test:e2e"
},
"knip": {
"ignoreDependencies": [
"cloudflare",
"cloudflare:sockets"
]
},
"keywords": [
"ssh",
"cloudflare",
"web-terminal"
],
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"@axe-core/playwright": "4.12.1",
"@cloudflare/workers-types": "^4.20260630.1",
"@playwright/test": "1.62.0",
"@types/node": "^26.2.0",
"@vitest/coverage-v8": "4.1.10",
"typescript": "^5.7.0",
"vitest": "4.1.10",
"wrangler": "^4.125.0"
}
}