-
Notifications
You must be signed in to change notification settings - Fork 928
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.05 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.05 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
{
"name": "@github/copilot-sdk",
"repository": {
"type": "git",
"url": "https://github.com/github/copilot-sdk.git"
},
"version": "0.1.8",
"description": "TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"type": "module",
"scripts": {
"clean": "rimraf --glob dist *.tgz",
"build": "tsx esbuild-copilotsdk-nodejs.ts",
"test": "vitest run",
"test:watch": "vitest",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" --ignore-path .prettierignore",
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" --ignore-path .prettierignore",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
"lint:fix": "eslint --fix \"src/**/*.ts\" \"test/**/*.ts\"",
"typecheck": "tsc --noEmit",
"generate": "cd ../scripts/codegen && npm run generate",
"update:protocol-version": "tsx scripts/update-protocol-version.ts",
"prepublishOnly": "npm run build",
"package": "npm run clean && npm run build && node scripts/set-version.js && npm pack && npm version 0.1.0 --no-git-tag-version --allow-same-version"
},
"keywords": [
"github",
"copilot",
"sdk",
"jsonrpc",
"agent"
],
"author": "GitHub",
"license": "MIT",
"dependencies": {
"@github/copilot": "^0.0.421",
"vscode-jsonrpc": "^8.2.1",
"zod": "^4.3.6"
},
"devDependencies": {
"@types/node": "^25.2.0",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"esbuild": "^0.27.2",
"eslint": "^9.0.0",
"glob": "^13.0.1",
"json-schema": "^0.4.0",
"json-schema-to-typescript": "^15.0.4",
"prettier": "^3.8.1",
"quicktype-core": "^23.2.6",
"rimraf": "^6.1.2",
"semver": "^7.7.3",
"tsx": "^4.20.6",
"typescript": "^5.0.0",
"vitest": "^4.0.18"
},
"engines": {
"node": ">=20.0.0"
},
"files": [
"dist/**/*",
"README.md"
]
}