electerm 1.18.8 → 1.20.4

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/README.md CHANGED
@@ -28,6 +28,7 @@ Terminal/ssh/sftp client(linux, mac, win) based on electron/ssh2/node-pty/xterm/
28
28
  - Edit (small) local files with built-in editor.
29
29
  - Auth with publicKey + password.
30
30
  - Zmodem(rz, sz).
31
+ - [Trzsz](https://github.com/trzsz/trzsz)(trz/tsz), similar to rz/sz, and compatible with tmux.
31
32
  - Transparent window(Mac, win).
32
33
  - Terminal background image.
33
34
  - Global/session proxy.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "electerm",
3
- "version": "1.18.8",
3
+ "version": "1.20.4",
4
4
  "description": "Terminal/ssh/sftp client(linux, mac, win) based on electron/ssh2/node-pty/xterm/antd/subx and other libs",
5
5
  "main": "app.js",
6
6
  "bin": "npm/electerm",
7
7
  "scripts": {
8
8
  "postinstall": "node npm/install.js",
9
- "postpublish": "node npm/postpublish.js"
9
+ "postpublish": "node bin/postpublish.js"
10
10
  },
11
11
  "license": "MIT",
12
12
  "langugeRepo": "https://github.com/electerm/electerm-locales",
@@ -34,6 +34,11 @@
34
34
  "phin": "*",
35
35
  "download": "*"
36
36
  },
37
+ "files": [
38
+ "npm",
39
+ "README.md",
40
+ "LICENSE"
41
+ ],
37
42
  "standard": {
38
43
  "parser": "babel-eslint",
39
44
  "ignore": [
@@ -1,8 +0,0 @@
1
-
2
- const { resolve } = require('path')
3
- const { cp, rm } = require('shelljs')
4
-
5
- const from = resolve(__dirname, '../package.json')
6
- const to = resolve(__dirname, '../package-bak.json')
7
- cp(to, from)
8
- rm(to)
package/npm/prepublish.js DELETED
@@ -1,24 +0,0 @@
1
- const savedPackage = [
2
- 'shelljs',
3
- 'phin',
4
- 'download'
5
- ]
6
- const pack = require('../package.json')
7
- const fs = require('fs')
8
- const { resolve } = require('path')
9
- const { cp, rm } = require('shelljs')
10
-
11
- delete pack.devDependencies
12
- pack.dependencies = savedPackage.reduce((prev, p) => {
13
- prev[p] = '*'
14
- return prev
15
- }, {})
16
- pack.scripts = {
17
- postinstall: 'node npm/install.js',
18
- postpublish: 'node npm/postpublish.js'
19
- }
20
- const from = resolve(__dirname, '../package.json')
21
- const to = resolve(__dirname, '../package-bak.json')
22
- cp(from, to)
23
- rm(from)
24
- fs.writeFileSync(from, JSON.stringify(pack, null, 2))