electerm 1.19.5 → 1.20.10
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 +2 -0
- package/package.json +7 -2
- package/npm/postpublish.js +0 -8
- package/npm/prepublish.js +0 -24
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
[](https://github.com/electerm/electerm/blob/master/LICENSE)
|
|
12
12
|
[](https://standardjs.com)
|
|
13
13
|
[](https://snapcraft.io/electerm)
|
|
14
|
+
[](https://www.microsoft.com/store/apps/9NCN7272GTFF)
|
|
15
|
+
|
|
14
16
|
|
|
15
17
|
Terminal/ssh/sftp client(linux, mac, win) based on electron/ssh2/node-pty/xterm/antd/[subx](https://github.com/tylerlong/subx) and other libs.
|
|
16
18
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "electerm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.10",
|
|
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
|
|
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": [
|
package/npm/postpublish.js
DELETED
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))
|