@shadr/iterm2-ts 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +144 -0
- package/dist/index.cjs +860 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +4418 -0
- package/dist/index.d.ts +4418 -0
- package/dist/index.js +852 -0
- package/dist/index.js.map +1 -0
- package/package.json +72 -0
package/package.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@shadr/iterm2-ts",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"access": "public"
|
|
5
|
+
},
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/shad/iterm2-ts"
|
|
9
|
+
},
|
|
10
|
+
"version": "0.1.0",
|
|
11
|
+
"description": "TypeScript client library for iTerm2's native WebSocket/Protobuf API",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"module": "./dist/index.mjs",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"import": {
|
|
19
|
+
"types": "./dist/index.d.mts",
|
|
20
|
+
"default": "./dist/index.mjs"
|
|
21
|
+
},
|
|
22
|
+
"require": {
|
|
23
|
+
"types": "./dist/index.d.cts",
|
|
24
|
+
"default": "./dist/index.cjs"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "tsup",
|
|
33
|
+
"test": "vitest run",
|
|
34
|
+
"test:watch": "vitest",
|
|
35
|
+
"test:coverage": "vitest run --coverage",
|
|
36
|
+
"proto:generate": "buf generate",
|
|
37
|
+
"prepublishOnly": "npm run build",
|
|
38
|
+
"typecheck": "tsc --noEmit",
|
|
39
|
+
"lint": "biome check src/",
|
|
40
|
+
"lint:fix": "biome check --fix src/",
|
|
41
|
+
"check": "npm run typecheck && npm run lint",
|
|
42
|
+
"check-all": "npm run typecheck && npm run lint && npm run test && npm run build",
|
|
43
|
+
"example": "tsx"
|
|
44
|
+
},
|
|
45
|
+
"keywords": [
|
|
46
|
+
"iterm2",
|
|
47
|
+
"iterm",
|
|
48
|
+
"terminal",
|
|
49
|
+
"macos",
|
|
50
|
+
"protobuf",
|
|
51
|
+
"websocket"
|
|
52
|
+
],
|
|
53
|
+
"license": "MIT",
|
|
54
|
+
"engines": {
|
|
55
|
+
"node": ">=18"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@bufbuild/protobuf": "^2.11.0",
|
|
59
|
+
"ws": "^8.18.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@biomejs/biome": "^2.3.15",
|
|
63
|
+
"@bufbuild/buf": "^1.65.0",
|
|
64
|
+
"@bufbuild/protoc-gen-es": "^2.11.0",
|
|
65
|
+
"@types/ws": "^8.5.13",
|
|
66
|
+
"@vitest/coverage-v8": "^3.0.0",
|
|
67
|
+
"tsup": "^8.3.0",
|
|
68
|
+
"tsx": "^4.21.0",
|
|
69
|
+
"typescript": "^5.7.0",
|
|
70
|
+
"vitest": "^3.0.0"
|
|
71
|
+
}
|
|
72
|
+
}
|