diff --git a/README.md b/README.md index c79fb20..e0df817 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,11 @@ or npm run package-x86 ``` +for linux: +``` +npm run package-l64 +``` + for osx package(must under osx): ``` npm run package-osx @@ -60,6 +65,6 @@ npm run package-osx # License -Copyright (c) 2017-present i38.me +Copyright (c) 2017-present x1y9 [MIT License](http://en.wikipedia.org/wiki/MIT_License) \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index aaf765d..b282ad3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "justmd", - "version": "1.1.2", + "version": "1.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -110,7 +110,8 @@ "version": "7.10.14", "resolved": "https://registry.npm.taobao.org/@types/node/download/@types/node-7.10.14.tgz", "integrity": "sha1-BvpzGbgTG5aajaShTEh+byirrPc=", - "dev": true + "dev": true, + "optional": true }, "@types/yauzl": { "version": "2.9.1", @@ -124,7 +125,7 @@ }, "ajv": { "version": "6.12.6", - "resolved": "https://registry.npm.taobao.org/ajv/download/ajv-6.12.6.tgz", + "resolved": "https://registry.nlark.com/ajv/download/ajv-6.12.6.tgz", "integrity": "sha1-uvWmLoArB9l3A0WG+MO69a3ybfQ=", "dev": true, "requires": { @@ -561,31 +562,62 @@ } }, "electron": { - "version": "1.7.8", - "resolved": "https://registry.nlark.com/electron/download/electron-1.7.8.tgz", - "integrity": "sha1-J7eRpolRcafVKZG5lELNvRCjU50=", + "version": "4.2.12", + "resolved": "https://registry.nlark.com/electron/download/electron-4.2.12.tgz", + "integrity": "sha1-jokmpqZlTN5esGEpUv7ZilaUGHU=", "dev": true, "requires": { - "@types/node": "^7.0.18", - "electron-download": "^3.0.1", + "@types/node": "^10.12.18", + "electron-download": "^4.1.0", "extract-zip": "^1.0.3" + }, + "dependencies": { + "@types/node": { + "version": "10.17.60", + "resolved": "https://registry.nlark.com/@types/node/download/@types/node-10.17.60.tgz", + "integrity": "sha1-NfPWIT2u2V2n8Pc+dbzGmA6QWXs=", + "dev": true + } } }, "electron-download": { - "version": "3.3.0", - "resolved": "https://registry.nlark.com/electron-download/download/electron-download-3.3.0.tgz", - "integrity": "sha1-LP1U1pZsAZxNSa1l++Zcyc3vaMg=", + "version": "4.1.1", + "resolved": "https://registry.nlark.com/electron-download/download/electron-download-4.1.1.tgz", + "integrity": "sha1-AuaVVnBcxFblIPngNVVu1aAV6+g=", "dev": true, "requires": { - "debug": "^2.2.0", - "fs-extra": "^0.30.0", - "home-path": "^1.0.1", + "debug": "^3.0.0", + "env-paths": "^1.0.0", + "fs-extra": "^4.0.1", "minimist": "^1.2.0", - "nugget": "^2.0.0", - "path-exists": "^2.1.0", - "rc": "^1.1.2", - "semver": "^5.3.0", - "sumchecker": "^1.2.0" + "nugget": "^2.0.1", + "path-exists": "^3.0.0", + "rc": "^1.2.1", + "semver": "^5.4.1", + "sumchecker": "^2.0.2" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npm.taobao.org/debug/download/debug-3.2.7.tgz?cache=0&sync_timestamp=1614330710870&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdebug%2Fdownload%2Fdebug-3.2.7.tgz", + "integrity": "sha1-clgLfpFF+zm2Z2+cXl+xALk0F5o=", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "env-paths": { + "version": "1.0.0", + "resolved": "https://registry.nlark.com/env-paths/download/env-paths-1.0.0.tgz", + "integrity": "sha1-QWgTO0K7BcOKNbGuQ5fIKYqzaeA=", + "dev": true + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npm.taobao.org/ms/download/ms-2.1.3.tgz?cache=0&sync_timestamp=1607433899126&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.1.3.tgz", + "integrity": "sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=", + "dev": true + } } }, "electron-notarize": { @@ -795,12 +827,6 @@ "dev": true, "optional": true }, - "es6-promise": { - "version": "4.2.8", - "resolved": "https://registry.npm.taobao.org/es6-promise/download/es6-promise-4.2.8.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fes6-promise%2Fdownload%2Fes6-promise-4.2.8.tgz", - "integrity": "sha1-TrIVlMlyvEBVPSduUQU5FD21Pgo=", - "dev": true - }, "escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.nlark.com/escape-string-regexp/download/escape-string-regexp-4.0.0.tgz", @@ -878,6 +904,17 @@ "requires": { "path-exists": "^2.0.0", "pinkie-promise": "^2.0.0" + }, + "dependencies": { + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npm.taobao.org/path-exists/download/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "^2.0.0" + } + } } }, "flora-colossus": { @@ -945,16 +982,14 @@ } }, "fs-extra": { - "version": "0.30.0", - "resolved": "https://registry.npm.taobao.org/fs-extra/download/fs-extra-0.30.0.tgz?cache=0&sync_timestamp=1611075481805&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffs-extra%2Fdownload%2Ffs-extra-0.30.0.tgz", - "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", + "version": "4.0.3", + "resolved": "https://registry.nlark.com/fs-extra/download/fs-extra-4.0.3.tgz", + "integrity": "sha1-DYUhIuW8W+tFP7Ao6cDJvzY0DJQ=", "dev": true, "requires": { "graceful-fs": "^4.1.2", - "jsonfile": "^2.1.0", - "klaw": "^1.0.0", - "path-is-absolute": "^1.0.0", - "rimraf": "^2.2.8" + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" } }, "fs.realpath": { @@ -1227,12 +1262,6 @@ "function-bind": "^1.1.1" } }, - "home-path": { - "version": "1.0.7", - "resolved": "https://registry.npm.taobao.org/home-path/download/home-path-1.0.7.tgz", - "integrity": "sha1-z3fXM5/z3cM0eiPFJhKx9eflYxM=", - "dev": true - }, "hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.nlark.com/hosted-git-info/download/hosted-git-info-2.8.9.tgz", @@ -1381,9 +1410,9 @@ "dev": true }, "jsonfile": { - "version": "2.4.0", - "resolved": "https://registry.npm.taobao.org/jsonfile/download/jsonfile-2.4.0.tgz?cache=0&sync_timestamp=1604161876665&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjsonfile%2Fdownload%2Fjsonfile-2.4.0.tgz", - "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "version": "4.0.0", + "resolved": "https://registry.npm.taobao.org/jsonfile/download/jsonfile-4.0.0.tgz?cache=0&sync_timestamp=1604161876665&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjsonfile%2Fdownload%2Fjsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", "dev": true, "requires": { "graceful-fs": "^4.1.6" @@ -1416,15 +1445,6 @@ "json-buffer": "3.0.0" } }, - "klaw": { - "version": "1.3.1", - "resolved": "https://registry.npm.taobao.org/klaw/download/klaw-1.3.1.tgz", - "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.9" - } - }, "load-json-file": { "version": "1.1.0", "resolved": "https://registry.npm.taobao.org/load-json-file/download/load-json-file-1.1.0.tgz", @@ -1512,7 +1532,7 @@ }, "meow": { "version": "3.7.0", - "resolved": "https://registry.npm.taobao.org/meow/download/meow-3.7.0.tgz", + "resolved": "https://registry.nlark.com/meow/download/meow-3.7.0.tgz", "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", "dev": true, "requires": { @@ -1714,13 +1734,10 @@ } }, "path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npm.taobao.org/path-exists/download/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "dev": true, - "requires": { - "pinkie-promise": "^2.0.0" - } + "version": "3.0.0", + "resolved": "https://registry.npm.taobao.org/path-exists/download/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true }, "path-is-absolute": { "version": "1.0.1", @@ -1915,7 +1932,7 @@ }, "redent": { "version": "1.0.0", - "resolved": "https://registry.npm.taobao.org/redent/download/redent-1.0.0.tgz", + "resolved": "https://registry.nlark.com/redent/download/redent-1.0.0.tgz?cache=0&sync_timestamp=1620069702182&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fredent%2Fdownload%2Fredent-1.0.0.tgz", "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", "dev": true, "requires": { @@ -1925,7 +1942,7 @@ }, "repeating": { "version": "2.0.1", - "resolved": "https://registry.npm.taobao.org/repeating/download/repeating-2.0.1.tgz", + "resolved": "https://registry.nlark.com/repeating/download/repeating-2.0.1.tgz", "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", "dev": true, "requires": { @@ -1979,15 +1996,6 @@ "lowercase-keys": "^1.0.0" } }, - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npm.taobao.org/rimraf/download/rimraf-2.7.1.tgz?cache=0&sync_timestamp=1581257110269&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frimraf%2Fdownload%2Frimraf-2.7.1.tgz", - "integrity": "sha1-NXl/E6f9rcVmFCwp1PB8ytSD4+w=", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, "roarr": { "version": "2.15.4", "resolved": "https://registry.npm.taobao.org/roarr/download/roarr-2.15.4.tgz", @@ -2152,7 +2160,7 @@ }, "strip-indent": { "version": "1.0.1", - "resolved": "https://registry.npm.taobao.org/strip-indent/download/strip-indent-1.0.1.tgz", + "resolved": "https://registry.nlark.com/strip-indent/download/strip-indent-1.0.1.tgz", "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", "dev": true, "requires": { @@ -2183,13 +2191,12 @@ } }, "sumchecker": { - "version": "1.3.1", - "resolved": "https://registry.npm.taobao.org/sumchecker/download/sumchecker-1.3.1.tgz", - "integrity": "sha1-ebs7RFbdBPGOvbwNcDodHa7FEF0=", + "version": "2.0.2", + "resolved": "https://registry.npm.taobao.org/sumchecker/download/sumchecker-2.0.2.tgz", + "integrity": "sha1-D0LBDl0F2l1C7qPlbDOZo31sWz4=", "dev": true, "requires": { - "debug": "^2.2.0", - "es6-promise": "^4.0.5" + "debug": "^2.2.0" } }, "throttleit": { diff --git a/package.json b/package.json index 9b3f299..b16ca6a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "justmd", "productName": "justmd", - "version": "1.2.0", + "version": "1.2.1", "description": "just markdown editor", "main": "main.js", "scripts": { @@ -12,7 +12,7 @@ "package-l64": "electron-packager . --prune --overwrite --asar --out=dist --platform=linux --arch=x64 --icon images/justmd.png" }, "devDependencies": { - "electron": "1.7.8", + "electron": "^4.2.12", "electron-packager": "^15.2.0" } }