-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.13 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.13 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
{
"name": "sustech-cli",
"version": "0.12.1",
"description": "Human-friendly and agent-ready command-line access to SUSTech services.",
"license": "PolyForm-Noncommercial-1.0.0",
"type": "module",
"bin": {
"sustech": "dist/cli.js",
"sustech-mcp": "dist/mcp/server.js"
},
"files": [
"dist/cli.d.ts",
"dist/cli.js",
"dist/cli.js.map",
"dist/cli-confirmations.d.ts",
"dist/cli-confirmations.js",
"dist/cli-confirmations.js.map",
"dist/academic",
"dist/calendar",
"dist/context",
"dist/core",
"dist/doctor",
"dist/faculty",
"dist/mcp",
"dist/online",
"dist/profile",
"dist/resources",
"dist/services",
"dist/sso",
"dist/tis",
"dist/talks",
"dist/transit",
"dist/wifi",
"docs",
"skills",
"CHANGELOG.md",
"README.md",
"LICENSE",
"NOTICE.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wormforce/sustech-cli.git"
},
"bugs": {
"url": "https://github.com/wormforce/sustech-cli/issues"
},
"homepage": "https://github.com/wormforce/sustech-cli#readme",
"keywords": [
"sustech",
"cli",
"agent",
"mcp",
"sustech-online",
"tis",
"course-selection"
],
"engines": {
"node": ">=20.18.0"
},
"scripts": {
"build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc --project tsconfig.json",
"postbuild": "node -e \"const fs=require('node:fs'); for (const file of ['dist/cli.js','dist/mcp/server.js']) fs.chmodSync(file, 0o755)\"",
"check": "tsc --noEmit --project tsconfig.json",
"prepare": "npm run build",
"start": "node dist/cli.js",
"test": "npm run build && node scripts/run-tests.mjs",
"prepack": "npm run check && npm test"
},
"packageManager": "npm@10.9.3",
"devDependencies": {
"@modelcontextprotocol/client": "^2.0.0",
"@types/node": "^22.15.30",
"typescript": "^5.8.3"
},
"dependencies": {
"@modelcontextprotocol/server": "^2.0.0",
"@napi-rs/keyring": "1.3.0",
"cheerio": "1.0.0",
"playwright-core": "^1.62.1",
"string-width": "^7.2.0",
"zod": "^4.5.2"
}
}