x-shell.js 0.1.0 → 0.1.1
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 +304 -304
- package/dist/client/browser-bundle.js.map +1 -1
- package/dist/ui/browser-bundle.js.map +1 -1
- package/dist/ui/styles.js +108 -108
- package/dist/ui/x-shell-terminal.js +126 -126
- package/package.json +94 -94
package/package.json
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "x-shell.js",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "WebSocket-based terminal for Node.js - the truth is in your shell",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/server/index.js",
|
|
7
|
-
"types": "dist/server/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/server/index.d.ts",
|
|
11
|
-
"import": "./dist/server/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./server": {
|
|
14
|
-
"types": "./dist/server/index.d.ts",
|
|
15
|
-
"import": "./dist/server/index.js"
|
|
16
|
-
},
|
|
17
|
-
"./client": {
|
|
18
|
-
"types": "./dist/client/index.d.ts",
|
|
19
|
-
"import": "./dist/client/index.js"
|
|
20
|
-
},
|
|
21
|
-
"./client/browser": {
|
|
22
|
-
"types": "./dist/client/index.d.ts",
|
|
23
|
-
"import": "./dist/client/browser-bundle.js"
|
|
24
|
-
},
|
|
25
|
-
"./ui": {
|
|
26
|
-
"types": "./dist/ui/index.d.ts",
|
|
27
|
-
"import": "./dist/ui/index.js"
|
|
28
|
-
},
|
|
29
|
-
"./ui/browser": {
|
|
30
|
-
"types": "./dist/ui/index.d.ts",
|
|
31
|
-
"import": "./dist/ui/browser-bundle.js"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"files": [
|
|
35
|
-
"dist",
|
|
36
|
-
"README.md",
|
|
37
|
-
"LICENSE"
|
|
38
|
-
],
|
|
39
|
-
"scripts": {
|
|
40
|
-
"build": "tsc && npm run build:browser",
|
|
41
|
-
"build:browser": "node scripts/build-browser.js",
|
|
42
|
-
"watch": "tsc --watch",
|
|
43
|
-
"clean": "rm -rf dist",
|
|
44
|
-
"prepublishOnly": "npm run clean && npm run build",
|
|
45
|
-
"test": "echo \"Tests coming soon\" && exit 0"
|
|
46
|
-
},
|
|
47
|
-
"keywords": [
|
|
48
|
-
"terminal",
|
|
49
|
-
"websocket",
|
|
50
|
-
"pty",
|
|
51
|
-
"xterm",
|
|
52
|
-
"shell",
|
|
53
|
-
"web-terminal",
|
|
54
|
-
"node-pty",
|
|
55
|
-
"lit",
|
|
56
|
-
"web-components",
|
|
57
|
-
"custom-elements"
|
|
58
|
-
],
|
|
59
|
-
"author": "",
|
|
60
|
-
"license": "MIT",
|
|
61
|
-
"repository": {
|
|
62
|
-
"type": "git",
|
|
63
|
-
"url": "git+https://github.com/
|
|
64
|
-
},
|
|
65
|
-
"bugs": {
|
|
66
|
-
"url": "https://github.com/
|
|
67
|
-
},
|
|
68
|
-
"homepage": "https://github.com/
|
|
69
|
-
"engines": {
|
|
70
|
-
"node": ">=18.0.0"
|
|
71
|
-
},
|
|
72
|
-
"dependencies": {
|
|
73
|
-
"lit": "^3.3.2",
|
|
74
|
-
"ws": "^8.14.0"
|
|
75
|
-
},
|
|
76
|
-
"devDependencies": {
|
|
77
|
-
"@types/node": "^20.10.0",
|
|
78
|
-
"@types/ws": "^8.5.10",
|
|
79
|
-
"esbuild": "^0.19.0",
|
|
80
|
-
"typescript": "^5.3.0"
|
|
81
|
-
},
|
|
82
|
-
"peerDependencies": {
|
|
83
|
-
"express": "^4.18.0 || ^5.0.0",
|
|
84
|
-
"node-pty": "^1.0.0"
|
|
85
|
-
},
|
|
86
|
-
"peerDependenciesMeta": {
|
|
87
|
-
"express": {
|
|
88
|
-
"optional": true
|
|
89
|
-
},
|
|
90
|
-
"node-pty": {
|
|
91
|
-
"optional": true
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "x-shell.js",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "WebSocket-based terminal for Node.js - the truth is in your shell",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/server/index.js",
|
|
7
|
+
"types": "dist/server/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/server/index.d.ts",
|
|
11
|
+
"import": "./dist/server/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./server": {
|
|
14
|
+
"types": "./dist/server/index.d.ts",
|
|
15
|
+
"import": "./dist/server/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./client": {
|
|
18
|
+
"types": "./dist/client/index.d.ts",
|
|
19
|
+
"import": "./dist/client/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./client/browser": {
|
|
22
|
+
"types": "./dist/client/index.d.ts",
|
|
23
|
+
"import": "./dist/client/browser-bundle.js"
|
|
24
|
+
},
|
|
25
|
+
"./ui": {
|
|
26
|
+
"types": "./dist/ui/index.d.ts",
|
|
27
|
+
"import": "./dist/ui/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./ui/browser": {
|
|
30
|
+
"types": "./dist/ui/index.d.ts",
|
|
31
|
+
"import": "./dist/ui/browser-bundle.js"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist",
|
|
36
|
+
"README.md",
|
|
37
|
+
"LICENSE"
|
|
38
|
+
],
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "tsc && npm run build:browser",
|
|
41
|
+
"build:browser": "node scripts/build-browser.js",
|
|
42
|
+
"watch": "tsc --watch",
|
|
43
|
+
"clean": "rm -rf dist",
|
|
44
|
+
"prepublishOnly": "npm run clean && npm run build",
|
|
45
|
+
"test": "echo \"Tests coming soon\" && exit 0"
|
|
46
|
+
},
|
|
47
|
+
"keywords": [
|
|
48
|
+
"terminal",
|
|
49
|
+
"websocket",
|
|
50
|
+
"pty",
|
|
51
|
+
"xterm",
|
|
52
|
+
"shell",
|
|
53
|
+
"web-terminal",
|
|
54
|
+
"node-pty",
|
|
55
|
+
"lit",
|
|
56
|
+
"web-components",
|
|
57
|
+
"custom-elements"
|
|
58
|
+
],
|
|
59
|
+
"author": "",
|
|
60
|
+
"license": "MIT",
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "git+https://github.com/lsadehaan/x-shell.git"
|
|
64
|
+
},
|
|
65
|
+
"bugs": {
|
|
66
|
+
"url": "https://github.com/lsadehaan/x-shell/issues"
|
|
67
|
+
},
|
|
68
|
+
"homepage": "https://github.com/lsadehaan/x-shell#readme",
|
|
69
|
+
"engines": {
|
|
70
|
+
"node": ">=18.0.0"
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"lit": "^3.3.2",
|
|
74
|
+
"ws": "^8.14.0"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@types/node": "^20.10.0",
|
|
78
|
+
"@types/ws": "^8.5.10",
|
|
79
|
+
"esbuild": "^0.19.0",
|
|
80
|
+
"typescript": "^5.3.0"
|
|
81
|
+
},
|
|
82
|
+
"peerDependencies": {
|
|
83
|
+
"express": "^4.18.0 || ^5.0.0",
|
|
84
|
+
"node-pty": "^1.0.0"
|
|
85
|
+
},
|
|
86
|
+
"peerDependenciesMeta": {
|
|
87
|
+
"express": {
|
|
88
|
+
"optional": true
|
|
89
|
+
},
|
|
90
|
+
"node-pty": {
|
|
91
|
+
"optional": true
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|